What is servlets.

Answer Posted / kuldeep vishwakarma

Servlet is a small java program that work in server side(web container).It works as a controller in the server side because when any request send(in java code form) from the any web browser to the server side then servlet manipulate this request and give response(in html form)to the web browsers.We always use request and response object that is object of HttpServletRequest and HttpServletResponse respectively.So we can say that servlet always run in server side.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java built on c?

507


What is a controller in java?

478


How do I enable java in firefox?

495


What does jpa mean?

506


Explain suspend() method under thread class>

654






What is an entity in java?

486


Explain the reason for each keyword of public static void main(string args[])?

499


What happens when the parent process of a child process exits before the child ?

552


1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?

1664


What are the Advantages of java se 8 new features?

548


What is the use of flatmap in java 8?

471


What is contextpath in java?

483


How do I open java console?

504


What is entitymanager in jpa?

476


What do I need to install netbeans?

502