What is the use of Servlets?

Answer Posted / priyanka prataprao pawde.

1.A Servlet does not run in a separate process. This removes
the overhead of creating a new process for each request.

2.It is a server side program that is responsible to capture
and interpret the clients Request and respond to the client
with the requested information.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many objects of a servlet is created?

788


What are session variable in servlets?

564


What is the use of attribute in servlets?

540


What are the phases of servlet life cycle?

605


If a servlet is not properly initialized, what exception may be thrown?

623






Which httpsession object is used to view and manipulate information about a session?

727


How we can call a jsp from the servlet?

530


How do you find out what client machine is making a request to your servlet

529


What’s the difference between genericservlet and httpservlet?

526


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

584


What are the drawbacks of cgi?

569


When servlet is loaded?

589


What is called Scriptlet?

561


What must be implemented by all servlets?

574


Explain the difference between servlet and cgi?

605