You need to create a JavaBean object that is used only within the current ISP page. It must NOT be accessible to any other page including those that this page might import. Which JSP standard action < .in accomplish this goal?
A.
<jsp:useBean id = `pageBean’ type = `com.example.MyBean’ />
B.
<jsp:useBean id = `pageBean’ class = `com.example.MyBean’ />
C.
<jsp:makeBean id = `pageBean’ type = `com.example.MyBean’ />
D.
<jsp:makeBean id = `pageBean’ class = `com.example.MyBean’ />
E.
<jsp:useBean id = `pageBean’ class = `com.example.MyBean’ />
F.
<jsp:makeBean id = `pageBean’ class = `com.example.MyBean’ />
B
B and E are the same, and also, if B works, A should work too… Very bad question
B and E right,
but A is wrong, cause “type” does not create new bean..it only return already exist bean