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 uses of servlet
How servlet is created?
What is the difference between encodeRedirectUrl and encodeURL?
Why do we use sendredirect() method?
When servlet is loaded?
What is the need of session tracking in web application?
What is pure servlet?
Explain the difference between generic servlet and http servlet?
What is preinitialization of a servlet?
How to make sure a servlet is loaded at the application startup?
What must be implemented by all servlets?
What is the process for chaining servlet?
What is httpservlet class?
Which java application server is the best?
Which event is fired at the time of setting, getting or removing attribute from application scope?