It's still not working - same error.

I tried to revert my JSP back to using the #session.formBean syntax, and now at least I am able to see my default values in the form again.

But when I submit the form with changes, the framework calls my Action's setSession() function, but the data values from the form are not copied.

Can someone send me a small JSP and Action class (form with 1 field is sufficient) that does actually work?

This sounds like a good idea for a new cookbook page.

Thanks.


Gabriel Belingueres wrote:
You need to instantiate your formBean before the interceptor stack
tries to set the parameters. Common points in your code where you can
accomplish that are: instantiating the object when declared as an
instance variable, inside a constructor of your action, or implement
the Preparable interface and create it inside the prepare() method.


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

Reply via email to