Hi,
No - unfortunately what I mean is later in the same request in another
included JSP. An atttempt at the invocation hierachy:
- ActionBean
- forwarded JSP
- included JSP: ${sessionScope.foo.bar} works fine
- included JSP
- Getter on action bean
- ActionBeanContext.getRequest().getSession() == null
-dennis
Ben Gunter <[email protected]> skrev den 17-04-2009 14:44:07:
> When you say "later on," how much time are you talking about? This
> sounds like a session timeout.
> On Fri, Apr 17, 2009 at 3:20 AM, <[email protected]> wrote:
>
> Hi,
>
> I'm using a bean with @SessionScope that forwards to a JSP that
> includes other JSPs.
>
> Part of the forwarded JSP accesses the session with JSP EL and this
> works fine.
>
> Later on I access a property on the same ActionBean with <stripes:
> useActionbean> and JSP EL. But at this point the session is null (as
> accessed through the ActionBeanContext's request?
>
> This does not always occur - typically only after a reload of the
> page. And the problem sometimes goes away after reloading again.
>
> Any ideas what's going wrong? Quite a showstopper :)
>
> Thanks,
>
> -dennis
>
------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users