However, we don’t incur any depth of reference penalty in our view layer. All references in the JSP pages return to the simplicity of the original Register action that used the simple, individual JavaBeans properties for data transfer. The following code snippets, from Registration_MD.jsp
<s:textfield name="username" label="Username"/>
<h5>Congratulations! You have created </h5> <h3>The <s:property value="portfolioName" /> Portfolio</h3>
What if there are multiple objects with attributes having same name?
Share this highlighthttp://www.safaribooksonline.com/a/struts-2-in/50285/