com.caucho.jsp
Class XtpServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--com.caucho.jsp.QServlet
              |
              +--com.caucho.jsp.XtpServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class XtpServlet
extends QServlet

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

See Also:
JspManager, Serialized Form

Fields inherited from class com.caucho.jsp.QServlet
application
 
Constructor Summary
XtpServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
          Returns a string describing the servlet.
 void init(ServletConfig conf)
          Initializes the servlet.
 
Methods inherited from class com.caucho.jsp.QServlet
destroy, getPage, getServletContext, service, setManager
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletName, init, log, log
 
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.

Overrides:
init in class QServlet
Following copied from class: javax.servlet.GenericServlet
Parameters:
config - the servlet's configuration

getServletInfo

public java.lang.String getServletInfo()
Description copied from class: GenericServlet
Returns a string describing the servlet.
Overrides:
getServletInfo in class GenericServlet