Like Alan I was wondering about the difference and now see a bit clearer.
BUT:
Now I am a bit confused.
I used to use the rt-TLDs in my project (it simply works with EL
expressions, possibly because the container, Tomcat 5.x, handles it ?).
After the information supplied here I should use the c (without -rt) ones.
When I try to do this I get a Jasper-Exception:
"According to TLD or attribute directive in tag file, attribute test does
not accept any expressions"
The first usage of an c-tag in my jsp using EL is:
<c:when test="${apForm.oid != 0}">
The TLD is specified in my JSP-file as:
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
(I put all my TLDs under the WEB-INF/tld directory)
Any hints?
Martin
---------------------------------------
cityExperience.net
Dipl. Inf. Martin Kindler
Kaulbachstr. 20a
D-12247 Berlin
Deutschland
eMail [EMAIL PROTECTED]
> -----Ursprüngliche Nachricht-----
> Von: Martin Gainty [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 22. Juni 2005 04:24
> An: Struts Users Mailing List
> Betreff: Re: JSTL tag libs
>
>
> Erik et al
> Yes
> c tag (prefix="c") (uri=http://java.sun.com/jstl/core) uses
> EL expression as
> in
> <c:set var="browser" value="${header['User-Agent']}"/>
>
> check out
> http://java.sun.com/developer/technicalArticles/javaserverpage
> s/faster/
>
> Martin-
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Struts Users Mailing List"
> <[email protected]>
> Sent: Tuesday, June 21, 2005 7:39 PM
> Subject: Re: JSTL tag libs
>
>
> > Thanks for the replies.
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > Sent: Jun 20, 2005 5:16 PM
> > To: Struts Users Mailing List <[email protected]>,
> > [EMAIL PROTECTED]
> > Subject: Re: JSTL tag libs
> >
> > I'm not positive on this, but I think that the c-rt tags would take
> > expressions in scriptlet format (<%=) whereas the c tags
> take expressions
> > in the expression language format (${).
> >
> > Erik
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > Sent: Jun 20, 2005 4:34 PM
> > To: [email protected]
> > Subject: JSTL tag libs
> >
> > Hi,
> > In the Struts 1.2.x distribution, what is the difference between the
> > following tag libs:
> > contrib/struts-el/lib/c-rt.tld
> > contrib/struts-el/lib/c.tld
> >
> > Thanks
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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]