What is servlet?

Answer Posted / sudarsan

Servlet is an Interface.
It is a server side component.
servlet takes the request from the container and process
the request and send the response to the container.
so container manages the servlet life cycle.
servlet is a controller.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the drawbacks of cgi?

570


What do you mean by mime type?

552


What is the difference between Server and Container?

618


What is the inter-servlet communication?

702


What is java servlet session?

528






How the servlet is loaded?

599


What is the use of servlet wrapper classes?

672


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

775


Explain the difference between get and post method in servlet?

605


What is difference between PrintWriter and ServletOutputStream?

770


What is the use of servlet context?

534


Define servlet mapping?

660


Can we override destroy method in servlet?

504


What are the life cycle methods of the servlet?

578


What are the types of servlet?

669