With JSP 2.0, request-time attribute values can use either the old "<%= %>" or
the EL "${}" without any changes by the taglib authors. So, with JSP 2.0, the
string taglib will be automagically EL-enabled.

Quoting [EMAIL PROTECTED]:

> Hi Otis
> 
> Yes, this is another taglib (as there are taglibs in Jakarta that have part
> of the functionality of JSTL), but in my opinion it's an ideal companion to
> JSTL. We use both (and also other stuff like the mailer taglib), and it
> works fine. There's nothing in JSTL that offers what the String taglib
> offers - which is why we installed it :-)
> No, the EL is not supported, but you can come pretty far by nesting tags.
> Perhaps one day, when Tomcat 5 with JSP 2 and EL as standard is released,
> the taglib authors will be forced to include EL.
> But hey... why not ask the author? :-)
> 
> Best regards,
> Eric
> 
> -----Original Message-----
> From: otisg [mailto:[EMAIL PROTECTED]
> Sent: Mittwoch, 26. November 2003 16:27
> To: [EMAIL PROTECTED]
> Subject: Re: RE: trim string, append '...'
> 
> 
> Thanks.
> 
> Please help me understand.  This is just another taglib, written
> by Jakarta Taglibs developers, but this is not a part of JSTL.
> Is this correct?
> If it is...is there nothing in JSTL that offers equivalent
> functionality?
> 
> Also, regarding this String taglib, it looks like the last
> release was about 10 months ago, which may be a good indicator
> of stability :)  But in the Changes file I see that there is no
> EL support in this 1.0.1 release, but it exists in CVS HEAD. 
> How come no new release in almost 10 months then?
> 
> Thanks,
> Otis
> 
> 
> 
> ---- On Wed, 26 Nov 2003, [EMAIL PROTECTED]
> ([EMAIL PROTECTED]) wrote:
> 
> > Hi
> > 
> > You should use the String tag library for that:
> >
> http://jakarta.apache.org/taglibs/doc/string-doc/string-1.0.1/index.html
> > 
> > Best regards,
> > Eric
> > 
> > -----Original Message-----
> > From: otisg [mailto:[EMAIL PROTECTED]
> > Sent: Mittwoch, 26. November 2003 15:58
> > To: [EMAIL PROTECTED]
> > Subject: trim string, append '...'
> > 
> > 
> > Hello,
> > 
> > I am trying to find out if I can use any of the Jakarta
> taglibs
> > to do some string formatting.  In particular, I am trying to
> > trim strings that exceed a certain length, and append
> something
> > like ellipses to it.
> > e.g.
> > Wolfgang Amadeus Mozard -> Wolfgang Amadeus M...
> > 
> > I tried looking at the docs, but this URL gives a 404:
> > 
> >
> http://jakarta.apache.org/taglibs/doc/standard-1.0-doc/standard-1.0/index.ht
> > ml
> > 
> > I cannot use a 1.1 version of standard taglibs, only 1.0.
> > If support for this does not exist in 1.0, but does exist in
> > 1.1, I would still love to know. :)
> > 
> > Thank you,
> > Otis
> > 
> > 
> > ________________________________________________
> > Get your own "800" number
> > Voicemail, fax, email, and a lot more
> > http://www.ureach.com/reg/tag

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to