Difference between Generic Servlet and HTTP Servlet?

Answer Posted / venkata ramana chimmana

1.Http servlet uses http protocol where as in generic
servlet it does not use the protocol.This servlet we can
uses in application server and web server.This servlet also
supports the anothor protocols like Tcp-ip also.

2. There are two methods in Http protocol i.e doGet() and
doPost().This sevlet take HTTP requst only,and give Only
HTTP responce only.This type of servlets can handle only
web server.

Is This Answer Correct ?    37 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jdbc drivers in java?

683


What are the different types of JDBC drivers?

808


Which database is used with java?

726


What do you understand by DDL and DML statements?

715


What are the types of jdbc drivers that exist?

735


Is jdbc connection secure?

703


What is an encrypted internet connection?

704


How does a custom RowSetReader get called from a CachedRowSet?

830


What do you understand by jdbc datasource?

802


What are the steps required to execute a query in jdbc?

729


How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?

854


What are the different types of classes in the api component?

752


What protocol does jdbc use?

748


Is jdbc a web technology?

700


How to check jdbc connection in java?

712