org.jboss.test.web.servlets
Class ClasspathServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.jboss.test.web.servlets.ClasspathServlet

public class ClasspathServlet
extends HttpServlet

A servlet that accesses classes in WEB-INF/classes using Class.forName during its initialization.

See Also:
Serialized Form

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

Constructor Detail

ClasspathServlet

public ClasspathServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

destroy

public void destroy()

processRequest

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

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