You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/06/17 05:42:28 UTC
DO NOT REPLY [Bug 35392] New: -
org.apache.struts.action.Action.execute should not return null
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35392>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35392
Summary: org.apache.struts.action.Action.execute should not
return null
Product: Struts
Version: 1.2.7
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Standard Actions
AssignedTo: dev@struts.apache.org
ReportedBy: qxodream@gmail.com
original:
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
return null;
}
//bad way!!!
if the subclass of Action does not override excute method (eg: wrong name bug),
this problem is hard to find out!
This method must be override by its subclass,so the way fix the problem is make
it throw Exception
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org