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
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 ?
What is metadata in jdbc?
What is jdbc odbc driver?
What is the query used to display all tables names in SQL Server (Query analyzer)?
What are clob and blob data types in jdbc?
Which jdbc driver is the fastest driver?
What is odbc jdbc?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
What are the common tasks of JDBC?
How we store procedure in oralce for callable statements in jdbc
Is jdbc faster than odbc?
What does the jdbc resultset interface?
What are the common jdbc exceptions?
What is transaction processing in jdbc?
What are the advantages of using jdbc datasource?