What is the use of Servlets?

Answer Posted / suraj

servlet is an Controller. Servlet get the request from
client side and made a response on server side side and
it's sent to client side with http response object.

Is This Answer Correct ?    23 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use the constructor, instead of init(), to initialize servlet?

587


Why do you use session tracking in httpservlet?

639


What are the important functions of filters?

601


How servlets are deployed in java?

548


What is called a session?

625






Write a hello world program using servlets.

595


How do you communicate in between Applets and Servlets?

598


What is servlet and its advantages?

529


Describe some assignments that are executed by servlet container?

591


How native code can be used in a servlet?

3526


Explain the difference between generic servlet and http servlet?

543


Explain the difference between servlet and cgi?

611


Does servlet have main method?

692


Describe in brief RequestDespatcher?

596


How would you create deadlock on your servlet?

628