David M Sledge wrote the following on 3/22/2006 11:35 AM:
and the object rootBean has the property childBean, and childBean has the
property grandChildBean (with the appropriate getters and setters). Is
there a way I can access grandChildBean via a jsp tag without setting more
attributes?
Assuming they all have getters, sure....
<c:out value="${rootBean.childBean.anotherChild.someProperty}"/>
or even using bean:write ... but I forgot the syntax since I use
JSTL:)... guessing it's also property..
<bean:write property="${rootBean.childBean.anotherChild.someProperty}"/>
--
Rick
http://www.learntechnology.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]