Difference between Generic Servlet and HTTP Servlet?

Answer Posted / sagar kulkarni.

Http servlet is the sub class of Generic sevlet so all the
life cycle methods available in the generic servlets are
available to the Http servlets. Http servlets provides
methods that supports cookies,sessions etc.while generic
servlets are not. Http servlet request,Http servlet
responce methods extends generic servlet request,generic
servlet responce.

Is This Answer Correct ?    31 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are four types of JDBC driver?

568


Is jdbc faster than odbc?

504


Does jdbc use ssl?

498


How many types of jdbc drivers are available?

492


Why are we using blob datatypes in jdbc?

553






What are the differences between statement and preparedstatement interface?

516


Prepared statements are faster. Why?

606


What is new in JDBC 2.0?

572


Why is odbc needed?

494


Is jdbc connection secure?

508


What types of DataSource objects are specified in the Optional Package?

505


Explain some new features available in jdbc 4.0?

607


Is there another way of dealing with the result set that could execute faster?

518


What does executeupdate return in java?

497


What is jdbc driver manager?

497