Good morning! I was solving a mock, when I faced the following question:
A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBean attributes must be used to access this attribute in the JSP page? (Choose two) A. id B. type C. name D. class E. scope F. create
The answer is B! It is incorrect, firstly, because the question says "choose two"! Moreover, I believe the correct answer should be A and D. The id and the class is enough to access the bean ONLY in that page. What do you think? Thanks!