How to transfer data from JSP to servlet when submitting HTML form

I have a JSP page with an HTML form:

<form action="SERVLET">
    <input type="text" name="name"/><br>        
    <input type="text" name="group"/>
    <input type="text" name="pass"/>
    <input type="submit" value="submit">            
</form>

How to obtain these data in a servlet and add them to database?

42
задан BalusC 8 February 2016 в 10:14
поделиться