struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Markert <>
Subject Re: Form bean is not stored in request
Date Mon, 07 Jul 2003 09:26:15 GMT
Hello Nadja,



NS> Hello everyone,

NS> I have this weird little problem and I don't know how to fix it. I have a
NS> form (actually I have many forms but the others work just fine) and a form
NS> bean and action class for it. Now when the form gets processed (after
NS> hitting 'submit') its form bean should get stored in the request.
Why do you expect it in the request? Why don't you use the action form
parameter of the execute method? Are you doing some kind of action

NS> But it
NS> isn't for some reason. When the action class now tries to access this form
NS> bean, it can't find it in the request and creates a new one - which
NS> results in exceptions since it doesn't have the data the form bean
NS> should've had.

NS> Any ideas why? I've checked the action mapping, it is set to request and
NS> there is an attribute defined for the form bean. I know the form does not
NS> get stored in the request since that would usually be logged in my log
NS> file (it gets logged for all the other forms, anyway) but there is no such
NS> entry for it. I would include code with this email but I have no idea
NS> where the error might be and I don't want to post all of the code of those
NS> two classes, the form and the action mapping for it, since that would be
NS> way too much code, I fear... If you could tell me what you need to look to
NS> find out where the error is, I'll send it in - and I'd greatly appreciate
NS> any kind of help. This error is slowly driving me crazy...

NS> Greetings,
NS> Nadja

NS> ---------------------------------------------------------------------
NS> Nadja  Senoucci
NS> Universitaet Hamburg
NS> Zentrum für Molekulare Neurobiologie
NS> Service-Gruppe EDV
NS> Falkenried 94
NS> 20251 Hamburg
NS> Germany
NS> Tel.:040 - 428 - 03 - 6619
NS> Fax.:040 - 428 - 03 - 6621

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


+------- Quality leads ---------------------------------------+
| Dirk Markert            |
| Dr. Markert Softwaretechnik AG                              |
| Joseph-von-Fraunhofer-Str. 20                               |
| 44227 Dortmund                                              |
+---------------------------------->>>>>>> to success! <<<<<<-+

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

View raw message