tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siggelkow, Bill" <bill.siggel...@mirant.com>
Subject RE: Difference between c.tld and c-rt.tld
Date Mon, 11 Aug 2003 15:49:15 GMT
The "rt" tag libraries will accept request-time expressions for most attribute values as in:

<c:out value='<%= ((Foo)session.getAttribute("foo")).getBar()'%>/>

The tag libraries without the "rt" do not accept Request-time expressions but operate on EL
(expression language) -- for example:

<c:out value='${sessionScope.foo.bar}'/>

You can use both the "rt" and the non-rt (EL-supporting) tags in your JSP -- just be sure
and give them different prefixes in the taglib directives.  In the long term, you want to
get away from the rt tags - and use EL instead.

-----Original Message-----
From: Narayan, Anand [mailto:ANarayan@e-gatematrix.com]
Sent: Monday, August 11, 2003 11:23 AM
To: 'Tag Libraries Users List'
Subject: Difference between c.tld and c-rt.tld



Whats the difference between the runtime version and the normal version 
of JSTL tags.
I was under the impression that if we used th normal tags
we could not use Java scriptlet code within the page.
Is that correct? Or can we mix the two even when using the normal
tags?

Thanks
Anand

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

Mime
View raw message