What is the result of using a getProperty action tag such as <jsp:getProperty name="employee" property="lastname" /> in a JSP?

What is the result of using a getProperty action tag such as <jsp:getProperty name=”employee”
property=”lastname” /> in a JSP?

What is the result of using a getProperty action tag such as <jsp:getProperty name=”employee”
property=”lastname” /> in a JSP?

A.
The value of the lastname variable in the employee bean is associated with a scripting variable
in the JSP to be used for future processing.

B.
A request parameter named employee is retrieved and placed in a scripting variable called
lastname.

C.
The value of the lastname variable in the employee bean is placed in the output stream.

D.
The value of a parameter named lastname in an HTML form named employee is retrieved from
the request object.



Leave a Reply 0

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