--- 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
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
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
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
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
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
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
It is enough to develop a LogoutAction implementing
ServletRequestAware, and calling request.getSession().invalidate() in
its execute().
Alvaro.
On 9/11/07, Gabriel Belingueres <[EMAIL PROTECTED]> wrote:
> Personally, I use the good old
>
> <% session.invalidate(); %>
>
> as the last instruction
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
Personally, I use the good old
<% session.invalidate(); %>
as the last instruction of my logout.jsp page.
AFAIK, to invalidate the session inside an action, you must downcast
the session Map (from the SessionAware interface) to a SessionMap
class, which seems little awkward to me.
Besides, usin
10 matches
Mail list logo