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
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What are important features of Servlet 3?
What is war file?
Why the concept of single thread model interface is used?
What is the disadvantage of cookies?
What are the types of servlets? Explain
Define servlet mapping?
What is the difference between get and post methods?
What must be implemented by all servlets?
What do you mean by filter in servlet?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What exactly are the functions of servlet?
Differentiate between the web server and application server?
What do you mean by request dispatcher in servlet?