I'm having problems with this question:
Given a JSP page with the line:
<jsp:useBean id="cust" type="test.beans.CustomerBean" scope="session" />
Which two occur?
the preparation exam gives these two valid answers:
A CustomerBean instance is created if the attribute name cust is not found.
The session is searched for a CustomerBean stored as the attribute name cust.
As far as I know, A cannot be true because when not using class attribute in useBean tag, if the beans is not preinstantiated, the JSP NEVER tries to instantiate one. Am I missing some thing or this is definitively wrong?