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

What is mime in java?

494


What is a stream in java?

508


What is web xml java?

505


what are the different phases in delivering the project during development and maintenance?

4130


What is a java singleton?

468






Do I need jdk or jre?

467


What is interceptors in java?

478


What does jpa mean?

488


Can you compile java into exe?

522


What is optional in java 8? What is the use of optional?advantages of java 8 optional?

488


Why are lambda functions called lambda?

472


Can I use openjdk for commercial?

498


In which language eclipse is developed?

462


Is eclipse a jdk?

495


What do you understand by casting in java language? What are the types of casting?

434