[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-dev
Subject:    RE: problem to replace character "\" with character "/" with the help of jakarta.apache.org/taglibs/
From:       "Milut" <milut () mail ! ru>
Date:       2003-07-21 8:11:01
[Download RAW message or body]

Thanks that you pay some attention to this problem.

The first idea is to have a look on resin-ee and to discover why there is no
problem with resin-ee.

-----Original Message-----
From: Henri Yandell [mailto:bayard@generationjava.com]
Sent: Saturday, July 19, 2003 12:18 AM
To: Tag Libraries Developers List
Subject: RE: problem to replace character "\" with character "/" with the
help of jakarta.apache.org/taglibs/string



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



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic