Brian, When and where are you looking for a value change with your debugger? You do know that the cookie won't be seen until the response ends, right? The NEW cookie is given to the client's browser and won't be seen by the server until the client's next request. Can you give the controller method and some relevant code pieces?
Regards, David -----Original Message----- From: brian papa [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 4:47 PM To: user@struts.apache.org Subject: using tiles and setting a cookie 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]