Answer Posted / ashok kumar biswal
Mates,there are several methods present in HttpServlet
1.void doGet(),
2.void doPost(),
3.void doDelete(),
4.void doHead(),
5.void doOptions(),
6.void doTrace(),
7.void doPut(),
8.long getLastModified(),
9.public service(ServletRequest request,ServletResponse)
protected service method calls to the public service method.
10.protected service(HttpServletRequest request,HttpServletResponse)
protected service method calls to the doGet or doPost method according to the users requirement.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is URL Encoding?
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 are the different ways we can maintain state between requests?
What is the use of httpservletresponsewrapper?
List out the difference between ServletConfig and ServletContext?
What is servlet container?
What’s the use of the servlet wrapper classes??
What are the jobs performed by servlets?
What is the importance of init() method in Servlet ?
What is the use of welcome-file-list?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
How would you create deadlock on your servlet?
What is called servlet mapping?
Is servlet a server side scripting language?
Can we override servlet service method?