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
[EMAIL PROTECTED]


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

Reply via email to