It's not a secret anymore!*
The moose likes Struts and the fly likes Cookies in Struts not updated in the first time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cookies in Struts not updated in the first time" Watch "Cookies in Struts not updated in the first time" New topic
Author

Cookies in Struts not updated in the first time

vinoth kumar v
Greenhorn

Joined: Sep 27, 2010
Posts: 6
I use the following code in action class to create cookie



Struts config code


entertask.jsp


When I first login through login page .
Iam successfully redirected to Entertask.jsp but cookies are not found in the first time.
(ie., It shows only welcome)

When I refresh Welcome username is displayed.

I dont know why its happening so.

Can any one please say the cause?

Is there any other way to manage cookies in STRUTS ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookies in Struts not updated in the first time
 
Similar Threads
problem in Developing Struts small Apllication
Cannot load a validator resource
help with login program
web portal in struts and nothing is working at all
How to enter action class without using action form