Re: [Struts] Init formbean value before Initialisation?
You could use the same form bean for the two actions. It is a common usage.
You form bean should be in the session scope. It will be used by successive
actions across a multi form transaction.
There are some subtil isues if the user initiates two transactions with the
same client. For instance, with netscape, if you open a new windows from
your form, you get another instance of the same form in the same session. It
can be tricky to manage...
"Daniel Cloutier" <firstname.lastname@example.org> a écrit dans le message news:
> i've got 2 actions, 2 forms and 2 jsps... on jsp1 i receive userinput
> (e.g. the username) and i want to show it in the form on the next jsp
> (in a text-component). how can i accomplish this without scriptlets?
> can i access the second formbean in the action of the first jsp?
> thx in advance
|All times are GMT. The time now is 02:09 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.