Answer Posted / suresh kumar pathak
doGet():Ask to get the thinng to get in requested URL
doPost():Same as GET method with extra information send in
body part.
doHead():Only header partof response without any body section.
dodoTrace():Ask for loopback of request message.(For testing)
doPut():say to put the enclosed info in requested URL.
doelete():sat to delete the info in requested URL.
doOption():ask for list of option in requested URL needed.
doConnect():say to connect for the purpose of tunnelling(to
pass servlet through firewall).Not a method of httpservlet.
Is This Answer Correct ? | 33 Yes | 13 No |
Post New Answer View All Answers
Why is a constructor needed in a servlet even if we use the init method?
How can the referrer and the target urls be used in servlet?
What are the jobs performed by servlets?
Why are http servlets used in programming?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What do you mean by default initialization in java servlet?
Is tomcat a servlet container?
What are the advantages of cookies?
What are the differences between servlet context vs servlet config?
How do you find out what client machine is making a request to your servlet
What is a web container and what is its responsibility?
What is the servlet?
How do you communicate in between Applets and Servlets?
Difference between get and post in java servlets?
What is servlet and its life cycle?