The <security-role-ref> element is used to specify the declaration of a security role reference in the web application’s code. The…
May 26th, 2010
Which of the following statements are correct about the code given below?
No Comments, Uncategorized, by Daisy Williams.<security-constraint> <web-resource-collection> <web-resource-name>AccountServlet</web-resource-name> <description>This is an Account Servlet.</description> <http-method>GET</http-method> <http-method>POST</http-method> <http-method>PUT</http-method> <http-method>DELETE</http-method> <url-pattern>acme/AccountServlet</url-pattern>…
May 6th, 2010
What are the valid parameters and return types of the Web service methods?
No Comments, SCBCD, by Daisy Williams.The valid parameters and return types for the Web service methods are as follows: All primitive types All wrapper types…
April 23rd, 2010
What is the doTrace() method?
No Comments, SCWCD, by Daisy Williams.The doTrace() method allows a servlet to handle a TRACE request. It is called by the server via the service…