Frank wrote:
I copied the replace function from the source code into a test app and tried passing a "\n" character to be replaced and it worked fine, so there is nothing wrong with the replace function.

You can't stick Java escape conventions into JSPs like that. What I'd suggest you do is add


pageContext.setAttribute("linefeed", "\n");

in a scriptlet, then have your replace function use $linefeed.

--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. [EMAIL PROTECTED]

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



Reply via email to