What is execution of these methods in servlet start(),stop(),constructor(),init(),doget(),dopost(),destroy().
The doGet() method is the method inside a servlet that gets called every time a request from a jsp page is submitted. The control first reaches the doGet() method of the servlet and then the servlet decides what functionality to invoke based on the submit request. The get method called when the type of page submission is "GET".A limited amount of data is to be send through this method.
doPost() is the method in the servlet that is used to service the Http requests submitted using the Post option. You can send large amount of data using this method.It is secure.
For other methods, please visit the following link:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.