title: Best Way to escaping single quotes and double quotes in a string
body: <p>What is best way to eliminate single quotes and double quotes from an jsp variable?</p>
  
  <p>Assume <code>text="hsdhakb'asda"'ass'as'd"</code></p>
  
  <p>We have two options<br>
  either using <code>fn:replace</code> or <code>fn:escapeXml()</code></p>
  
  <pre><code>  &lt;c:set var='text' value='${text}'/&gt;
  </code></pre>