Which method of the HttpServlet class is used to handle HTTP GET requests?
- doGet()
- doPost()
- init()
- service()
The doGet() method of the HttpServlet class is specifically designed to handle HTTP GET requests.
Loading...
Related Quiz
- What is the function of FilterMapping in a web application?
- Which method in a servlet is used by default to handle GET requests?
- A transaction's property ensuring that either all its operations are completed successfully, or none are, is known as _________.
- How does the HttpSessionActivationListener interface help in servlets?
- Which Java interface is typically used for creating custom log messages in a servlet?