|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.jsp.JavaScriptPageServlet
JavaScriptPageServlet allows the JavaScript engine to use the public get methods as global variables.
Method Summary | |
java.lang.Object |
_cauchoCreateBean(java.lang.String beanName)
Creates a new bean. |
void |
destroy()
Called when the servlet shuts down. |
ServletContext |
getApplication()
|
ServletConfig |
getConfig()
|
java.lang.Exception |
getException()
|
JspWriter |
getOut()
|
Servlet |
getPage()
|
PageContext |
getPageContext()
|
ServletRequest |
getRequest()
|
ServletResponse |
getResponse()
|
ServletConfig |
getServletConfig()
Returns the servlet configuration, usually the same value as passed to the init routine. |
ServletContext |
getServletContext()
|
java.lang.String |
getServletInfo()
Returns an information string about the servlet. |
HttpSession |
getSession()
|
void |
init(ServletConfig config)
Initialize the servlet. |
void |
service(ServletRequest req,
ServletResponse res)
Service a request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void init(ServletConfig config)
Servlet
init
in interface Servlet
javax.servlet.Servlet
config
- information from the configuration file.public java.lang.Object _cauchoCreateBean(java.lang.String beanName) throws java.lang.Exception
public java.lang.String getServletInfo()
Servlet
getServletInfo
in interface Servlet
public PageContext getPageContext()
public Servlet getPage()
public ServletConfig getServletConfig()
Servlet
getServletConfig
in interface Servlet
public ServletConfig getConfig()
public ServletContext getApplication()
public ServletContext getServletContext()
public ServletRequest getRequest()
public ServletResponse getResponse()
public HttpSession getSession()
public java.lang.Exception getException()
public JspWriter getOut()
public void service(ServletRequest req, ServletResponse res) throws ServletException, java.io.IOException
Servlet
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.service
in interface Servlet
javax.servlet.Servlet
req
- request information. Normally servlets will cast this
to HttpServletRequest
res
- response information. Normally servlets will cast this
to HttpServletRequest
public void destroy()
Servlet
destroy
in interface Servlet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |