| javax.servlet.http.HttpServlet org.apache.jasper.servlet.JspServlet
JspServlet | public class JspServlet extends HttpServlet implements PeriodicEventListener(Code) | | The JSP engine (a.k.a Jasper).
The servlet container is responsible for providing a
URLClassLoader for the web application context Jasper
is being used in. Jasper will try get the Tomcat
ServletContext attribute for its ServletContext class
loader, if that fails, it uses the parent class loader.
In either case, it must be a URLClassLoader.
author: Anil K. Vijendran author: Harish Prabandham author: Remy Maucherat author: Kin-man Chung author: Glenn Nielsen |
destroy | public void destroy()(Code) | | |
getJspCount | public int getJspCount()(Code) | | Returns the number of JSPs for which JspServletWrappers exist, i.e.,
the number of JSPs that have been loaded into the webapp with which
this JspServlet is associated.
This info may be used for monitoring purposes.
The number of JSPs that have been loaded into the webapp withwhich this JspServlet is associated |
getJspReloadCount | public int getJspReloadCount()(Code) | | Gets the number of JSPs that have been reloaded.
This info may be used for monitoring purposes.
The number of JSPs (in the webapp with which this JspServlet isassociated) that have been reloaded |
periodicEvent | public void periodicEvent()(Code) | | |
preCompile | boolean preCompile(HttpServletRequest request) throws ServletException(Code) | | Look for a precompilation request as described in
Section 8.4.2 of the JSP 1.2 Specification. WARNING -
we cannot use request.getParameter() for this, because
that will trigger parsing all of the request parameters, and not give
a servlet the opportunity to call
request.setCharacterEncoding() first.
Parameters: request - The servlet requset we are processing exception: ServletException - if an invalid parameter value for thejsp_precompile parameter name is specified |
setJspReloadCount | public void setJspReloadCount(int count)(Code) | | Resets the JSP reload counter.
Parameters: count - Value to which to reset the JSP reload counter |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|