title: Passing dynamic content to jsp:param "value" attribute
body: <p>Hie... I was wondering whether it is possible to send dynamic content involving "if" or "switch" functions to jsp:param "value" attribute ... one can send a single value which can be represented in the following manner</p>
  
  <pre><code>&lt;jsp:param name="blah" value="&lt;%=blah%&gt;"/&gt;
  </code></pre>
  
  <p>now what i mean to ask is .. </p>
  
  <pre><code>&lt;jsp:param name="blah" value="&lt;% 
                                 if(blah == 1)
                                 out.print("The value is 1");
                                 if(blah == 2)
                                 out.print("The value is 2");
                                 %&gt;"/&gt;
  </code></pre>
  
  <p>is the above method possible.. when i do the same i get an error stating that an " = " sign is expected after the tag in value attribute ..</p>