• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cookies in Struts not updated in the first time

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic