|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
php.java.servlet.CGIServlet
php.java.servlet.PhpJavaServlet
public class PhpJavaServlet
Handles requests from PHP clients. When apache or IIS are not available this servlet can start php as a CGI sub-process. However, it is recommended to install php as an Apache module and to use the mod_jk adapter to connect apache with the servlet engine or application server.
Nested Class Summary | |
---|---|
static class |
PhpJavaServlet.Logger
|
Constructor Summary | |
---|---|
PhpJavaServlet()
|
Method Summary | |
---|---|
void |
destroy()
|
void |
init(javax.servlet.ServletConfig config)
Sets instance variables. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
service |
Methods inherited from class javax.servlet.GenericServlet |
---|
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 PhpJavaServlet()
Method Detail |
---|
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
CGIServlet
Modified from Craig R. McClanahan's InvokerServlet
init
in interface javax.servlet.Servlet
init
in class CGIServlet
config
- a ServletConfig
object
containing the servlet's
configuration and initialization
parameters
javax.servlet.ServletException
- if an exception has occurred that
interferes with the servlet's normal
operationpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |