What are the important items in javax.servlets. Explain them

What are the important items in javax.servlets. Explain them.

Servlets :

- Defines all the methods that a servlets implements.

- Servlets receives and responds to a request from the web clients.

- This interface has the methods that are to initialize a servlets, service a request and removal of a servlets from the server.

ServletConfig :

- Servlets configuration is used to send information to a servlets at the time of initializing the servlets.

- This process is handled by the web container.

ServletRequest :

- It creates an object that provides the client request to the servlet.

- The servlets container creates the object and sends it to service() method.

ServletResponse :

- It creates an object that provides the response to the client by the servlets.

- The servlets container creates the object and sends it to the service() method.
Describe the main purpose of servlets
A java enabled server’s functionality can be extended by a servlets...
43 Struts Interview Questions and Answers - Freshers, Experienced
Struts interview questions and answers for freshers and experienced - In this series, we have covered all about Java Struts and answered the questions that might be asked during an interview.
What is Jakarta Struts Framework?
Jakarta Struts Framework - An open source framework for creating web applications. Web applications, some deliver static content and some create dynamic response.....
Post your comment