What is the jsp:getProperty action?
JSP setProperty action
The <jsp:getProperty> action is used to access the properties of a bean that was set using the <jsp:getProperty> action. The container converts the property to a String as follows:
- If it is an object, it uses the toString() method to convert it to a String.
- If it is a primitive, it converts it directly to a String using the valueOf() method of the corresponding Wrapper class.
- The syntax of the <jsp:getProperty> method is:
<jsp:getProperty name="Name" property="Property" />
JSP setProperty action
EmoticonEmoticon