Two
things:
1) by
default your login.jsp creates a new session unless you explicitly tell it not
to.
<%@
page language="java" session="false" %>
2) you
could try to get an Attribute from the session. If your particular attribute
doesn't exist in the session, you can assume that it is
"new".
DISCLAIMER: |
- redirect and getSession(true).isNew() Peter Maas
- Re: redirect and getSession(true).isNew() Michael Weller
- Re: redirect and getSession(true).isNew() Becky Phaneuf
- Zerbe John W