title: Avoid caching of js and css files in jsp page
body: <p>I have searched it a lot on google but didn't get any answer for the same. In order to avoid caching of js and css files we can append a version number after the string like i have done below.</p>
  
  <pre><code>&lt;script type="text/javascript"
      src="&lt;c:url value='/resources/js/Invoice.js?version=1.0'/&gt;"&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>But I wish to use some random number instead of 1.0 to avoid caching something like :</p>
  
  <pre><code>&lt;script type="text/javascript"
          src="&lt;c:url value='/resources/js/Invoice.js?version=&lt;%=Math.random()%&gt;' /&gt;"&gt;
      &lt;/script&gt;
  </code></pre>
  
  <p>But its not working at all. Please help me out</p>