How to set <s:param> value of <s:url> tag dynamically using javascript in struts2
<p>I am new to Struts2.I unable to pass  tag value dynamically through javascript.I have done this way </p>

<pre><code>&lt;s:url id="temId" action="updateProduct.action" var="productTag"&gt; 
&lt;s:param name="prodId"&gt;&lt;s:property value="hdnId"/&gt;&lt;/s:param&gt;
&lt;/s:url&gt;
&lt;s:hidden name="hdnId"/&gt;
</code></pre>

<p>this hidden field value is populated through javascript function onclick on gridrow
This hidden field is storing value properly.But it is not showing inside of param tag.please give some possible solution</p>
