What is Generic Servlet and how it is different from Http
Servlet?
Answer Posted / niranjanravi
The diff is that inGeneracicServlet we had to implement the
service()method the GenericServlets service() method is
declared as abstract.But the Generic Servlet is not
implementing keeping the HttpSErvers in mind. Methods we
have in this class are
init()
log()
service()
While implementing the HTTP Servlet the service() method is
already implemented .service()method of HTTP sevlet is
declared as protected.the HTTPServlet is implementing
keeping the HttpSErvers in mind. Methods we have in this
class are
doGet(),doDelete(),doPost()
Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
How do you invoke a servelt?
How do you create a cookie using servlet?
What are the drawbacks of cgi?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
What is the process to implement doget and dopost methods?
What is servlet and its life cycle?
Can you explain in detail 'javax.servlet' package?
Why do we need a constructor in a servlet if we use the init method?
Can we refresh servlet in client and server side automatically?
Why the container loads server at the application startup and how?
What’s the difference between genericservlet and httpservlet?
What are the differences between servlet context vs servlet config?
How to generate the server side programming and the advantages of it over the other languages?
What is servlet and its types?
What are the different mode that servlets can be used?