Originally posted by Chandra Sagi:
Hope this helps.
I would like to make a small correction for the answers give for the qn given below:
A JSP page needs to instantiate a JavaBean to be used by only that page.
Which two jsp:useBean attribute must be used to access this attribute in the JSP
page? (Choose two)
Vinod specified A and C as answers.
A is correct but C is not. "name" is not the attribute of <jsp:usebean> rather it is the attribute of <jsp:get/setproperty>
Notice the quote "JSP page needs to instantiate a JavaBean", which is possible only if u specify the "class" attribute of <jsp:usebean>.
So, A and D are correct.