tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <>
Subject Re: Using the request object and EL
Date Mon, 12 Apr 2004 13:43:48 GMT
On Mon, Apr 12, 2004 at 07:14:19AM -0400, John Trollinger wrote:
: I have a jsp page that has the following code
: [snip]
:       request as EL: ${request.contextPath} <br/>
:       request using page context as EL:
: ${pageContext.request.contextPath} <br/>

You're using JSTL EL, but you're not closing those expressions in JSTL
tags.  That's the only way the page is going to know what you've
included is meant to be JSTL-style dynamic content.

btw, change "request" to "requestScope" inside JSTL EL.



software  --
tech news --

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

View raw message