Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread Chris Pratt
> > tks in advance > > john > > -- > *From:* Chris Pratt > *To:* Struts Users Mailing List ; john lee < > sh_thorn_b...@yahoo.com> > *Sent:* Thursday, May 23, 2013 6:25 PM > *Subject:* Re: struts 2 Intercepter ServletRequestAware > > Servle

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
: struts 2 Intercepter ServletRequestAware ServletActionContext.getRequest().getCookies()   (*Chris*) On Thu, May 23, 2013 at 4:20 PM, john lee wrote: > >thanks, > >so, how can I access Cookie in the interceptor? as my knowledge, to access >cookie, i have to get Servlet

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
rs Mailing List" Subject: Re: struts 2 Intercepter ServletRequestAware thanks, so, how can I access Cookie in the interceptor? as my knowledge, to access cookie, i have to get Servlet first, then get Request object, then access Cookie.. please advise  john __

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread Chris Pratt
en access > Cookie.. > > please advise > > > > john > > > From: Chris Pratt > To: Struts Users Mailing List ; john lee < > sh_thorn_b...@yahoo.com> > Sent: Thursday, May 23, 2013 5:02 PM > Subject: Re: struts 2 Intercept

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread jlmagc
ruts Users Mailing List ; john lee Sent: Thursday, May 23, 2013 5:02 PM Subject: Re: struts 2 Intercepter ServletRequestAware You cannot use ServletRequestAware or ServletResponseAware in an Interceptor.   (*Chris*) On Thu, May 23, 2013 at 2:58 PM, john lee wrote: > please explain mo

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
: Thursday, May 23, 2013 5:02 PM Subject: Re: struts 2 Intercepter ServletRequestAware You cannot use ServletRequestAware or ServletResponseAware in an Interceptor.   (*Chris*) On Thu, May 23, 2013 at 2:58 PM, john lee wrote: > please explain more, thanks in adva

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread Chris Pratt
> Sent: Thursday, May 23, 2013 4:53 PM > Subject: Re: struts 2 Intercepter ServletRequestAware > > > You may have misunderstood what I said. > > those interfaces are for actions, not interceptors. > On May 23, 2013 5:51 PM, "john lee" wrote: > > > it is

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
please explain more, thanks in advance  From: Dave Newton To: Struts Users Mailing List Sent: Thursday, May 23, 2013 4:53 PM Subject: Re: struts 2 Intercepter ServletRequestAware You may have misunderstood what I said. those interfaces are for actions

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread Dave Newton
; > > > From: Dave Newton > To: Struts Users Mailing List > Sent: Thursday, May 23, 2013 4:31 PM > Subject: Re: struts 2 Intercepter ServletRequestAware > > > That interface is for actions, not interceptors. > On May 23, 2013 5:30 PM

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
                            From: Dave Newton To: Struts Users Mailing List Sent: Thursday, May 23, 2013 4:31 PM Subject: Re: struts 2 Intercepter ServletRequestAware That interface is for actions, not interceptors. On May 23, 2013 5:30 PM, "john lee" wrote:

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread Dave Newton
That interface is for actions, not interceptors. On May 23, 2013 5:30 PM, "john lee" wrote: > Please advise the following > > for struts2, for an login action, an predefined interceptor is triggered > for checking cookie , the code is the following > > for SecurityVerifySessionIntercepter, i im

struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
Please advise the following for struts2, for an login action, an predefined interceptor is triggered for checking cookie , the code is the following for  SecurityVerifySessionIntercepter, i implement the ServletRequestAware, but get null catached. my question is: for intercepter, Request obje