On Tue, 16 Jul 2002, Alex Reznik wrote:

> I am trying to track a session using JSTL that was originated as a regular
> jsp page, 
> <%@page session ="true" %>, i need to make a ckeck something like <c:if
> test="${empty session}">, redirect...
> what should be the body of my test?\

${pageContext.session.new} will tell you whether the session is "new", per
the Servlet spec, if that's what you're asking.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to