title: How to use s:if to compare the value of s:hidden
body: <p>I have s: hidden tag like this...</p>
  
  <pre><code>&lt;s:hidden name="hiddenpopup" value="0" id="hiddenpopup"/&gt;
  </code></pre>
  
  <p>I am setting the value of the hiddenpopup in javascript like this :</p>
  
  <pre><code>document.getElementById("hiddenpopup").value=5;
  </code></pre>
  
  <p>Now I want to compare the value of this in jsp and I am doing like this :</p>
  
  <pre><code>&lt;s:if test="%{#hiddenpopup==5}"&gt;
      &lt;%@ include file="/planmanagement/planSummary/ConfirmationPopup.jsp" %&gt;
      &lt;/s:if&gt;
  </code></pre>
  
  <p>Is this way of comparing right or Where am I going wrong? Could anyone help me? Thanks in advance.</p>