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
List some life cycle methods of a servlet.
Why jsp is better than servlet?
What are the difference between session and cookies in servlet? Explain
What is Servlets and explain the advantages of Servlet life cycle?
Explain the servlet context.
How many servlet objects are created?
What do you mean by httpservlet and how it is different from the genericservlet?
What are the supporting protocol by HttpServlet ?
What is the life cycle of a servlet?
What is the difference between using getSession(true) and getSession(false) methods?
Explain servlet events?
What is the major difference between context parameter and context attribute?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What are some advantages of storing session state in cookies?
What is servlet and its use?