Difference between Generic Servlet and HTTP Servlet?
Answers were Sorted based on User's Feedback
Answer / kiran
GenericServlet is protocol independent and which doesn't support http get/post requests. where as HttpServlet is Protocol specific.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ashwitha
generic is protocol independent and HTTPservlet is a protocol dependent.
Generic cannot handle cookie and URLRewriting whereas HTTP servlet can.
In generic servlet without having service()cannot deploy the servlet whereas in HTTP servlet without having service() can deploy.
Generic implements from servlet and servletConfig interfaces whereas HTTP extended from generic servlet.
Generic overrides service() whereas HTTP overrides do****().
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramamohan reddy
Generic Servlet has init() method whereas Httpservlet
doesnot have.and Generic Servlet is the super class of the
HttpServlet.
| Is This Answer Correct ? | 46 Yes | 50 No |
What is database deadlock ?
How can we retrieve data from the resultset?
preparedstatement p= new preparedstatement is it possible ?
10 Answers Fidelity, IBM, Infrasys,
commit() and rollback() methods are defined in which interface?
What is meant by connection string?
Why “no suitable driver” error occurs?
What do you understand by jdbc datasource?
What is an advantage of using the jdbc connection pool?
What is sqlwarning and discuss the procedure of retrieving warnings?
How can you load the drivers in jdbc?
Is jdbc an api?
What is statement and resultset in jdbc?