Yes, that was it.
The form tag's name attribute in the struts-config file was misspelled (first letter was uppercase when it should have been lowercase).
 
Thanks!
Michelle
----- Original Message -----
Sent: Wednesday, June 20, 2001 12:08 PM
Subject: RE: form is null in Action

Hi,
Check the mapping for the form class in the config-file... the EDIT action should be pointing to the correct form class...
 
 
-satyen
-----Original Message-----
From: Michelle Popovits [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 3:57 PM
To: [EMAIL PROTECTED]
Subject: form is null in Action

Hi,
 
 
- In my SEARCH action I retrieve the required data from a datasource based on user entered search criteria.
- I place this data in a new EDIT Form instance and place it in the session.
- I Then forward to the EDIT jsp (which uses the EDIT Form) and the data is displayed nicely in a table.
- I then click SUBMIT which sends me to the EDIT Action.
- In the EDIT action the form argument is null.  I am expecting that my EDIT Form would be available here.  If I do a getAttribute from the session the EDIT Form is there.
 
Why is the form argument in the perform() method of the EDIT action null?
 
Thanks,
Michelle


------------------------------------------------------------------------------
The information in this Internet email is confidential and may be
legally privileged. It is intended solely for the addressee. Access
to this Internet email by anyone else is unauthorised.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this Internet email are subject to the terms and conditions
expressed in any applicable governing ING Barings' terms of business or
client engagement letter.

Visit us at www.ingbarings.com

------------------------------------------------------------------------------

Reply via email to