Difference between Generic Servlet and HTTP Servlet?
Answer Posted / ankit sinhal
GenericServlet is might not used be for the http services and may be used for the FTP services , and it is protocol independant where as HttpServlet is Protocol dependant.In GenericServlets you cannot use Cookies or HttpSession.Session tracking is not possible, redirection is not possible. Http servlets overrides doGet and doPost methods. Generic servlet overides service method. Generic servlet is used for small data transfer whereas HttpServlet is used for huge data transfer.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the utilities of the callablestatement?
How many types of jdbc drivers are available?
How does jdbc driver work?
What is jdbc databasemetadata interface?
What are the different types of lockings in jdbc?
What is phantom read and which isolation level prevents it?
What is the query used to display all tables names in SQL Server (Query analyzer)?
Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?
What is JDBC RowSet? What are different types of RowSet?
Explain jdbc savepoint?
What is transaction processing in jdbc?
What is jdbc drivers in java?
Why resultset is used in java?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?
Is jdbc a middleware?