org.apache.jasper.servlet
Class JspServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.apache.jasper.servlet.JspServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class JspServlet
extends HttpServlet

The JSP engine (a.k.a Jasper)!

Author:
Anil K. Vijendran, Harish Prabandham
See Also:
Serialized Form

Constructor Summary
JspServlet()
           
 
Method Summary
 void destroy()
          Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
 void init(ServletConfig config)
          Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
 boolean isOutDated(java.io.File jsp, JspCompilationContext ctxt, Mangler mangler)
          Determines whether the current JSP class is older than the JSP file from whence it came
 void service(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspServlet

public JspServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Description copied from class: GenericServlet
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. See Servlet.init(javax.servlet.ServletConfig).

This implementation stores the ServletConfig object it receives from the servlet container for alter use. When overriding this form of the method, call super.init(config).

Overrides:
init in class GenericServlet
Following copied from class: javax.servlet.GenericServlet
Parameters:
config - the ServletConfig object that contains configutation information for this servlet
Throws:
ServletException - if an exception occurs that interrupts the servlet's normal operation
See Also:
UnavailableException

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    java.io.IOException

destroy

public void destroy()
Description copied from class: GenericServlet
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. See Servlet.destroy().
Overrides:
destroy in class GenericServlet

isOutDated

public boolean isOutDated(java.io.File jsp,
                          JspCompilationContext ctxt,
                          Mangler mangler)
Determines whether the current JSP class is older than the JSP file from whence it came


Copyright © 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.