com.caucho.jsp
Class JspServlet

java.lang.Object
  extended by com.caucho.jsp.QServlet
      extended by com.caucho.jsp.JspServlet
All Implemented Interfaces:
Servlet
Direct Known Subclasses:
JspXmlServlet

public class JspServlet
extends QServlet

Handles JSP 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
JspServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
          Returns an information string about the servlet.
 void init(ServletConfig conf)
          Initializes the servlet.
static void initStatic()
          Static initialization
 void setLoadTldOnInit(boolean isPreload)
          Set true when JSP pages should load tld files.
 void setPageCacheMax(int max)
          Set true when JSP pages should default to xml.
 void setXml(boolean isXml)
          Set true when JSP pages should default to xml.
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

JspServlet

public JspServlet()
Method Detail

setXml

public void setXml(boolean isXml)
Set true when JSP pages should default to xml.


setLoadTldOnInit

public void setLoadTldOnInit(boolean isPreload)
Set true when JSP pages should load tld files.


setPageCacheMax

public void setPageCacheMax(int max)
Set true when JSP pages should default to xml.


init

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

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

initStatic

public static void initStatic()
Static initialization


getServletInfo

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


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object