Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cookies in Struts not updated in the first time

 
vinoth kumar v
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic