struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavan reddy <pavanredd...@yahoo.co.in>
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
</plug-in>

and in tiles-def.xml the doc type is

<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration//EN"
"http://struts.apache.org/dtds/tiles-config_1_1.dtd">  // 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
found

error
org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'.
struts.apache.org
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:523)
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:446)
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:263)
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:238)
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:188)
at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:102)
at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:136)
at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:165)
at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:222)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)

Thanks
Pavan










----- Original Message ----
From: Wendy Smoak <wsmoak@gmail.com>
To: Struts Users Mailing List <user@struts.apache.org>
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 <pavanreddyat@yahoo.co.in> 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?
http://wiki.apache.org/struts/StrutsUpgrade

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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