[OT] Re: How to invalidate a session in struts 2.0

2007-09-13 Thread Dave Newton
--- Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > Anyway, I'm still not convinced that invalidating > the session in the > action class would yield any more positive results > than doing it in > the JSP page. > Nobody gave any examples, counter-examples or use > cases that shows it is more co

Re: How to invalidate a session in struts 2.0

2007-09-13 Thread Gabriel Belingueres
I think this is becoming an off topic for this list, so this will be my last post. Anyway, I'm still not convinced that invalidating the session in the action class would yield any more positive results than doing it in the JSP page. Nobody gave any examples, counter-examples or use cases that sho

Re: How to invalidate a session in struts 2.0

2007-09-12 Thread Alvaro Sanchez-Mariscal
There is one extra reason in favour of doing in the action: it's really simple. Sure. You can implement ServletRequestAware, an call request.getSession().invalidate(); Alvaro. On 9/13/07, Chris Pratt <[EMAIL PROTECTED]> wrote: > On 9/12/07, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > > I ag

Re: How to invalidate a session in struts 2.0

2007-09-12 Thread Chris Pratt
On 9/12/07, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > I agree too that (generally speaking) we must introduce the least > possible quantity of scripting into JSP pages as we can, so we honor > the MVC architecture, however, in this particular case (invalidating > the session), I don't unders

Re: How to invalidate a session in struts 2.0

2007-09-12 Thread Gabriel Belingueres
sp > > > page, which purists do not view as 'OK' (speaking as a purist myself, > > > while acknowledging this as a possible character flaw.). > > > - Ray Clough > > > > > > > > > > - Original Message - > &g

Re: How to invalidate a session in struts 2.0

2007-09-12 Thread Alvaro Sanchez-Mariscal
ch > > purists do not view as 'OK' (speaking as a purist myself, while > > acknowledging this as a possible character flaw.). > > - Ray Clough > > > > > > > ----- Original Message - > > > From: "Gabriel Belingueres" <[EMAIL P

Re: How to invalidate a session in struts 2.0

2007-09-12 Thread Gabriel Belingueres
as 'OK' (speaking as a purist myself, while acknowledging > this as a possible character flaw.). > - Ray Clough > > > > - Original Message - > > From: "Gabriel Belingueres" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" &g

Re: How to invalidate a session in struts 2.0

2007-09-11 Thread Alvaro Sanchez-Mariscal
rvletrequest as a parameter, and has an > > invalidate method for the http session, not sure how this works. > > > > thanks in advance for your assistance > > -- > > View this message in context: > > http://www.nabble.

Re: How to invalidate a session in struts 2.0

2007-09-11 Thread Ray Clough
rol logic in a jsp page, which purists do not view as 'OK' (speaking as a purist myself, while acknowledging this as a possible character flaw.). - Ray Clough > - Original Message - > From: "Gabriel Belingueres" <[EMAIL PROTECTED]> > To: "Struts Users M

Re: How to invalidate a session in struts 2.0

2007-09-11 Thread Gabriel Belingueres
quest as a parameter, and has an > invalidate method for the http session, not sure how this works. > > thanks in advance for your assistance > -- > View this message in context: > http://www.nabble.com/How-to-invalidate-a-session-in-struts-2.0-tf4424331.html#a12620475 > Sent from

How to invalidate a session in struts 2.0

2007-09-11 Thread illusion
://www.nabble.com/How-to-invalidate-a-session-in-struts-2.0-tf4424331.html#a12620475 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL