struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Gordon <>
Subject Re: Can I Bypass using actionform? Cannot retrieve definition for form bean null on action...
Date Wed, 06 Sep 2006 21:38:59 GMT
If your "type" attribute equals 
"org.apache.struts.actions.ForwardAction" (and there may be others) then 
you don't need the name attribute.  You are getting that error because 
you are specifying a custom action and there's no associated form bean.

You can use ForwardAction if you just want a URL to go straight to a JSP 
w/ no tweaking of the form bean needed prior to JSP rendering.


Mississippi John Hurt wrote:
> Is there some way to not use an actionform bean in your JSP.  I get the
> error message...
> Cannot retrieve definition for form bean null on action
> when I do not include a "name=" in my struts config action.  Thanks.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message