public class JxpServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
private java.util.Properties |
_config
jxp configuration *
|
private java.lang.String |
_configFile
the configuration file
|
private static java.util.logging.Logger |
_logger
the logger
|
private JxpProcessor |
_processor
the processor
|
private org.apache.commons.fileupload.DiskFileUpload |
_uploadRepository
the upload
|
Constructor and Description |
---|
JxpServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
private void |
dumpDebugInfo(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.util.Map env)
Output the debugging information
|
private java.util.Properties |
getConfig()
Return the config
|
private JxpProcessor |
getProcessor(javax.servlet.http.HttpServletRequest req)
Get the processor
|
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
private static final java.util.logging.Logger _logger
private java.util.Properties _config
private JxpProcessor _processor
private java.lang.String _configFile
private org.apache.commons.fileupload.DiskFileUpload _uploadRepository
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
private java.util.Properties getConfig()
private JxpProcessor getProcessor(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
req
- the requestjava.lang.Exception
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
private void dumpDebugInfo(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.util.Map env) throws java.io.IOException
req
- the requestresp
- the resoibseenv
- the environmentjava.io.IOException
- io exceptionspublic void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException