com.opensymphony.webwork.views
Class JspSupportServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.opensymphony.webwork.views.JspSupportServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class JspSupportServlet
- extends HttpServlet
A servlet that means to expose itself through a public static member
variable such that its ServletContext
could be accessible.
An example of configuration in web.xml would be :-
<servlet>
<servlet-name>jspSupportServlet\</servlet-name>
<servlet-class>com.opensymphony.webwork.views.JspSupportServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
- Version:
- $Date: 2007-02-16 15:15:36 +0800 (Fri, 16 Feb 2007) $ $Id: JspSupportServlet.java 2846 2007-02-16 07:15:36Z tm_jee $
- Author:
- plightbo
- See Also:
- Serialized Form
Method Summary |
void |
init(ServletConfig servletConfig)
This method merely expose this servlet as a public static member variable
called 'jspSupportServlet'. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jspSupportServlet
public static JspSupportServlet jspSupportServlet
JspSupportServlet
public JspSupportServlet()
init
public void init(ServletConfig servletConfig)
throws ServletException
- This method merely expose this servlet as a public static member variable
called 'jspSupportServlet'.
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException