Which of the following techniques would correctly put a bean into application scope? (You can assume that any necessary page directives are present and correct elsewhere in the JSP page.) (Choose one.)
a. <jsp:useBean id="app1" class="webcert.ch07.examp0701.AddressBean" scope="application" />
b. <% AddressBean ab5 = new AddressBean();
pageContext.setAttribute("app5", ab5); %>
c. <jsp:useBean name="app6" class="webcert.ch07.examp0701.AddressBean" scope="application" />
Answer: A
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.