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


Please Help Members By Posting Answers For Below Questions

What do you mean by web applications?

637


What must be implemented by all servlets?

581


What is the need of session tracking in web application?

591


How can we refresh automatically when new data has entered the database?

626


What is the life-cycle of servlets?

645






Write the code to get the server information in servlet.

583


What is the difference between get and post methods?

606


Why is init() method is used in servlets?

560


What's the servlet interface?

602


What is the workflow of a servlet?

730


Can you send an authentication error from a servlet?

531


Is servlet a server side scripting language?

563


What are the various ways of session supervision in servlets?

529


How to get the server information in a servlet?

693


How can you create a session in servlet?

602