title: Calling same servlet from different jsp for different intention
body: <p>I am creating a MVC application where I want my servlet to be a real controller. It should take request from view and based on request should call my DAO layer for DB interaction. I am using hibernate and populating the pojo/bean on jsp.   </p>
  
  <p>For eg. my one jsp is for registering the user and second is to create an ad by the user. Both jsps call the same servlet(Controller.java) and the servlet has method calls to my DAOImpl.java which has registerUser(User user) and CreateAd(Offer offer). These methods just call persist and insert the data to database.  </p>
  
  <p>This works fine with two servlets, but I am trying if it is possible in different way without two servlets.</p>