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 the reason why we need a jdbcrowset like the wrapper around resultset?
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
What is the use of the statement in jdbc?
What is JDBC PreparedStatement?
Is jdbc connection secure?
How to check jdbc connection in linux?
What does jdbc do?
Name different methods for getting streams.
How do I receive a ResultSet from a stored procedure?
Why jdbc is used in java?
Is oracle client required for jdbc connection?
What is JDBC Statement?
How many types of statements are there in jdbc?
What are the main steps in java to make JDBC connectivity?
What is a merge field?