tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: JSP:INCLUDE problem
Date Mon, 12 Aug 2002 14:07:10 GMT
On Mon, 12 Aug 2002, Ben Ramsey wrote:

> <jsp:include page="${headlines}" flush="true"/>
> [...]
> Am I doing something wrong?

In JSP 1.2, you can't use the JSTL expression language in JSP standard
actions like <jsp:include>.  JSTL can't change the JSP standard on its
own, and so JSTL expressions are restricted to use in JSTL tags'
attributes.

In JSP 2.0, when the EL will be supported by JSP itself, you'll be able to
include EL expressions in <jsp:include>.

In the meantime, you'll need either to use <c:import> as a substitute for
<jsp:include> or use an rtexprvalue with <jsp:include>.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message