Explain the methods in Generic and HTTP Servlets?
Answers were Sorted based on User's Feedback
Answer / guest
Generic servlets has service() method to handle requests
HttpServlet has doGet(),doPost(),doHead() mehtods
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / chaitu
All the methods in Generic servlets are abstract methods.
Even though HTTP Servlet is an abstract there are no
abstract methods
| Is This Answer Correct ? | 2 Yes | 0 No |
How an Image can be loaded in a Servlet ?
The code in a finally clause will never fail to execute, right?
What is the role of the webserver?
What’s the difference between forward() and sendredirect() methods?
Which method of the httpservletrequest object is used?
What is the difference between 2 types of servlets?
What do you mean by cgi in servlet?
How to create war file?
Can we fetch the attributes related to a servlet on a different servlet?
Whats the advantages using servlets over using CGI?
Explain the lifecycle of a servlet?
How servlet is created?