Access Bean Property Using JSTL
This web page has a concise description of how to set and access java bean properties from JSTL.
Briefly, to initialize a bean and set its properties, use the following example:
<jsp:useBean id=’beanId‘ class=’className’>
<c:set target=’${beanId}’ property=’propName’ value=’${someValue}’/>
</jsp:useBean>
To get a bean property value:
<c:out value=’${beanId.propName}’/>