But in the tiles-documentation web app also, the controller is commented out. I tried uncommenting and still get the same error.
Thanks -- pady [EMAIL PROTECTED] -----Original Message----- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 3:28 PM To: Struts Users Mailing List Subject: RE: using tiles... Pady, I didn't see you set your controller line set to use a Tiles RequestProcessor such as: <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/> I had a problem a little like that over the weekend with my tiles. I put that in but forgot my TilesPlugIn. Regards, David -----Original Message----- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 3:11 PM To: [EMAIL PROTECTED] Subject: using tiles... Since I couldn't find a separate mailing list for Tiles, I am posting here. I started using Tiles recently ( bundled with Struts 1.1 ). I am having problem using "definitions". I get this error: javax.servlet.ServletException: Can't get definitions factory from context. at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:530) at org.apache.jsp.testTemplate_jsp._jspService(testTemplate_jsp.java:59) ... I am following exactly as the tiles-examples are defined. M struts-config file is: .... <plug-in className="org.apache.struts.tiles.TilesPlugin" > <set-property property="definitions-config" value="/WEB-INF/tiles-test-defs.xml" /> <set-property property="moduleAware" value="true" /> </plug-in> .... The tiles-test-defs.xml file is: .... <definition name="mainPage" path="classicLayout.jsp"> <tiles:put name="title" value="Hello Tiles"/> <tiles:put name="header" value="/jsp/header.jsp"/> <tiles:put name="footer" value="/jsp/footer.jsp"/> <tiles:put name="body" value="/jsp/main.jsp"/> </definition> .... And my sample jsp file: <tiles:insert definition="mainPage" flush="true" /> Any help is appreciated. Thanks -- pady [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]