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 do you understand by DDL and DML statements?
How can we retrieve data from the resultset?
Is jdbc faster than hibernate?
What is a jdbc connection string?
How do I load a database driver with JDBC 4.0 / Java 6?
Is jdbc object oriented?
How can you load the drivers?
What are the higher level apis under development on top of jdbc currently?
Why hibernate is better than jdbc?
What is ojvm used for?
What do you mean by batch processing in jdbc?
State the different connection methods used for creating different types of sql.
Can I get a null resultset?
What is statement and preparedstatement in java?
What is jsp and jdbc?