title: How to get data from form with spark java?
body: <p>I'm pretty new with all these things but hope that you guys can help me understand how does it work.
  I got a form with field . How do i get data from client back? Was looking for some information but couldnt find.</p>
  
  <pre><code>&lt;form action="Dispatcher" method="post"&gt;
      &lt;fieldset&gt;
          &lt;p&gt;Name&lt;/p&gt;
          &lt;input type="text" name="userName" required="true"&gt;
  
          &lt;p&gt;Email&lt;/p&gt;
          &lt;input type="text" name="userEmail" required="true"&gt;
          &lt;input type="submit" value="submit"&gt;
      &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>