title: Submitting two or more forms to the same servlet iin JSP
body: <p>I was learning JSP where i created a <code>login.jsp</code> and <code>register.jsp</code>.  Once form in registration page got submitted i am submitting all the values in <code>RegisterUser.java (SERVLET)</code> and getting via dopost later writing to DB.  Now i need to submit another form in <code>login.jsp</code> to the same servlet <code>RegisterUser.java (SERVLET)</code>.  How to create multiple <code>dopost</code> in servlet.  If created how the servlet will identify.  Please give me the explanation in detail.  Thanks in Advance.</p>