Thanks.
But how can JSP2 understand that form2 is already filled and present it's data?
Joao Paulo.
 Karim Saloojee <[EMAIL PROTECTED]> wrote:Hi

Sounds fine but you may not need to go to action 2 i.e.

JSP1 > Form1 > Action1 (new Form2) > JSP2

Regards,
Karim

----- Original Message -----
From: "Jo�o Paulo Batistella" 
To: 
Sent: Tuesday, January 14, 2003 2:50 PM
Subject: Two Actions using the same form


>
> Hi!
>
> I have a doubt about using the same form in two different actions.
>
> Let me explain.
>
> I have a form (let's call form1) and, when I submit it, action1 is called.
Action1 do whatever it wants and now the application have to show form2
(asscotiated with action2), with some data already filled, based on form1
selection.
>
> I'm thinking about doing the following.
>
> 1. Submit form1 data
>
> 2. In action1, get the form1 data, process it and fill an instance of
form2 for presentation. (here action1 is access form2)
>
> 3. Forward the control to action2.
>
> 4. In action2, I can access an intance of form2 already filled and I can
show it to the user, who can now interact with form2.
>
> Is there any problem with this approach? Or any new idea?
>
> Thanks,
>
> Joao Paulo.
>
>
>
> ---------------------------------
> Busca Yahoo!
> O melhor lugar para encontrar tudo o que voc� procura na Internet



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



---------------------------------
Busca Yahoo! 
O melhor lugar para encontrar tudo o que voc� procura na Internet

Reply via email to