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.

-adam

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to