well all i can say is just check you have following lines of code in web and
struts-config xml files. These are my configurations
IN web.xml file
<taglib>
<taglib-uri>/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
</taglib>
IN struts-config.xml FILE
<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="0" />
<set-property property="definitions-parser-details" value="0" />
<set-property property="definitions-parser-validate" value="true" />
</plug-in>
Also,
try to open your tiles-defs.xml file in your browser to check if it showing
any error??
Raman Garg
----- Original Message -----
From: "Morten Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 3:34 PM
Subject: tiles - setup
> I'm trying to use tiles with my existing struts application, but I can't
> get the definitions to work.
>
> I've tryed using the following procedure:
>
> Add the tiles plugin to the struts-config.xml file by writing the
following
> just after the action mappings:
>
> <plug-in className="org.apache.struts.tiles.TilesPlugin" >
> <set-property property="definitions-config"
> value="/WEB-INF/tileDefinitions.xml" />
> <set-property property="definitions-debug" value="2" />
> <set-property property="definitions-parser-details" value="2" />
> <set-property property="definitions-parser-validate" value="true" />
> </plug-in>
>
> This causes the following errors to occur in tomcat:
>
> 1) Parse Fatal Error ... "The processing instuction target matching
> "[xX][mM][lL]" is not allowed.
> 2) SEVERE: Can't create Tiles definition factory for module ''.
>
> I think the latter is an effect from the first... But all I did was to
> copy-paste!...
>
>
>
>
>
>
>
>
> Morten Andersen
> Master of applied mathematics and computer science
> Amanuensis
> Interest areas:
> -e-learning
> -software engineering
> -applied math
>
> The Maersk Institute of Production technology at Southern Danish
University
> www.mip.sdu.dk
> Campusvej 55
> DK-5230 Odense M
> Denmark
> +45 6550-3654
> +45 6171-1103
> Jabber id: [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]