Answer Posted / lal ajith kumara
Most commonly used interfaces and classes
javax.servlet.Servlet interface and
javax.servlet.ServletConfig interface
by implementing them we get
javax.servlet.GenericServlet
by extending GenericServlet we get
javax.servlet.http.HttpServlet
most ppl used HttpServlet to create Servlets
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What’s the use of the servlet wrapper classes??
What's the servlet interface?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What is new in ServletRequest interface ? (Servlet 2.4)
Whether thread can be used in servlets?
Can you explain in detail 'javax.servlet' package?
What do you mean by deployment descriptor?
What is URL Encoding?
Which application server is best for java?
What is the difference between the servlets and cgi programs?
How is the get () method different from the post() method?
Who is responsible to create the object of servlet?
Write a command to get actual path of a servlet to the server?
Why don't we write a constructor in a servlet?
Can we fetch the attributes related to a servlet on a different servlet?