What is http servlet in java?



What is http servlet in java?..

Answer / Prateek Singh

HTTP Servlet (Hypertext Transfer Protocol Servlet) is a Java class that extends the GenericServlet class and allows developers to create web applications based on the HTTP protocol. Servlets handle requests and responses, manage state information, and interact with databases or other resources.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What is called Session Tracking?

1 Answers  


difference between request.getSession(false) or request.getSession() and request.getSession(true)

2 Answers  


Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html

1 Answers  


What are all the advantages of servlet over cgi?

1 Answers  


What is the difference between CGI and Servlet?

1 Answers  


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1 Answers  


what are the disadvantages of cookies?

8 Answers  


what is meant by Transaction Isolation Levels?

2 Answers   IBM,


can u give some realtime example in ploymorphism? and inheritance?

11 Answers   SolutionNET,


How two servlets communicate with each other?

2 Answers  


Why do we have servlet wrapper classes?

1 Answers  


What are the security issues in Servlets?

2 Answers  


Categories