Java/J2EE

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/J2ee
Java/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/J2EE
Java/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 code
java/j2ee source code  java/j2ee source code for online food purchasing service with my sql database
java/j2ee - JSP-Servlet
java/j2ee  Develop a web application using MVC design pattern,also use log4j for debugging
java/j2ee - Java Interview Questions
java/j2ee  1.how to edit and see , how many requests received in jsp   Hi Friend, Please clarify it. Thanks
java/j2ee - Java Interview Questions
java/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
Java - Java Interview Questions
Java  What are the latest trends in java/j2ee
Appointment management from calendar
be completely in java/j2ee. -Shruti
jsp - Date Calendar
. JAVA/J2EE and .NET can be comparable. instead u can compare java's JSP
Java Outsourcing,Java Outsourcing Services,Java Software Development Company,Java Outsourcing Services India
Java/J2EE outsourcing services in India Java is a very strong... development services in Java/J2EE in India and abroad. Here is a list of some of them: Development of Java/J2EE software for web-based Project
Ajax Learner - Ajax
Ajax 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 - Ajax
Ajax 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. 
How to handle Transaction IN and OUT in Inventory using java
this in Java/J2EE. Please can anybody help me to do this or give me some skeleton
Spring Security Framework
Spring 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
Open Source Web Frameworks in Java
is a layered Java/J2EE application framework, based on code published in Expert One
how to create text file from jsp and provide downlode option
how to create text file from jsp and provide downlode option  HI Deepak , thanks for your post u really doing great work for people who is new in java/j2ee tech. my question is who do i make a jsp output in the form of text
JavaBeansTutorials
series.    The Advanced Java/J2EE Tutorial

Ads