| javax.servlet.http.HttpServlet org.zkoss.web.servlet.http.HttpServlet
Method Summary | |
final protected void | forward(ServletContext ctx, ServletRequest request, ServletResponse response, String uri) Forward to the specified page.
It resolves "*" contained in URI, if any, to the proper Locale,
and the browser code.
Refer to
Servlets.locate(ServletContextServletRequestStringLocator) for details. | final protected void | forward(ServletContext ctx, ServletRequest request, ServletResponse response, String uri, Map params, int mode) Forward to the specified page with parameters.
It resolves "*" contained in URI, if any, to the proper Locale,
and the browser code.
Refer to
Servlets.locate(ServletContextServletRequestStringLocator) for details. | final protected void | include(ServletContext ctx, ServletRequest request, ServletResponse response, String uri) Includes the specified page.
It resolves "*" contained in URI, if any, to the proper Locale,
and the browser code.
Refer to
Servlets.locate(ServletContextServletRequestStringLocator) for details. | final protected void | include(ServletContext ctx, ServletRequest request, ServletResponse response, String uri, Map params, int mode) Includes the specified page with parameters.
It resolves "*" contained in URI, if any, to the proper Locale,
and the browser code.
Refer to
Servlets.locate(ServletContextServletRequestStringLocator) for details. | protected void | sendRedirect(HttpServletRequest request, HttpServletResponse response, String page, Map params, int mode) Redirects to another page. |
sendRedirect | protected void sendRedirect(HttpServletRequest request, HttpServletResponse response, String page, Map params, int mode) throws ServletException, java.io.IOException(Code) | | Redirects to another page. Note: it supports only HTTP.
It resolves "*" contained in URI, if any, to the proper Locale,
and the browser code.
Refer to
Servlets.locate(ServletContextServletRequestStringLocator) for details.
Parameters: page - the page's uri; null to denote the same request Parameters: mode - one of Servlets.OVERWRITE_URI, Servlets.IGNORE_PARAM,and Servlets.APPEND_PARAM. It defines how to handle if both uriand params contains the same parameter.mode is used only if both uri contains query string and params isnot empty. |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|