Which of the following statements are correct about the code given below?
AccountServlet
This is an Account Servlet.
GET
POST
PUT
DELETE
acme/AccountServlet
Each correct answer represents a complete solution. Choose all that apply.
The delete http method is not allowed in the http-method element declaration.
If no http-method is specified in the web-resource-collection element, the security restriction will be applied to all http methods.
There should be at-least one url-pattern element otherwise, the will be ignored.
It is necessary that the web-resource-name must be specified in the web-resource-collection element.
It is not possible to define more than two http method in the web-resource-collection element.
It is necessary that the web-resource-name must be specified in the url of the url-pattern element.
Submit