You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Milut <mi...@mail.ru> on 2003/06/30 17:19:03 UTC

problem to replace character "\" with character "/" with the help of jakarta.apache.org/taglibs/string

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 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.

PS
Please send a copy of the answer to my e-mail
milut@mail.ru


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