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 |
how you will execute the many tables data
What are the different types of resultset?
How to know howmuch data is truncated?
write a query to select name from one table which has id,name and salary from another table which has id, sal where the salary is the second maximum
3 Answers Bosch, HireCraft, Infosys,
What is a statement?
Is jdbc open source?
Are all the required JDBC drivers to establish connectivity to my database part of the JDK?
What do you understand by jdbc datasource?
what is metadata and it's use?
What is resultset?
what is CallableStatement and what is its usage?
Which is better jpa or jdbc?