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 2004/04/21 05:43:28 UTC
DO NOT REPLY [Bug 28508] New: -
Better exception message on FormTag
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=28508>.
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=28508
Better exception message on FormTag
Summary: Better exception message on FormTag
Product: Struts
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Custom Tags
AssignedTo: dev@struts.apache.org
ReportedBy: nagoya@felipeal.net
Hi,
I came across the following error message when setting up a very simple Struts
application (consisted of only 2 Actions and 1 ActionForm):
org.apache.jasper.JasperException: Cannot retrieve definition for form bean null
After hours (literally) strugling with struts-config.xml, I finally realized
that was caused by the <html:form> using the wrong Action (the one without an
ActionForm associated with).
I could have easily fixed this bug in my application much I had received a
message such as:
org.apache.jasper.JasperException: Cannot retrieve definition for form bean null
on action /actionNoBean
So, I'm providing a patch for this improvement.
Regards,
Felipe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org