What are the methods in HttpServlet?

Answer Posted / prajval

The Methods in Http Servlet are:
void doGet(),
void doPost(),
void doDelete(),
void doHead(),
void doOptions(),
void doTrace(),
void doPut(),
long getLastModified(),
void service().

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method is called when reference variable is passed in system.net?

1838


What is the difference between encodeRedirectUrl and encodeURL?

607


What must be implemented by all servlets?

579


What is cookie in servlet?

599


How will you pass values from HTML page to the servlet?

558






Explain the concept of ssi ?

595


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

575


Which application server is best for java?

560


Write a program to show the functionality of doget and dopost method?

659


Is servlet a framework?

545


Can you explain in detail 'javax.servlet' package?

551


How the servlet is loaded?

602


What is the use of servletconfig interface?

560


What are the types of Session Tracking ?

648


Is servlet a server side scripting language?

555