Hi guys,
I'm having problems with this question:
the preparation exam gives these two valid answers:
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?
Cheers,
Iv�n
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
A CustomerBean instance is created if the attribute name cust is not found.
B
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?
Cheers,
Iv�n