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 and jdbc drivers?
Is jdbc object oriented?
What are the different types of statements? How we can you use preparedstatement.
What is com mysql jdbc driver?
Which interface handles transaction management in jdbc?
Prepared statements are faster. Why?
What are the benefits of PreparedStatement over Statement?
Why we use while rs next ())?
password, is stored in as plain text. What can I do to protect my passwords?
What is jdbc odbc driver?
What is jdbc architecture in java?
What is odbc. how is it related to sql cli?
How do I know which jdbc driver to use?
What should be done for auto generating primary key id in a table ?
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?