tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
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.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message