Given the annotation for MyServlet:@WebServlet{"/abc")@ServletSecurity (value=@HttpConstraint)public class Myservlet extends Httpservlet {Which two are true? (Choose two)
Which of the following annotations relate to security in a servlet?(i) @WebSecurity(ii) @RolesAllowed(iii) @WebConstraint(iv) @HttpConstraint(v) @Servletsecurity
Which element of a web application deployment descriptor <web-resource-collection> element is used to specify a HTTP method to which the corresponding<security-constraint> will not apply?
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor? (Choose two)
A cookie may be set to be an HttpOnly cookie. Setting a cookie to be HttpOnly results in (Choose two)
A popular Ajax framework and its companion widget library contain several hundreds of files of different types (.js, .ess, .html). Your company has mandated that all its web applications use only specific versions of this framework approved by IT and repackaged internally as jar files. Furthermore, web applications should only include the entire jar, without subsetting or modification.Where should the framework's files be placed inside a jar file to enable this kind of reuse?