Java/J2EE
What is execution of these methods in servlet start(),stop(),constructor(),init(),doget(),dopost(),destroy().
View Answers
March 7, 2011 at 2:46 PM
Servlet methods
1)doGet() method:
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.
2)doPost() 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:
Methods of Servlet
Know more about Servlets
Related Tutorials/Questions & Answers:
Java/J2eeJava/J2ee I want to get the data from database in to text box in a jsp page. If I enter the letter A in the textbox it should show only those values which starts with a and from that i need to select the required value and i
Java/J2EEJava/J2EE What is execution of these methods in servlet start(),stop(),constructor(),init(),doget(),dopost(),destroy().
Servlet methods
1)doGet() method:
The doGet() method is the method inside a servlet that gets
Advertisements
java/j2ee source codejava/j2ee source code
java/j2ee source code for online food purchasing service with my sql database
java/j2ee - Java Interview Questionsjava/j2ee 1.how to write list of values in jsp
2.how to write list in jsp
3,in struts how to sort objects
4.how to write instance object in jsp
5. how to stop thread
6.which tag using in struts to write 10 values print
Ajax Learner - AjaxAjax Learner Hi,
This is Ziaul,I am working as
Java/j2ee Developer from last one year.
i have to use Ajax for my current project.pls guide me how should i proceed to learn Ajax.
Thanks and Regards
Ziaul Hauqe Siddique
Ajax Learner - AjaxAjax Learner Hi,
This is Ziaul,I am working as
Java/j2ee Developer from last one year.
i have to use Ajax for my current project.pls guide me how should i proceed to learn Ajax.
Thanks and Regards
Ziaul Hauqe Siddique
GIS Programmer and 2-years experience in
Java/J2EE based Internet application development.
Spring Security FrameworkSpring Security Framework
Spring Security is a extremely effective
Java/J2ee framework which offers us
authentication, authorization, access-control and other security
characteristics. This project was initiated by Ben Alex