tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Lubke <Ryan.Lu...@Sun.COM>
Subject Re: JSP:INCLUDE problem
Date Mon, 12 Aug 2002 14:07:16 GMT
On Mon, 2002-08-12 at 10:02, Ben Ramsey wrote:
> In addition, I've placed th variable into the page attribute using the scripting tags:
<%= headlines %>,
> but I get a variable undefined error for "headlines."
> 
In addition to what Shawn said, if you want to use an RT value with
jsp:include, you will need to use <%=
pageContext.getAttribute("headlines", PageContext.PAGE_SCOPE) %>

As the EL variable, headlines, is stored in the PageContext, and not
exposed as a scripting variable.

-rl


--
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