This website includes Education Information like a programming language, job interview question, general knowledge.mathematics

Education log

PageNavi Results No.

Ads

Sunday, February 19, 2023

what is servlet in java programming example

 what is servlet in java programming example


What is Java servlet programming?

A servlet is a Java programming language class that is used to extend the capabilities of servers that host applications accessed by means of a request-response programming model. Although servlets can respond to any type of request, they are commonly used to extend the applications hosted by web servers.



What are types of servlet in Java?

There are two main servlet types, generic and HTTP:

Generic servlets. Extend javax. servlet. GenericServlet. Are protocol independent. ...

HTTP servlets. Extend javax. servlet. HttpServlet. Have built-in HTTP protocol support and are more useful in a Sun Java System Web Server environment.


Fetures of servlet 


1.Servlet is a technology which is used to create a web application.

2.Servlet is an API that provides many interfaces and classes including documentation.

3.Servlet is an interface that must be implemented for creating any Servlet.

4.Servlet is a class that extends the capabilities of the servers and responds to the incoming requests. It can respond to any requests.

5.Servlet is a web component that is deployed on the server to create a dynamic web page.




No comments:

Post a Comment