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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to