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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>