Hi Sanjay,
when intercepting action for the first time (no logged user),
You can save submited data along with request uri and put it into
session/database
then after login (inside login action), check if these informations
are present in sesion/database
and forward to desired action with all the params that You have
collected before login.

Best greetings,
Paweł Wielgus.


2009/11/13 Sanjaya Kumar Patel <skpate...@hotmail.com>:
>
> Hi All,
>
> My requirement is this:
>
> 1. User fills a form and submits.
> 2. If he has not logged in, login form comes up.
> 3. after logging in, the data automatically gets submitted and next page 
> comes.
>
> I am new to struts and unable to figure out the natural solution, even after 
> a lot of googling. As I understand step 2 should be easy using interceptor, 
> but how to get step 3 work?
>
> I am using struts 2.1.8.
>
> thanks,
> Sanjay
> http://www.sanjaypatel.name
>
>
> _________________________________________________________________
> New Windows 7: Find the right PC for you. Learn more.
> http://windows.microsoft.com/shop

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to