> From: Frank Schaare [mailto:[EMAIL PROTECTED] 

> > This would only be true if the action that was called 
> specified that form in its mapping.

> Sorry, but i guess you are wrong.
> The declared formBeans are digested during ActionServlets.init().

Actually, he's right. :)  My advice only applies if you have
name="myForm" in your <action> tag.  If not, Struts will pass a null
form into the execute method.  It may have digested struts-config.xml,
but without the name attribute in the form tag, it will not have
actually instantiated one for you.

I don't use any pre-processing Actions.  Mine are all
LookupDispatchAction, so the form is always there, although if it comes
in with no parameter, the unspecified method will pre-fill the form from
the database.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to