tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siggelkow, Bill" <>
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='${}'/>

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message