org.jboss.test.classloader.scoping.override.web
Class ENCServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.jboss.test.classloader.scoping.override.web.ENCServlet

public class ENCServlet
extends HttpServlet

A servlet that validates the context java:comp/env context when scoping is enabled.

See Also:
Serialized Form

Constructor Summary
ENCServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
 void init(ServletConfig servletConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ENCServlet

public ENCServlet()
Method Detail

init

public void init(ServletConfig servletConfig)
          throws ServletException
Parameters:
servletConfig -
Throws:
ServletException

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     java.io.IOException
Throws:
ServletException
java.io.IOException

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      java.io.IOException
Throws:
ServletException
java.io.IOException