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 are the life-cycle methods for a servlet?
What are different ways for authentication of servlet?
What do you mean by httpservlet and how it is different from the genericservlet?
How can you start a jta transaction from a servlet deployed on jboss?
How to rectify errors in java servlet while compilation?
Can you explain in detail 'javax.servlet' package?
What is httpservlet class?
What is the inter-servlet communication?
When Servlet is unloaded?
Why do we need a constructor in a servlet if we use the init method?
Is tomcat a servlet container?
What are sessions in servlets?
What is the life-cycle of servlets?
What is war file?
What are the advantages of Servlet over CGI?