what is the difference between?when we write the code in
following manner?
class One extends httpservlet
{
}
and
class One extends genericservlet
{
}
Answer Posted / geetha
generic servlet is for all type of protocols and
http are specific to http protocol
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can we override servlet service method?
What are the kinds of http requests?
Explain servlet life cycle?
What are the mechanisms used by a servlet container for maintaining session information?
What is the directory structure of a war file?
What is the use of servletconfig interface?
Explain the architechure of a servlet?
List some life cycle methods of a servlet.
Which exception is thrown if the servlet is not initialized properly?
How printwriter is different from servletoutputstream?
How can you run a servlet program?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
What is the difference between context parameter and context attribute?
What is the purpose of requestdispatcher interface?
How is an application exception handling is done using a servlet?