public class SimpleRequestDispatcher extends Object implements javax.servlet.RequestDispatcher
ERROR_EXCEPTION, ERROR_EXCEPTION_TYPE, ERROR_MESSAGE, ERROR_REQUEST_URI, ERROR_SERVLET_NAME, ERROR_STATUS_CODE, FORWARD_CONTEXT_PATH, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH
Constructor and Description |
---|
SimpleRequestDispatcher(String newUrl)
Instantiates a new simple request dispatcher.
|
public SimpleRequestDispatcher(String newUrl)
newUrl
- the new urlpublic void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
forward
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
IOException
public void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
include
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
IOException
Copyright © 2010–2015 com.github.dblock. All rights reserved.