jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject RE: problem to replace character "\" with character "/" with the help of jakarta.apache.org/taglibs/string
Date Fri, 18 Jul 2003 20:17:47 GMT

Bug confirmed. I also tried using the html character for it [I assume it's
the xml one]:   &#92;  without any luck.

Anyone got any ideas? I'd hate to have to put a special case in for it as
with newlines.

Thanks for the bug Milut,

Hen

On Fri, 18 Jul 2003, Milut wrote:

> Thanks for quick reply.
>
> Under resin-ee the following  - ok:
>
> test.jsp
> ---
> <%@ page language="java" contentType="text/html; charset=windows-1251" %>
> <%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.0" prefix="str"
> %>
> <str:replace replace="\\" with="/">q\qq\qqq</str:replace>
> ---
>
> Under tomcat and jboss (jetty) test.jsp doesn't work.
>
>
> -----Original Message-----
> From: Henri Yandell [mailto:bayard@generationjava.com]
> Sent: Friday, July 18, 2003 2:09 PM
> To: Tag Libraries Developers List
> Subject: Re: problem to replace character "\" with character "/" with the
> help of jakarta.apache.org/taglibs/string
>
>
>
> Are you saying that it works under resin-ee? Or just doesn't crash?
> Which one of the two works under resin-ee?
>
> Have you tried the over-the-top "\\\\" ?
>
> Will take a look at it and try to see what the fix is.
>
> Hen
>
> On Fri, 18 Jul 2003, Milut wrote:
>
> > Hello, all!
> >
> > I have a problem to replace character "\" with character "/" with the help
> > of jakarta.apache.org/taglibs/string.
> >
> > test.jsp
> > ---
> > <%@ page language="java" contentType="text/html; charset=windows-1251" %>
> > <%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.0" prefix="str"
> > %>
> >
> > <!-- not works -->
> > <str:replace replace="\" with="/">q\qq\qqq</str:replace>
> > <br>
> > <!-- not works -->
> > <str:replace replace="\\" with="/">q\qq\qqq</str:replace>
> > ---
> >
> > Under tomcat and jboss (jetty) test.jsp doesn't work:
> >
> > exception:
> > org.apache.jasper.JasperException: /index.jsp(5,11)
> > jsp.error.unterminated.tag at
> >
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
> > java:94)
> > ...
> >
> > Under resin-ee - ok.
> >
> > Any help would be gratefully appreciated.
> >
> > Thanks in advance.
> > Best regards.
> > Bye.
> > Michael.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message