struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davis, Chad" <Chad.Da...@emc.com>
Subject RE: wierd stack trace regarding parsing of struts.xml
Date Sat, 01 Dec 2012 00:10:45 GMT

> IMO it just needs to match the DTD in the jar; as I said, I've generally seen
> this happen when there's a mis-match.
> 
> In regards to your SO question, it would depend completely on the
> implementation and its configuration.
> 

Here's the one that doesn't work:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xwork PUBLIC 
	"-//OpenSymphony Group//XWork 1.1.1//EN"
	"http://www.opensymphony.com/xwork/xwork-1.1.1.dtd">

<xwork>


But what do you think needs to match the jar file?  I mean, struts2-core.jar doesn't contain
xwork-1.1.1.dtd, but the xwork jar does . . . so why wouldn't it find it if it was just taking
the xwork-1.1.1.dtd and checking the classpath.



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


Mime
View raw message