In HTTP servlets, the _________ method is used to send error responses back to the client.
- doError()
- errorResponse()
- handleError()
- sendError()
The sendError() method in HTTP servlets is used to send error responses back to the client, providing information about the encountered error.
Loading...
Related Quiz
- To maintain a separation of concerns, servlets in MVC should not directly manipulate the __________.
- The sequence of filters applied to a request is determined by the order of __________ in the web.xml file.
- What is the primary purpose of encoding user input in web applications?
- How can a servlet handle multipart/form-data requests for file uploading?
- How do filters interact with different types of servlets and JSP pages?