com.arsdigita.web
Class ResourceServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.arsdigita.web.BaseServlet
com.arsdigita.web.ResourceServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class ResourceServlet
- extends BaseServlet
A servlet that maps the ResourceManager#findResource
method into the http:// URL space. This enables negotiated
resolution of resources across webapps. For example, a request
to:
http://www.example.com/resource/myproj,ccm-cms,ROOT/packages/bebop/xsl/bebop.xsl
Will look for the following real files:
http://www.example.com/myproj/packages/bebop/xsl/bebop.xsl
http://www.example.com/ccm-cms/packages/bebop/xsl/bebop.xsl
http://www.example.com/packages/bebop/xsl/bebop.xsl
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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 |
ResourceServlet
public ResourceServlet()
doService
protected void doService(javax.servlet.http.HttpServletRequest sreq,
javax.servlet.http.HttpServletResponse sresp)
throws javax.servlet.ServletException,
IOException
- Description copied from class:
BaseServlet
The method that BaseServlet.doGet(HttpServletRequest,HttpServletResponse)
and BaseServlet.doPost(HttpServletRequest,HttpServletResponse)
call. This is
the extension point for users of this class.
- Overrides:
doService
in class BaseServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC