struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Struts in Servlet 2.4
Date Mon, 16 Apr 2007 20:19:05 GMT
I'd still try it without it, because that's just the way I am ;)

I mean, it's obviously there if you're enumerating over it...

----- Original Message ----
From: "Slattery, Tim - BLS" <>
To: Struts Users Mailing List <>
Sent: Monday, April 16, 2007 4:04:50 PM
Subject: RE: Struts in Servlet 2.4

> > <%@ page session="false"%>
> Whoa.
> "session="true | false"
> Whether the client must join an HTTP session in order to use 
> the JSP page. If the value is true, the session object refers 
> to the current or new session.
> If the value is false, you cannot use the session object or a 
> <jsp:useBean> element with scope=session in the JSP file. 
> Either of these usages would cause a translation-time error.

Now THAT's interesting. This setting is an office standard (I don't know
why). It's always worked in WL 7 and WL 8 (and Jboss 3.2.5, for that

I put debug print in the JSP page, just before the failing tag. That
print proves that the session is available, that the "Contact" bean is
there, and that it has the correct value. That being the case, I can't
believe that this is the problem. It would require me to believe that
the Java code in the page can see the session and its attributes, but
because of this setting, the tag cannot. 

Tim Slattery

To unsubscribe, e-mail:
For additional commands, e-mail:

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message