hi,

I tried to use the following construction to read a variable from the session if it is available:

<mm:import externid="mmb_usernumber" from="session" required="false" />

The page is set to not create a session since I want only one page (login.jsp) to create a session.

This page gives an error if the session has timed out, or the session was explicitely destroyed.

org.apache.jasper.JasperException: /game/actions/travel.jsp(1,0) jsp.error.session.invalid
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)



I would think that when I specify required="false" it should not give an exception. Of course I can put a check on the availiability of a session in, so this is more to know if this is accidental or intended behaviour.


cheers,

  Simon



Reply via email to