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 generate the server side programming and the advantages of it over the other languages?

776


What's the difference between authentication and authorization?

791


What are the functions of an intercepting filter?

713


What is the workflow of a servlet?

897


Can we override servlet service method?

819


Explain the steps involved in placing a servlet within a package?

783


What is http servlet? Explain with the help of an example.

798


Can we override destroy method in servlet?

716


What is the need of servlet filters?

736


How do I support both get and post from the same servlet?

942


How printwriter is different from servletoutputstream?

771


How to get the path of servlet in the server?

728


How can you use a servlet to generate a plain text instead of html?

861


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

845


Explain the differences between jsp and servlet.

730