Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

response.addCookie is not working

 
Shusha Li
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Everyone,

I have a problem adding a cookie to my JSP page which is in struts. I add the following codes to my jsp page:


But when deploy my application at Tomcat 6, I can NOT find the cookie"Message" printed out.....

Please help!!!Thanks!!!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing to do with Struts.

Did you try refreshing the page?
 
Shusha Li
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I refreshed and still the added cookie not shown.....
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic