This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Secure session Data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Secure session Data" Watch "Secure session Data" New topic
Author

Secure session Data

Namita Bhatt
Greenhorn

Joined: Feb 25, 2005
Posts: 2
Hi,
I am calling response.sendRedirect(response.encodeRedirectURL(redirectString)) in my Action class,the action is called again
But since the session now is secure ,I don�t have the data from the previous session to use in this action.
Is there any way in which I can store the previous values from session and pass it on to the secure session as I need them in my action and jsp.

Thanks in Advance
Namita
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
One way you could do this would be to read the parameters passed in, and then attach them as parameters to the outgoing query string in the format ?parm1=value1&parm2=value2 ... etc.


Merrill
Consultant, Sima Solutions
Namita Bhatt
Greenhorn

Joined: Feb 25, 2005
Posts: 2
Thanks Merrill for the reply,
but could you explain it in detail.
I can pass the values as you have mentioned but how do I retrieve those values in my jsp.
For ex. If I have a VO in the session ,I add it as param1 = VO
but how do i get it in my jsp.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Secure session Data