struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavan reddy <>
Subject Re: Issues with migration from struts 1.1. to 1.2.9
Date Sat, 30 Jun 2007 14:40:18 GMT
Thanks Wendy 
But I followed the struts upgrade steps

The  problem here is with tiles plugin this my code in struts-config.xml
<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" /> //even tried making
this attribute false

and in tiles-def.xml the doc type is

<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration//EN"
"">  // tried just giving "tiles-config_1_1.dtd"
it throws parser exception or tries to serach for .dtd in some other location and says not

org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'.
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(
at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(
at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(
at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(
at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(
at org.apache.struts.tiles.TilesPlugin.init(
at org.apache.struts.action.ActionServlet.initModulePlugIns(
at org.apache.struts.action.ActionServlet.init(
at javax.servlet.GenericServlet.init(


----- Original Message ----
From: Wendy Smoak <>
To: Struts Users Mailing List <>
Sent: Saturday, 30 June, 2007 9:57:53 AM
Subject: Re: Issues with migration from struts 1.1. to 1.2.9

On 6/30/07, pavan reddy <> wrote:

> I have issues with moving from different strtuts version with tiles plugin
> in tiles-def.xml the doc type seems to raise an xml parse error
> i tried moving the tiles dtd file to web-inf and pointing it to it but
> didnt help much,
> any clues on it thanks in advance

Have you reviewed the community maintained upgrade notes?


To unsubscribe, e-mail:
For additional commands, e-mail:

Yahoo! India Answers: Share what you know. Learn something new
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message