jodd.madvoc.result
Class ServletRedirectResult

java.lang.Object
  extended by jodd.madvoc.result.ActionResult
      extended by jodd.madvoc.result.ServletRedirectResult

public class ServletRedirectResult
extends ActionResult

Simply forwards to a page, without specifying new extension.

See Also:
ServletDispatcherResult

Field Summary
static java.lang.String NAME
           
 
Fields inherited from class jodd.madvoc.result.ActionResult
type
 
Constructor Summary
ServletRedirectResult()
           
 
Method Summary
 void execute(ActionRequest actionRequest, java.lang.String resultValue)
          Redirects to the given location.
 
Methods inherited from class jodd.madvoc.result.ActionResult
getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

ServletRedirectResult

public ServletRedirectResult()
Method Detail

execute

public void execute(ActionRequest actionRequest,
                    java.lang.String resultValue)
             throws java.lang.Exception
Redirects to the given location. Does its redirection via a RequestDispatcher.

Specified by:
execute in class ActionResult
Throws:
java.lang.Exception


Copyright ©2008 Jodd Team