title: Pass context params with request in Struts 2
body: <p>I have the following URL in my JSP</p>
  
  
  
  <pre class="lang-jsp prettyprint-override"><code>&lt;s:url id="modifyUser" value="%{modifyUserAction}" /&gt;
  </code></pre>
  
  <p>and I pass context parameter as follows</p>
  
  <pre class="lang-jsp prettyprint-override"><code>&lt;s:hidden name="context" value="%{modifyUserContext}"/&gt;
  </code></pre>
  
  <p>But in such way the context will be sent with any URL unless I set not to add params.</p>
  
  <p>How can I pass my context only for specific URL? It must be passed in request, not in URL itself.</p>
  
  <p>Clarification: I want a value from <code>context</code> to be passed only with my <code>modifyUser</code>, but I <em>don't</em> want my URL will look like <code>someurl?context=someContext</code>.</p>