title: How to send parameters on clicking anchor tag in struts
body: <p>I have anchor tag like below and I want to send input parameter username with it with out form submit.</p>
  
  <pre><code>&lt;div class=""&gt;
      &lt;form method="post" id="loginForm" action="&lt;c:url value='/j_security_check'/&gt;" onsubmit="saveUsername(this);
              return validateForm(this);" class="form-signin" autocomplete="off" style="left: 20px; position: absolute"&gt;
          &lt;ul&gt;
              &lt;s:textfield id="j_username" name="j_username" placeholder="%{getText('label.username')}" requiredLabel="true" required="true" tabindex="1" cssClass="input-block-level i"/&gt;
              &lt;s:password id="j_password" name="j_password" placeholder="%{getText('label.password')}" requiredLabel="true" required="true" tabindex="2" cssClass="input-block-level i"/&gt; 
              &lt;li&gt;
                  &lt;button type="submit" class="btn btn-large btn-primary" name="login" tabindex="3"&gt;
                      &lt;i class="icon-lock"&gt;&lt;/i&gt; &lt;fmt:message key='button.login'/&gt;
                  &lt;/button&gt;
              &lt;/li&gt;
              &lt;li&gt;
                 &lt;div style="margin-top:20px"&gt; 
                    &lt;a class="forgot_password" href="/forgotPassword"&gt;Forgot Password&lt;/a&gt;    
                 &lt;/div&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>On clicking anchor with <code>href=/forgot_password</code> which is inside form, I want to send <code>j_username</code> parameter to action class. How do I achieve this in struts because I am not using form submit here.</p>