public class JspServlet
extends jakarta.servlet.http.HttpServlet
| Constructor and Description |
|---|
JspServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
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(jakarta.servlet.ServletConfig config) |
void |
service(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response) |
void |
setJspReloadCount(int count)
Resets the JSP reload counter.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void init(jakarta.servlet.ServletConfig config)
throws jakarta.servlet.ServletException
init in interface jakarta.servlet.Servletinit in class jakarta.servlet.GenericServletjakarta.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(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
throws jakarta.servlet.ServletException,
IOException
service in class jakarta.servlet.http.HttpServletjakarta.servlet.ServletExceptionIOExceptionpublic void destroy()
destroy in interface jakarta.servlet.Servletdestroy in class jakarta.servlet.GenericServletComments to: el-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.