Difference between Generic Servlet and HTTP Servlet?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check jdbc driver version in sql server?

486


What is a jdbctemplate?

527


What is two-phase commit in the database?

525


What are the different types of statements? How we can you use preparedstatement.

517


What is ODBC and JDBC? How do you connect the Database?

539






What is jdbc odbc driver?

580


What is the use of getGeneratedKeys() method in Statement?

533


In which ways is driver class is registered with drive manager?

534


How to move the cursor in scrollable resultset ?

578


What is db client?

499


What is JDBC RowSet? What are different types of RowSet?

555


Describe odbc?

560


Where is jdbc used?

492


How many jdbc driver types are there?

485


Differentiate between type_scroll_insensitive and type_scroll_sensitive.

524