Re: [Struts] Init formbean value before Initialisation?

Discussion in 'Java' started by Xavier Tarrago, Jun 30, 2003.

  1. 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" <> a écrit dans le message news:
    ...
    > hi,
    >
    > 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
    > dan
    Xavier Tarrago, Jun 30, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wendy S
    Replies:
    0
    Views:
    943
    Wendy S
    Jun 28, 2003
  2. Uwe Voigt
    Replies:
    5
    Views:
    11,929
  3. Squishy
    Replies:
    1
    Views:
    11,799
  4. Tim Clacy
    Replies:
    8
    Views:
    386
    Tim Clacy
    May 30, 2006
  5. Jess
    Replies:
    4
    Views:
    431
Loading...

Share This Page