jodd.madvoc.result
Class ServletDispatcherResult

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

public class ServletDispatcherResult
extends ActionResult

Dispatches to a JSP page.

See Also:
ServletRedirectResult

Field Summary
protected static java.lang.String EXTENSION
           
static java.lang.String NAME
           
 
Fields inherited from class jodd.madvoc.result.ActionResult
type
 
Constructor Summary
ServletDispatcherResult()
           
 
Method Summary
 void execute(ActionRequest actionRequest, java.lang.String resultValue)
          Dispatches to the JSP location created from result value and JSP extension.
 
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

EXTENSION

protected static java.lang.String EXTENSION
Constructor Detail

ServletDispatcherResult

public ServletDispatcherResult()
Method Detail

execute

public void execute(ActionRequest actionRequest,
                    java.lang.String resultValue)
             throws java.lang.Exception
Dispatches to the JSP location created from result value and JSP extension. Does its forward via a RequestDispatcher. If the dispatch fails a 404 error will be sent back in the http response.

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


Copyright ©2008 Jodd Team