What is servlet?

Answer Posted / mirza

Servlet is a server side program which is written in java
langauge and it contains the bussiness logic funtion to
submit the appropriate response back to client.
We use servlet to develop the web component
which is deveploy by using web server like Apache.
It takes the HTTP request from client and it
generates the HTTP response back to client.
As per MVC design pattern it works like a
controller.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are its drawbacks of cgi?

576


What is string tokenizer?

633


The code in a finally clause will never fail to execute, right?

611


Is tomcat a servlet container?

583


Explain the concept of ssi ?

601






What is servlet? Explain

584


What are the different mode that servlets can be used?

559


Define declaration.

624


How to get the IP address of client in servlet?

638


What do you mean by a filter and how does it work?

547


What are the different ways we can maintain state between requests?

582


Explain the war file?

612


What if you need to span your transaction across multiple servlet invocations?

588


How to get the current httpsession object?

662


What do you mean by httpservlet and how it is different from the genericservlet?

546