|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.tinygroup.jspengine.servlet.JspServlet
public class JspServlet
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.
| 构造方法摘要 | |
|---|---|
JspServlet()
|
|
| 方法摘要 | |
|---|---|
void |
destroy()
|
javax.servlet.ServletConfig |
getConfig()
|
int |
getJspCount()
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. |
int |
getJspErrorCount()
Gets the number of errors triggered by JSP invocations. |
int |
getJspReloadCount()
Gets the number of JSPs that have been reloaded. |
void |
init(javax.servlet.ServletConfig config)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
setJspReloadCount(int count)
Resets the JSP reload counter. |
| 从类 javax.servlet.http.HttpServlet 继承的方法 |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| 从类 javax.servlet.GenericServlet 继承的方法 |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JspServlet()
| 方法详细信息 |
|---|
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
javax.servlet.Servlet 中的 initjavax.servlet.GenericServlet 中的 initjavax.servlet.ServletExceptionpublic int getJspCount()
This info may be used for monitoring purposes.
public void setJspReloadCount(int count)
count - Value to which to reset the JSP reload counterpublic int getJspReloadCount()
This info may be used for monitoring purposes.
public int getJspErrorCount()
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
javax.servlet.http.HttpServlet 中的 servicejavax.servlet.ServletException
IOExceptionpublic void destroy()
javax.servlet.Servlet 中的 destroyjavax.servlet.GenericServlet 中的 destroypublic javax.servlet.ServletConfig getConfig()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||