Of course. But the problem is not one of accessing the session. The jsp DOES
NOT access the session and does not need to.
If it did try to access the session there would be an exception thrown.

Therefore, i guess struts puts the form beans in the session if
request="session" and in the page context otherwise.

And I guess that answers the question.

On Sat, Feb 23, 2008 at 4:33 PM, Dave Newton <[EMAIL PROTECTED]> wrote:

> --- doktora v <[EMAIL PROTECTED]> wrote:
> > [...] my jsp contains a <%@ page session="false" %> directive,
> > [...]
> > This took me a while to debug so I'm posting in case anyone has any
> > information about this behaviour. Is this documented anywhere?
>
> If you set session="false" then you can't access the session in the JSP.
> See
> any of the JSP "page" directive docs. I guess my gut reaction would be if
> I
> set the session to false then I shouldn't be surprised when I can't access
> it.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to