Which JSP standard action can accomplish this goal?

You need to create a JavaBean object that is used only within the current JSP page. It must NOT
be accessible to any other page including those that this page might import. Which JSP standard
action can accomplish this goal?

You need to create a JavaBean object that is used only within the current JSP page. It must NOT
be accessible to any other page including those that this page might import. Which JSP standard
action can 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 name=’pageBean’ class=’com.example.MyBean’ />

F.
<jsp:makeBean name=’pageBean’ class=’com.example.MyBean’ />

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *