Hello tomcat-ians,

I am getting 'InvalidArgumentException' when I add a cookie to response
object using
response.addCookie() in a JSP file. This error is coming when the cookie has
the characters
comma(,), semi-colon(;) in the value. As for Cookies 0 version, these
characters are not valid.
As for the latest version of cookies these are valid characters for a cookie
value.

The above exception is coming with Tomcat 4.1.24. but not with earlier
version Tomcat 4.0.3.
And the same exception was coming with tomcat 3.3 earlier.

Why this is being changed with different versions of Tomcat. Is this
abnormality mentioned
anywhere in the Tomcat documents for 4.1.24 & 3.3 versions.

Can anyone please tell me why this is happening.

----tnx
Venkat Dosapati
ATS TransLogic Systems
5th floor Amogh Plaza, Green Lands
Hyderabad, AP-500 016, India
ph  : +91-40-23401795 x29
fax : +91-40-23407943




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to