Hi , I've solved the substring problem, now I have another with special chars coming from db. for example if I use <c:set var="pippo">this is euro EUR</c:set> <c:out value="${pippo}"/> it is OK but if ${pippo} comes from a recordset db this char will be substituted with ?. I'm using char encoding ISO-8859-1. (the same with \n\r) Any ideas whereto look for ?
-----Original Message----- From: Henri Yandell [] Sent: marted́ 9 aprile 2002 19:23 To: Tag Libraries Users List Subject: Re: string substring tag Hi Andrea, All the string tags support bodies, and last weeks fix should affect every tag as it was in an abstract class. I'm lazy(?) I do all the JSP like work in an abstract class and my actual tag classes are really special StringTag classes with a changeString method. So I can test with the same data, what is the value that your <c:out..> is outputting into reverse? Hen On Tue, 9 Apr 2002, Andrea Grittini wrote: > > > > Hello all, > Using String tag libraries to perform an substring of a formatted date string, like >in this example: > > <str:substring start="2" end="4"><str:reverse><c:out >value="${myvar}"/></str:reverse></str:substring> > > I got the same error as the uppercase error of the last week: > > > Maybe the tag don't support body variable or is the same error as uppercase? > > > Thank you. > > > > Andrea Grittini ( < mailto:[EMAIL PROTECTED]>) > Tel: +39-2-97482.1- Fax: +39-2-97482? > Computer Design S.r.l., Via Piave 46 - 20010 S.Stefano Ticino - ITALY > < http://www.cdesign.it/> > > > > > -- > 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>