struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26409] - Document what to do if an Action doesn't need to be forwarded anywhere in the end?
Date Tue, 27 Jan 2004 09:58:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26409>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26409

Document what to do if an Action doesn't need to be forwarded anywhere in the end?

husted@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From husted@apache.org  2004-01-27 09:58 -------
The solution is to return null. This behavior is part of the Action's API
contract (and JavaDoc):

 "Return an {@link ActionForward} instance describing where and howcontrol
should be forwarded, or <code>null</code> if the response has already been
completed."

<http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html#execute(org.apache.struts.action.ActionMapping,%20org.apache.struts.action.ActionForm,%20javax.servlet.ServletRequest,%20javax.servlet.ServletResponse)>

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message