title: How to get a form value in a controller
body: <p>I am using Spring MVC. How can I get text box value of the following snippet in my controller method?</p>
  
  <pre><code>&lt;form name="forgotpassord" action="forgotpassword" method="POST" &gt;
      &lt;ul&gt;
          &lt;li&gt;&lt;label&gt;User:&lt;/label&gt; &lt;input type='text' name='j_username' /&gt;&lt;/li&gt;
          &lt;li&gt;&lt;label&gt;&amp;nbsp;&lt;/label&gt; &lt;input type="submit" value="OK" class="btn"&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/form&gt;
  </code></pre>