Hi Eric,

It should work. I'm trying to work hard at making the String tag library
integrate as much as possible with JSTL as it seems to be the most common
place it gets used now. For example, I've copied the JSTL habit of being
able to place all output into a var variable, and there's a
StringTagSupport class there if you want to write your own string-based
tags.

Basically, if your example doesn't work for you, then it'll get fixed
pronto. However the way these things work is that the substring tag should
get the output of the c:out tag and not the tag itself.

Someone found a bug in this a week or so back, [the string taglibs fault]
so you might need to grab the latest jar file.

Hen

On Tue, 23 Apr 2002 [EMAIL PROTECTED] wrote:

> Hi
>
> Since JSTL doesn't do anything more than more or less writing stuff into a
> HTML page, I looked at the possibility of using another tag library for
> string manipulation. The String Tag library looks excellent.
> However, I'm not sure if something like this would work:
>
> <str:substring start="1" end="10">
>     <c:out value="${someText}"/>
> </str:substring>
>
> At what point does the starting tag get the contained body? Will it only get
> the JSTL tag or will it get the content of the JSTL tag? The first case of
> course wouldn't help...
>
> Best regards,
> Eric
>
> swissinfo/Swiss Radio International
> Eric Lewis
> IT Engineering
> Giacomettistrasse 1
> CH-3000 Berne 15
>
> Phone:        ++41 31 350 95 42
> Fax:  ++41 31 350 99 40
> mailto:[EMAIL PROTECTED]
>
> Switzerland is everywhere. Stay connected!
> http://www.swissinfo.org
> http://mobile.swissinfo.org
> http:/wap.swissinfo.org
>
> SRG SSR id�e suisse
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to