struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <>
Subject RE: Re[2]: EL Expression in html:hidden tag
Date Mon, 03 Nov 2003 16:29:48 GMT
> -----Original Message-----
> From: Arne Brutschy [] 
> Thursday, October 30, 2003, 3:53:39 PM, you wrote:
> RB> Is ${pageContext.request.servletPath} returning anything?
> Yes, it is returning the right path.
> RB>  Try something like
> RB> <html:hidden property="requestedPage"><c:out
> RB> value="${pageContext.request.servletPath}"/></html:hidden>
> I already tried this, it does not work. Basically, it should be the
> same as
>   <html:hidden property="requestedPage">
>     ${pageContext.request.servletPath}
>   </html:hidden>
> or
>   <html:hidden property="requestedPage" 
> value="${pageContext.request.servletPath}"/>
> which are both not working. Is this some stutsbug? Why is the
> html:hidden tag marked in the tld file with a rtexpressions=false?

OH.  Sigh.  I had originally set all the attributes on the EL tags to
have that set to "false", because in JSP 1.2 that refers to whether it
will use scriptlet expressions or not, and I wanted to discourage the
use of those.  I had recently decided to change those back to "true" out
of a sudden attack of pragmatism, but now I see that this (the "false"
setting) is causing a more serious problem.  In JSP 2.0, the meaning of
this flag is slightly different (I'm assuming) in that it appears a
setting of "false" means it won't evaluate EL expressions.

I'll try to get to fixing these tonight and getting it into the nightly
build, at least.

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

View raw message