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

Does ms edge support java?

467


What is xml file in java?

480


What is injection in java?

472


Is lambda functional programming?

475


What is the use of flatmap in java 8?

461






What is data persistence in java?

624


What is spliterator in java se 8?

581


What is interceptors in java?

483


What is the difference between a jvm and a jdk?

529


What if the main method is declared as private?

469


Is it better to learn java or python?

457


How do I export a java project?

460


Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.

1365


Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?

465


Explain suspend() method under thread class>

647