com.caucho.jsp
Class XtpServlet

java.lang.Object
  extended by com.caucho.jsp.QServlet
      extended by com.caucho.jsp.XtpServlet
All Implemented Interfaces:
Servlet

public class XtpServlet
extends QServlet

Handles XTP pages. Most of the work is done in the JspManager and QServlet.

See Also:
JspManager

Field Summary
 
Fields inherited from class com.caucho.jsp.QServlet
_webApp
 
Constructor Summary
XtpServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
          Returns an information string about the servlet.
 void init(ServletConfig conf)
          Initializes the servlet.
 
Methods inherited from class com.caucho.jsp.QServlet
destroy, getInitParameter, getManager, getPage, getPage, getServletConfig, getServletContext, killPage, service, setManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtpServlet

public XtpServlet()
Method Detail

init

public void init(ServletConfig conf)
          throws ServletException
Initializes the servlet. Primarily, this sets the PageManager to the correct XtpManager.

The servlet parameter 'strict-xsl' forces XSL stylesheets to follow the strict specification. By default, XSL stylesheets follow the looser 'XSLT-lite.'

The servlet parameter 'strict-xml' forces XTP pages to follow strict XML. By default, they're LooseHtml.

The servlet parameter 'default-stylesheet' sets the default stylesheet. The initial value is 'default.xsl'.

Specified by:
init in interface Servlet
Overrides:
init in class QServlet
Parameters:
conf - information from the configuration file.
Throws:
ServletException

getServletInfo

public java.lang.String getServletInfo()
Description copied from interface: Servlet
Returns an information string about the servlet.