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 is jdbc odbc driver?
Is jdbc a web technology?
What is the role of class.forname while loading drivers?
Why prepared statements are faster?
Explain about column name and getter method?
Is jdbc and orm?
Does jpa use jdbc?
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
What is java soft framework?
Does jdbc use ssl?
How java can be connected to a database?
What are the differences between statement and preparedstatement interface?
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 jdbc odbc connection?
What is the use of dialect?