I am using struts tiles
here is my struts-config:
<plug-in
className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml"/>
<set-property property="definitions-debug" value="2"
/>
<set-property property="definitions-parser-details"
value="2"/>
<set-property property="definitions-parser-validate"
value="true"/>
<set-property property="moduleAware" value="false"/>
</plug-in>
Here is my tiles-defs.xml
<tiles-definitions>
<definition name="common.default"
path="../layout/defaultLayout.jsp" >
<put name="header" value="/common/Top.jsp"/>
<put name="menubar" value="../common/Side.jsp"/>
<put name="footer" value="footer.jsp"/>
</definition>
</tiles-definitions>
Here is the essence in my layout file:
<tiles:insert attribute="header"/>
<tiles:insert attribute="menubar"/>
<tiles:insert attribute="footer"/>
Here is the jsp that uses the tiles
<%@ taglib uri="/WEB-INF/struts-tiles.tld"
prefix="tiles" %>
<tiles:insert definition="common.default">
<tiles:put name="body" value="AssessmentCalc.jsp"/>
</tiles:insert>
However when i go to that jsp, nothing shows up, no
exception is thrown, all files paths specified for the
tiles are correct. What's going on?? please help!!
thanks!
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]