title: Passing values in query string in jsp and struts
body: <p>I am passing below value which has special characters in query string to an action class.On hitting the action class the param1 value breaks and only empty. pdf is being passed in the url. I want to pass the entire string. How to achieve it?</p>
  
  <pre><code>&lt;TD&gt;&lt;A href=javascript:openWindow("lookuptest.do?action=download&amp;param1=&lt;%=test%&gt;")&gt;&lt;%="Download"%&gt;&lt;/a&gt;&lt;/TD&gt;
  </code></pre>
  
  <p>where test value is <code>empty.pdf@error.pdf@test.pdf</code></p>