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 uses of servlet and what is servlet chaining?
When servlet is loaded?
What are the key methods that are involved in processing of http servlets?
What is servlet lazy loading?
Can we refresh servlet in client and server side automatically?
Explain the jar and war files in servlet?
What are the phases of a servlet life cycle?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
Explain the servlet filter.
When should you prefer to use doget() over dopost()?
What are the types of an http request?
Why are http servlets used in programming?
What is the difference between a generic servlet and http servlet?
Why do we have servlet wrapper classes?
How native code can be used in a servlet?