Hi,guys! I am meeting with a problem when I tried to insert a flash to my pages.Iuse Tiles plug-in and it works well. I put a flash in my header.jsp and the flash can display as expected as I typed the very url of this page.But when I put this page in my layout.jsptiles files,nothing displayed. I defined the xml file as following:
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" " http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"> <tiles-definitions> <definition name=".main.layout" path="/tiles/layouts/Layout.jsp"> <put name="title" value="${title}"/> <put name="menutree" value="/tiles/menutree.jsp" /> <put name="header" value="" /> <put name="body" value=""/> <put name="footer" value="/tiles/footer.jsp" /> </definition> <definition name=".index" extends=".main.layout"> <put name="title" value="welcome!!!" type="string" /> <put name="header" value="/tiles/header.jsp" /> </definition> </tiles-definitions>
And I opened welcome.do mapping to ".index" and the pages displayed successfully ,except the flash. Who can help me?And it is strange,yup? Beg your pardon for my poor English. Thanks for reading.