Hi, I had this error that I could not find reference regarding to it. If any one knows what happened, please let me know.
My tiles-defs.xml has the following line, ------------------------------------------------------ <?xml version="1.0"?> <!DOCTYPE struts-config 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="/mainLayout.jsp"> <put name="title" value=""/> <put name="header" value="/jsp/header.jsp"/> <put name="body" value=""/> <put name="footer" value="/jsp/footer.jsp" /> </definition> </tiles-definitions> ---------------------------------------------- I have the following line in my struts-config.xml ---------------------------------------------- <plug-in className="org.apache.struts.tiles.TilesPlugin"> <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/> </plug-in> ----------------------------------------------- When I remove the plug-in in struts-config.xml, it deploys ok, but when I have the above 3 lines right before </struts-config>, I received the following error while deploying the app. ------------------------------------------------------- Jun 30, 2005 11:22:18 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 7 column 20: Document root element "tiles-definitions", must match DOCTYPE root "struts-config". org.xml.sax.SAXParseException: Document root element "tiles-definitions", must match DOCTYPE root "struts-config". at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX ParseException(ErrorHandlerWrapper.java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err orHandlerWrapper.java:172) Thanks for your attention and help in advance. Chungwei --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]