title: backslash '\' in path is escaped
body: <p>I am getting path of an xml map file like this</p>
  
  <pre><code>String path = getServletContext().getRealPath("") + "/js/"
  </code></pre>
  
  <p>the value when printed comes out fine as below:</p>
  
  <pre><code>C:\Users\Priyank Devurkar\Documents\NetBeansProjects\gra version1\web-app/js/
  </code></pre>
  
  <p>now when I pass this path to next page and alert it in the js function I get the following:</p>
  
  <pre><code>C:UsersPriyank DevurkarDocumentsNetBeansProjectsgra version1web-app/js/
  </code></pre>
  
  <p>I the backslashes are removed. How do I pass the path to the next page ? should I do a replace of '\' with '\'?</p>