|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prosyst.mbs.services.http.jsp.JspServletBase
public abstract class JspServletBase
This class is not designed for direct usage by developers. It is used by the JSP Tool to provide the base for a translated JSP page. This is the super class of all JSP pages, that the JSP Tool translates into java classes.
| Field Summary | |
|---|---|
static JspTagPool |
_jspTagPool
|
protected ServletConfig |
config
|
| Constructor Summary | |
|---|---|
JspServletBase()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
_jspGetTag(java.lang.Class c,
PageContext pc,
java.lang.Object parent)
Gets an instance of the specified class. |
static void |
_jspReleaseTag(java.lang.Object o)
Method is called to let a tag object be returned back in the pool. |
void |
destroy()
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. |
ServletConfig |
getServletConfig()
Returns a ServletConfig object, which contains
initialization and startup parameters for this JSP page. |
java.lang.String |
getServletInfo()
Returns information about the JSP page, such as author, version, and copyright. |
void |
init(ServletConfig config)
Initializes the JSP page. |
void |
jspDestroy()
jsp_destroy() is invoked when the JspPage is about to be destroyed. |
void |
jspInit()
jsp_init() is invoked when the JspPage is initialized. |
void |
service(ServletRequest request,
ServletResponse response)
Called by the servlet container to allow the servlet to respond to a request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static JspTagPool _jspTagPool
protected ServletConfig config
| Constructor Detail |
|---|
public JspServletBase()
| Method Detail |
|---|
public final void init(ServletConfig config)
throws ServletException
jspInit().
config - a ServletConfig object
containing the JSP's
configuration and initialization parameters
ServletException - if an exception has occurred that
interferes with the JSP's normal
operationpublic ServletConfig getServletConfig()
ServletConfig object, which contains
initialization and startup parameters for this JSP page.
The ServletConfig object returned is the one
passed to the init method.
ServletConfig object
that initializes this JSP pageinit(ServletConfig)public java.lang.String getServletInfo()
The string that this method returns should be plain text and not markup of any kind (such as HTML, XML, etc.).
String containing servlet informationpublic final void destroy()
service method have exited or after a timeout
period has passed. After the servlet container calls this
method, it will not call the service method again
on this servlet.
This method gives the servlet an opportunity
to clean up any resources that are being held (for example, memory,
file handles, threads) and make sure that any persistent state is
synchronized with the servlet's current state in memory.
Calls jspDestroy().
public void service(ServletRequest request,
ServletResponse response)
throws ServletException,
java.io.IOException
This method is only called after the servlet's init()
method has completed successfully.
Servlets typically run inside multithreaded servlet containers
that can handle multiple requests concurrently. Developers must
be aware to synchronize access to any shared resources such as files,
network connections, and as well as the servlet's class and instance
variables.
Calls _jspService to generate the output.
req - the ServletRequest object that contains
the client's requestres - the ServletResponse object that contains
the servlet's response
ServletException - if an exception occurs that interferes
with the servlet's normal operation
java.io.IOException - if an input or output exception occurspublic void jspInit()
public void jspDestroy()
public static java.lang.Object _jspGetTag(java.lang.Class c,
PageContext pc,
java.lang.Object parent)
c - class to get an instance of.
public static void _jspReleaseTag(java.lang.Object o)
o - object to be reused.
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||