Re: using tiles and setting a cookie

2006-02-22 Thread brian papa
Well it looks like I've found the cause of the problem. The ServletResponse object passed into my Controller's execute is wrapped inside of ServletResponseWrapperInclude, which wraps an instance of org.apache.catalina.core.ApplicationHttpResponse. In that class, the addCookie() method is overidden

Re: using tiles and setting a cookie

2006-02-21 Thread brian papa
Oops, meant to question the presence of the Response there. On 2/21/06, Dave Newton <[EMAIL PROTECTED]> wrote: > brian papa wrote: > > I'm starting to think now that perhaps I'm doing this in the wrong > > place. After all the purpose of a controller should simply be to > > prepare data for render

Re: using tiles and setting a cookie

2006-02-21 Thread Dave Newton
brian papa wrote: > I'm starting to think now that perhaps I'm doing this in the wrong > place. After all the purpose of a controller should simply be to > prepare data for rendering in a JSP tile. I'm wondering though if this > is the case what the purpose is of having the HttpServletRequest as a

Re: using tiles and setting a cookie

2006-02-21 Thread brian papa
gt; -Original Message- > From: brian papa [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 6:59 PM > To: Struts Users Mailing List > Subject: Re: using tiles and setting a cookie > > > Yeah that doesn't seem to be the problem, and the ".mysite.com"

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
: brian papa [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 6:59 PM To: Struts Users Mailing List Subject: Re: using tiles and setting a cookie Yeah that doesn't seem to be the problem, and the ".mysite.com" is working with an Action anyway... setting the cookie the same

Re: using tiles and setting a cookie

2006-02-21 Thread brian papa
gt; -Original Message- > From: brian papa [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 6:42 PM > To: Struts Users Mailing List > Subject: Re: using tiles and setting a cookie > > > I was unaware of that actually. But, even outside of the debugger the > cooki

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
e 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 pr

Re: using tiles and setting a cookie

2006-02-21 Thread brian papa
? > > 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 insi

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
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 cook

using tiles and setting a cookie

2006-02-21 Thread brian papa
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