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 is the difference between encodeRedirectUrl and encodeURL?
Why doesn’t a servlet include main()?
Does servlet have main method?
What is servlet collaboration?
What is cookies in servlet with example?
What is Request Dispatcher?
What do you mean by cgi?
Why is init() method is used in servlets?
Define the servlet mapping.
How can you create a session in servlet?
What is the GenericServlet class?
why we should override only no-agrs init() method.
Why jsp is better than servlet?
What are the servlet events?
Which HTTP method is non-idempotent?