I'm having a problem setting a cookie inside of a Controller class.

My custom controller extends from the base Controller class. Inside of
my class, I'm simply trying to set a cookie to the
HttpServletResponse. Inside of a Strut Action class, it's been working
just fine. But in the controller, the response.addCookie method seems
to do nothing. Using a debugger I see no value change. No exception is
thrown and the application seems to progress as if nothing happened.

Any ideas? Did I forget to configure something? Is it a poor practice
to set a cookie in a Controller in the first place?

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

Reply via email to