|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.mortbay.servlet.CGI
CGI Servlet. The cgi bin directory can be set with the cgibinResourceBase init parameter or it will default to the resource base of the context.
| Constructor Summary | |
CGI()
|
|
| Method Summary | |
void |
init()
A convenience method which can be overridden so that there's no need to call super.init(config). |
void |
service(HttpServletRequest req,
HttpServletResponse res)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CGI()
| Method Detail |
public void init()
throws ServletException
GenericServletsuper.init(config).
Instead of overriding GenericServlet.init(ServletConfig), simply override
this method and it will be called by
GenericServlet.init(ServletConfig config).
The ServletConfig object can still be retrieved via GenericServlet.getServletConfig().
init in class GenericServletjavax.servlet.GenericServletServletException - if an exception occurs that
interrupts the servlet's
normal operation
public void service(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||