< Prev
Next >

JSP <jsp:setProperty> action

You can use JSP action element <jsp:setProperty> to set the value of a property/instance variable already defined in a class. In order to set the value of a property defined in the class, we will first have to access the object(bean) of a class using its id already created using <jsp:useBean> action element.

Syntax of <jsp:setProperty>

Please Subscribe

Please subscribe to our social media channels for daily updates.

Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page