title: Multiple forms, one servlet - Design perspective
body: <p>I would like to start a thread on handling the "multipe Form, one Servlet" scenario and discuss pros and cons. There are multiple use cases where this model could be deployed with a prime example being:</p>
  
  <p>AccountDetails.jsp : contains multiple forms
  UpdateAccountDetalsServlet : depending on which form was submitted, calls a DAO method to update the database.</p>
  
  <p>Now the obvious solution here would be to pass a hidden parameter to the servlet and determine which form was submitted, but this doesn't feel right. Why?</p>
  
  <p>I'd like to get some feedback.</p>
  
  <p>Thanks.</p>