What is the use of Servlets?

Answer Posted / ramareddy

A 'Servlet' is a Java programming language class used to
extend the capabilities of a server. Although servlets can
respond to any types of requests, they are commonly used to
extend the applications hosted by web servers, so they can
be thought of as Java Applets that run on servers instead of
in web browsers.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the actual path of servlet in server?

741


Write a simple servlet program to print the contents of html.

553


What is meant by a web application

544


What must be implemented by all servlets?

579


Define the servlet mapping.

550






What is session tracking?

700


What is a java servlet?

558


Which interface should be implemented by all servlets?

702


What is the advantage of Servlets when compared with other server side technologies?

1861


What is servlet and its use?

632


Whether thread can be used in servlets?

733


What are the annotations used in servlet 3?

580


What are the common methods that are included in the http servlet class?

581


Differentiate between the print writer and servlet output stream?

565


How the typical servlet code look like ?

639