Class JettyJspServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.jasper.servlet.JspServlet
org.eclipse.jetty.jsp.JettyJspServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.tomcat.PeriodicEventListener

public class JettyJspServlet extends org.apache.jasper.servlet.JspServlet
JettyJspServlet Wrapper for the jsp servlet that handles receiving requests mapped from jsp-property-groups. Mappings could be wildcard urls like "/*", which would include welcome files, but we need those to be handled by the DefaultServlet.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private String
    addPaths(String servletPath, String pathInfo)
     
    void
    service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
     

    Methods inherited from class org.apache.jasper.servlet.JspServlet

    destroy, getJspCount, getJspQueueLength, getJspReloadCount, getJspUnloadCount, init, periodicEvent, setJspReloadCount

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service

    Methods inherited from class javax.servlet.GenericServlet

    getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • JettyJspServlet

      public JettyJspServlet()
  • Method Details

    • service

      public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Overrides:
      service in class org.apache.jasper.servlet.JspServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • addPaths

      private String addPaths(String servletPath, String pathInfo)
      Parameters:
      servletPath - the servletPath of the request
      pathInfo - the pathInfo of the request
      Returns:
      servletPath with pathInfo appended