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

Explain suspend() method under thread class>

644


Which is best framework in java?

495


Where is java installed?

470


What is the content reside in Use case Document?

1629


What is jar file in java?

520






What are messages in java?

466


What is the difference between ec2 and lambda?

478


What is flatmap in rxjs?

480


What is the use of entity class in java?

456


What are the types of cookies in java?

493


How do you create a jar file?

474


How do I install jdk?

455


What is stateful in java?

498


Explain working of java virtual machine (jvm)?

507


What are tlds in java?

481