I agree with you Erik...
maybe its a security concern storing session variables??

isn't the use of session variables how you prevent folks from typing in the URI 
directly?,, that is you set a session parameter then check it in each JSP?


-----Original Message-----
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 12:09 PM
To: Struts Users Mailing List
Subject: Re: How to repopulate main page after returning from lookup
page


Hmm, I'm not sure why you want to avoid storing a key to the user's 
"shopping cart" data as a Session attribute. That is the only sensible 
way I can think of. I suppose you could craft some scheme using 
dynamically written hidden variables.

Erik


Mazen, Tamer S wrote:

>Hi All,
>I have question about passing form between pages:
>I have two pages 
> 1- main page ==> main.jsp contains list of order's products and two buttons
>(add, save)
> 2- lookup page ==> lookup.jsp contains all the products in the system and
>select button
>
>In Main page when user needs to add new products he clicks on the add button
>then the main page will be submitted to the lookup page where he can choose
>list of products and add them to the order and back to the main page. My
>question is: when user clicks on the add button I want to submit main page's
>form so I can preserve all user's entered data so when he come back to the
>main page he will found his entered data with new added products.
>My solution is to save from in session and when  user back to the main page
>I will repopulate the form from the session. I don't want to use session
>solution can nay one tell me if there is another solution to solve that
>problem
>
>Thanks in Advance
>
>
>Tamer Mazen
>Information Analyst
> 
>E <http://www.eds.com/> 
>Egypt Solution Center (CMM L2 Organization)
>Commercial Professionals Syndicate Building, 5th floor
>29 Emtedad Ramsis st., Nasr City, Cairo, Egypt
> 
>Phone: *       (202) 4882-897
>Fax:   1       (202) 3425-130
>Email: *       [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>

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

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

Reply via email to