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

How many ways can you update a result set?

559


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

555


How many rowset are available in jdbc?

660


What is jdbc class forname?

489


What are the steps to connect to the database in java?

520






How data can be inserted into long row column of database?

1706


What is the advantage of namedparameterjdbctemplate?

506


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

559


What is serialization and deserialization in java programming?

522


Where can I find info, frameworks and example source for writing a JDBC driver?

508


What is sqlwarning and discuss the procedure of retrieving warnings?

548


Explain the main method?

566


How can we retrieve data from the resultset?

551


What are the advantages of using preparedstatement in java?

547


What is resultsetmetadata?

503