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

Can I use JDBC to execute non-standard features that my DBMS provides?

751


What does executeupdate return in jdbc?

706


Explain the main method?

774


Result set’s index starts with 0 or 1?

749


Compare jdbc and odbc and how is jdbc required in this context.

701


Is jdbc a protocol?

691


What is an escape syntax?

720


What does jdbc stand for?

674


Explain about Join?

792


Is java a database?

701


What is execute in java?

691


What is a jdbc url?

635


What is statement and preparedstatement in java?

653


What is the JDBC syntax for using a literal or variable in a standard Statement?

765


What does setautocommit do?

732