R
rouadec
Hello,
I'm trying to output some JSP expression containing backslahes \ and
cannot find how to turn off the default escaping which seems to take
place.
String test = "test\\testse";
<%=test%> will output something along the lines of test%5ctestse which
may look good on the page or in a url but NOT in the FTP urls I am
generating where the username has a backslash in it (windows domain
style usernames).
The jsp in question is in an HTML page with the declaration <%@ page
language="java" contentType="text/html"%> and I won't change this since
this is an html document.
Any idea on how to stop the JspWriter HTMLescaping this expression?
Thanks,
Antoine
I'm trying to output some JSP expression containing backslahes \ and
cannot find how to turn off the default escaping which seems to take
place.
String test = "test\\testse";
<%=test%> will output something along the lines of test%5ctestse which
may look good on the page or in a url but NOT in the FTP urls I am
generating where the username has a backslash in it (windows domain
style usernames).
The jsp in question is in an HTML page with the declaration <%@ page
language="java" contentType="text/html"%> and I won't change this since
this is an html document.
Any idea on how to stop the JspWriter HTMLescaping this expression?
Thanks,
Antoine