what is the difference between?when we write the code in
following manner?
class One extends httpservlet
{
}
and
class One extends genericservlet
{
}
Answer Posted / ravikiran.chd
the first one will restrict you to make use of http protocol
with the second one we can use other than http protocols as well
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the process to implement doget and dopost methods?
What is dispatcher servlet?
Can we override destroy method in servlet?
What are life cycle methods of a servlet?
Why is httpservlet declared abstract?
Differentiate between get and post?
How do you communicate in between Applets and Servlets?
Explain the role of dispatcherservlet and contextloaderlistener.
What are different methods of session management in servlets?
What's the difference between authentication and authorization?
What is a cookie What is the difference between session and cookie
What are the life cycle methods of the servlet?
Does servlet have main method?
What are all the advantages of servlet over cgi?
Whether thread can be used in servlets?