title: Plain html not working with struts
body: <p>I'm trying out two things here: firstly, running a normal jsp with action as helloWorld.do :</p>
  
  <pre><code>&lt;html:form action="helloWorld.do" method="post"&gt;
  </code></pre>
  
  <p>and the same thing in html too:</p>
  
  <pre><code>&lt;form action="helloWorld.do" method="post"&gt;
  &lt;input type="text" name="userName"&gt; &lt;!-- userName and password names do match the variables in form --&gt;
  &lt;input type="password" name="password"&gt;
  &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When I run the jsp, the action in the jsp maps to the right action and renders the page correctly but with html it actually calls <code>http://localhost/StrutsExample/helloworld.do</code>. Here helloWorld.do changed to helloworld.do. So, it rendered an empty page (this is the page I'm trying to display the username) So, I tried to add a new action in struts :</p>
  
  <pre><code>&lt;action path="/helloworld"
      type="com.org.common.action.HWdAction"
      name="hWForm"&gt;
      &lt;forward name="success" path="/HW.jsp"/&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>It still does not work. The form does not populate itself with the name entered in html.</p>