com.bea.struts.adapter.util
Class AdapterRequestProcessorUtil
java.lang.Object
com.bea.struts.adapter.util.AdapterRequestProcessorUtil
public class AdapterRequestProcessorUtil
- extends Object
Method Summary |
static boolean |
forwardUsingRequest(String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Forwards a request to a URI using a RequestDispatcher obtained from the request
instead of using a RequestDispatcher obtained from the ServletContext. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdapterRequestProcessorUtil
public AdapterRequestProcessorUtil()
forwardUsingRequest
public static boolean forwardUsingRequest(String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Forwards a request to a URI using a RequestDispatcher obtained from the request
instead of using a RequestDispatcher obtained from the ServletContext.
- Parameters
uri
- the URI to forward torequest
- the current HttpServletRequest
response
- the current HttpServletResponse
- Returns
- whether or not the forward was performed
- Throws
javax.servlet.ServletException
- the ServletException
thrown by either the Request
RequestDispatcher if a problem was encountered while performing the forward
IOException
- the IOException
thrown by the RequestDispatcher
if a IO problem
was encountered while performing the forward.
Copyright © 2011, Oracle. All rights reserved.