Class JspHandler
- java.lang.Object
-
- org.appng.core.controller.handler.JspHandler
-
- All Implemented Interfaces:
RequestHandler
public class JspHandler extends Object implements RequestHandler
ARequestHandler
responsible for serving JSPs. Internally,theHttpServletRequest
is forwarded to the Jasper JSP Engine, namely aorg.apache.jasper.servlet.JspServlet
.- Author:
- Matthias Müller
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.jasper.servlet.JspServlet
jspServlet
-
Fields inherited from interface org.appng.core.controller.handler.RequestHandler
FORWARDED
-
-
Constructor Summary
Constructors Constructor Description JspHandler(javax.servlet.ServletConfig servletConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment environment, Site site, PathInfo pathInfo)
Handles the givenHttpServletRequest
,
-
-
-
Method Detail
-
handle
public void handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment environment, Site site, PathInfo pathInfo) throws javax.servlet.ServletException, IOException
Description copied from interface:RequestHandler
Handles the givenHttpServletRequest
,- Specified by:
handle
in interfaceRequestHandler
- Parameters:
servletRequest
- the currentHttpServletRequest
servletResponse
- the currentHttpServletResponse
environment
- the currentEnvironment
site
- the currentSite
pathInfo
- the currentPathInfo
- Throws:
javax.servlet.ServletException
- if a servlet-specific error occursIOException
- if a resource could not be found
-
-