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 database warnings in jdbc and how can we handle database warnings in jdbc?
What are the differences between execute, executequery, and executeupdate?
What is jdbc odbc connection?
How can we store and retrieve images from the database?
What is encrypted connection?
What is jdbc and its advantages?
What are different types of ResultSet?
Under what circumstances, that all four drivers are used?
What is the difference between jdbc and jndi?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
Explain the two tier and three tier architecture of jdbc.
Explain the steps in writing a java program using jdbc?
How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?
What are the common tasks of JDBC?
What is the use of jdbc?