Escaping the backslash character in JSP
843840Jul 15 2008 — edited Jul 16 2008The input String to my JSP can contain \ character, I need to normalize this \ character to words "back slash". I tried the following and it doesn't work:
normVal = normVal.replaceAll("\\\"," back slash ");
Can someone please tell me how i can get this to work?