What is servlet?

Answer Posted / shakir khan`

Servlets are java technology answer to Common Gateway
Interface(CGI).They are programs that run on a webserver
and bulid webpages.

Servlet is a java object that receives a request as
input,parses its data,performs some logic and issues
response back to the client.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of inter-servlet communication?

597


Whether we can get deadlock situation in servlets?

578


How can the referrer and the target urls be used in servlet?

538


Why HttpServlet class is declared abstract?

652


What is servlet container. how it works?

617






Explain web container.

573


Is servlet thread safe?

527


Describe the phases of servlet lifecycle?

634


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

588


Explain Action Servlet?

627


How servlets are deployed in java?

548


What are the benefits of using servlet over cgi?

583


Who is responsible for writing a constructor?

779


What must be implemented by all servlets?

579


How to commuincate between an applet and a servlet?

592