what is servlet and what you get when we use servlets?
Answer Posted / nag sekhar(mca)
Servlet is an object which provides the implementation of
servlet interface directly or indirectly.
For example servlet program can be written by implementing
the servlet interface or by using HttpServlet class like
"public class ServletExample extends HttpServlet". The class
HttpServlet implements the Servlet interface which is
indirect implementation of Servlet.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Explain the steps involved in placing a servlet within a package?
Difference between get and post in java servlets?
What are the different methods of session management in servlets?
What are advantages of servlets over cgi?
What do you mean by session tracking and also explain its techniques?
Explain the difference between a web server and a web container?
What is session?
Which is the methods of generated servlet?
What is ServletConfig object?
How do you load an image in a Servlet?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Explain is servlet mapping?
What is a generic servlet?
what do you understand by url rewriting?
Explain the difference between servletconfig and servletcontext in servlet?