|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.jasper.servlet.JspServletWrapper
public class JspServletWrapper
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.
| 构造方法摘要 | |
|---|---|
JspServletWrapper(ServletContext servletContext,
Options options,
String tagFilePath,
TagInfo tagInfo,
JspRuntimeContext rctxt,
URL tagFileJarUrl)
|
|
| 方法摘要 | |
|---|---|
int |
decTripCount()
|
void |
destroy()
|
List<String> |
getDependants()
Get a list of files that the current page has source dependency on. |
JspCompilationContext |
getJspEngineContext()
|
File |
getJspFile()
|
long |
getLastModificationTest()
|
Servlet |
getServlet()
|
long |
getServletClassLastModifiedTime()
Gets the last-modified time of the servlet class file associated with this JspServletWrapper. |
ServletContext |
getServletContext()
|
int |
incTripCount()
|
boolean |
isTagFile()
|
Class |
loadTagFile()
Compile (if needed) and load a tag file |
Class |
loadTagFilePrototype()
Compile and load a prototype for the Tag file. |
void |
service(HttpServletRequest request,
HttpServletResponse response,
boolean precompile)
|
void |
setCompilationException(JasperException je)
Sets the compilation exception for this JspServletWrapper. |
void |
setLastModificationTest(long lastModificationTest)
|
void |
setReload(boolean reload)
|
void |
setServletClassLastModifiedTime(long lastModified)
Sets the last-modified time of the servlet class file associated with this JspServletWrapper. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JspServletWrapper(ServletContext servletContext,
Options options,
String tagFilePath,
TagInfo tagInfo,
JspRuntimeContext rctxt,
URL tagFileJarUrl)
throws JasperException
JasperException| 方法详细信息 |
|---|
public JspCompilationContext getJspEngineContext()
public void setReload(boolean reload)
public Servlet getServlet()
throws ServletException,
IOException
ServletException
IOExceptionpublic ServletContext getServletContext()
public void setCompilationException(JasperException je)
je - The compilation exceptionpublic void setServletClassLastModifiedTime(long lastModified)
lastModified - Last-modified time of servlet classpublic long getServletClassLastModifiedTime()
public Class loadTagFile()
throws JasperException
JasperException
public Class loadTagFilePrototype()
throws JasperException
JasperExceptionpublic List<String> getDependants()
public boolean isTagFile()
public int incTripCount()
public int decTripCount()
public void service(HttpServletRequest request,
HttpServletResponse response,
boolean precompile)
throws ServletException,
IOException
ServletException
IOExceptionpublic void destroy()
public long getLastModificationTest()
public void setLastModificationTest(long lastModificationTest)
lastModificationTest - The lastModificationTest to set.public File getJspFile()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||