Hi James, thanks for the answer. Unfortunatley it somehow wound up in my spam box...
This doesn't really solve the problem. I don't care about having to put the c:\ in the entity - what I care about is having to put /Inetpub_Tomcat/rsg_java/struts/pub in there. The application I am working on will have multiple instantations, and the installation path will change with each one. What I am looking for is a solution that allows me to put in just the file name (as you can do in struts-config files) or a path relative to WEB-INF. Thanks, Matt Bathje ----- Original Message ----- > Date: Mon, 26 Jan 2004 13:17:25 -0500 > From: James Mitchell <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: entity includes in tiles-defs.xml (again) > To: Struts Users Mailing List <[EMAIL PROTECTED]> > > Try changing this: > > Here is what DOES work in tiles-defs: > > <!ENTITY kurt-tiledefs SYSTEM > > "C:\Inetpub_Tomcat\rsg_java\struts\pub\WEB-INF\kurt-admin-tilesdefs.xml"> > > > > to this > <!ENTITY kurt-tiledefs SYSTEM > "/Inetpub_Tomcat/rsg_java/struts/pub/WEB-INF/kurt-admin-tilesdefs.xml"> > > > ....normally, "/" will be interpreted as "C:\" or to be more > specific....your system's %SystemDrive% > > > > -- > James Mitchell > Software Engineer / Struts Evangelist > http://www.struts-atlanta.org > 678.910.8017 (cell) > AIM: jmitchtx > MSN: [EMAIL PROTECTED] > > > > ----- Original Message ----- > From: "Matt Bathje" <[EMAIL PROTECTED]> > To: "strutslist" <[EMAIL PROTECTED]> > Sent: Monday, January 26, 2004 12:04 PM > Subject: entity includes in tiles-defs.xml (again) > > > > Hi, I asked this question a month or 2 ago, and never got a response, so > > thought I'd try again - > > > > Using XML entities, I was able to get my struts-config file broken up into > > multiple files. > > > > I am attempting the same thing on my tile-defs.xml file, and when I do it, > I > > get the following error: > > > > 12/16/03 10:56:55 AMERROR org.apache.struts.tiles.TilesPlugin init - Can't > > create Tiles definition factory for module ''. > > ServletInitError: javax.servlet.ServletException: IO Error while parsing > > file '/WEB-INF/tiles-defs-admin.xml'. > > C:\WINDOWS\system32\kurt-admin-tilesdefs.xml (The system cannot find the > > file specified) > > > > > > So, just to be stupid, I put the full path to the file in the XML enitity > > declaration, and that makes it work - but I don't want to have to hard > code > > that path in. > > > > > > Here is what works in struts-config: > > <!ENTITY kurt-actionmappings SYSTEM "kurt-admin-actionmappings.xml"> > > > > Here is what DOESN'T work in tiles-defs: > > <!ENTITY kurt-tiledefs SYSTEM "kurt-admin-tilesdefs.xml"> > > > > Here is what DOES work in tiles-defs: > > <!ENTITY kurt-tiledefs SYSTEM > > "C:\Inetpub_Tomcat\rsg_java\struts\pub\WEB-INF\kurt-admin-tilesdefs.xml"> > > > > I have also tried doing ./kurt-admin-tilesdefs.xml and > > /kurt-admin-tilesdefs.xml but they just give me the same error. > > > > Any ideas about what is going on or how to fix it? > > > > > > Thanks, > > Matt Bathje > > > > > > --------------------------------------------------------------------- > > 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] > > > ----- End forwarded message ----- > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

