What are the difference between HttpServlet and
GenericServlets?
Answer Posted / himanshu verma
Generic Servlet is the general class to implement servlets.
it can use any protocol like MIME, SMTP etc. while HTTP
Servlet is specially designed for HTTP protocol.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are all the advantages of servlet over cgi?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Explain web container.
How can we include static files in the jsp page?
What is session?
Why servlet is mostly used?
What is meant by session? Tell me something about httpsession class?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
Write a program to show the functionality of doget and dopost method?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Which method of the httpservletrequest object is used?
Tell us something about servletcontext interface.
What is http servlet?
How to notify an object in session when session is invalidated or timed-out?
Why jsp is better than servlet?