public class XHttpServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
XHttpServlet() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createRedirectURL(javax.servlet.http.HttpServletResponse response,
java.lang.String url,
java.lang.String title,
java.lang.String success,
java.lang.String failure)
Create redirect URL with title, success, and failure strings.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Map servlet get to servlet post.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
public java.lang.String createRedirectURL(javax.servlet.http.HttpServletResponse response, java.lang.String url, java.lang.String title, java.lang.String success, java.lang.String failure)
response
- Servlet response object.url
- Base URL (JSP page or servlet name).title
- Title text.success
- Success message text.failure
- Failure message text.