servlet execution
Hi! Please try to answer my question : if there are 3 methods in the servlet as service,doGet and doPost then which one gets executed first and does the request get passed to other method?
Message was edited by:
j_star
Hi! Please try to answer my question : if there are 3 methods in the servlet as service,doGet and doPost then which one gets executed first and does the request get passed to other method?
Message was edited by:
j_star
I think first mehod will be called Service mehod.
http://www.chambal.net/documentation/chambal--introduction-to-servlets
Service method check the request type. If it is GET, then I call doGet() and if it is POST then I call doPost() method.
http://www.visualbuilder.com/jsp/webcomponent/pageorder/5/
Message was edited by:
JL.Nayak