title: how to pass special characters in ajax call
body: <p>How to pass special characters variables i in ajax call and get the values in spring controller. if file <code>name="##@jsuduu"</code></p>
  
  <pre><code>function deleeteimg(){
      var filename=$("#filenm").text();
      alert(filename);
      //var filename=$(this).attr("data-id");
      var url="/myuploads/deleteFile.html?filename="filename;
      $.ajax({
          type: "GET",
          url: url,
          contentType: 'html',
          success: function(response) {
               window.location.href="/myuploads/showUploads.html";
          }
      });
  }
  </code></pre>