net.sourceforge.stripes.action
Class ForwardResolution
java.lang.Object
net.sourceforge.stripes.action.OnwardResolution
net.sourceforge.stripes.action.ForwardResolution
- All Implemented Interfaces:
- Resolution
public class ForwardResolution
- extends OnwardResolution
- implements Resolution
Resolution that uses the Servlet API to forward the user to another path within the
same web application using a server side forward.
- Author:
- Tim Fennell
- See Also:
RedirectResolution
|
Constructor Summary |
ForwardResolution(String path)
Simple constructor that takes in the path to forward the user to. |
ForwardResolution
public ForwardResolution(String path)
- Simple constructor that takes in the path to forward the user to.
- Parameters:
path - the path within the web application that the user should be forwarded to
execute
public void execute(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Attempts to forward the user to the specified path.
- Specified by:
execute in interface Resolution- Specified by:
execute in class OnwardResolution
- Parameters:
request - the current HttpServletRequestresponse - the current HttpServletResponse
- Throws:
ServletException - thrown when the Servlet container encounters an error
IOException - thrown when the Servlet container encounters an error
© Copyright 2005, Stripes Development Team.