A JSP page need to set the property of a javabean to a value that is calculated with the JSP page. which 3 attributes MUST be used to perform this initialization.
A. id B. val C. name D. property E. param F. value G. attribute
my personal answer is C, D, E.
in the other hand, i have a doubt : if i use param attribute to get the value from a form, then value attribute is not required to used anymore since i use param attribute to retrieve the value already, right?
1. if use param attribute inside <jsp:setProperty>, we cannot add value attribute into it.
2. we can use param and value attribute together inside <jsp:setProperty>.
guys, tell me which one correct....thanks......
Diploma in Computer Studies
Formula 1 app by Maxis (Playbook)
posted 11 years ago
You CANNOT use both param and value in a single <jsp:setProperty ..>