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
What are the functions of the servlet container?
Why filter is used in servlet?
What are the benefits of using servlet over cgi?
What is java servlet session?
What is the use of welcome-file-list?
What is ServletContext object?
What are the jobs performed by servlets?
How can we refresh automatically when new data has entered the database?
What’s the difference between sendredirect and forward methods
Why don't we write a constructor in a servlet?
Does servlet have main method?
Can we override servlet service method?
Why servlet is mostly used?
How can we achieve transport layer security for our web application?
How can you push data from an Applet to a Servlet?