struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: wierd stack trace regarding parsing of struts.xml
Date Sat, 01 Dec 2012 09:33:01 GMT
2012/12/1 Davis, Chad <>:
>> 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"?>
>         "-//OpenSymphony Group//XWork 1.1.1//EN"
>         "">
> <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.

When XWork was moved to ASF, we changed all the DOCTYPEs, the correct one is:

		"-//Apache Struts//XWork 1.0//EN"

You can find all the DTDs here [1], basically all these DTDs are part
of distribution, so Struts 2 can read them from jars and don't have to
look over the internet. In your case, the DOCTYPE is not available
locally and Struts 2 is trying to fetch it from internet.


+ 48 606 323 122

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

View raw message