• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cookie problem

 
Mohammad Akon
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to get the cookie values to display on a page of my web app. It works fine until I try to get any text having a '@' character in it (e.g. 'abc@example.com' or 'a@a'). In such case it is printing the first few characters before the '@' symbol. Does anyone have any explanation/suggestions?

I used similar code like this:
cookie.jsp



setcookie.jsp


showcookievalue.jsp


Ideas or suggestions are highly appreciated.

Thanks.

Mohammad
[ April 10, 2008: Message edited by: Mohammad Akon ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a Struts question. This post has been moved to a more appropriate forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't related to your issue, but why are you doing things like:

instead of the much simpler:

?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic