Yow ... web-app_2_3.dtd

That was part of J2EE 1.3, back in Sept 2001
<http://en.wikipedia.org/wiki/Java_EE_version_history#J2EE_1.3_.28September_24.2C_2001.29>
.

Ok, this old of a web dtd isn't tested by our own tests it seems.
But we do have that dtd in our jetty-schemas.jar
<https://github.com/eclipse/jetty.toolchain/blob/master/jetty-schemas/src/main/resources/javax/servlet/resources/web-app_2_3.dtd>
Which the jetty-webapp.jar and its org.eclipse.jetty.webapp.WebDescriptor.class
knows about
<https://github.com/eclipse/jetty.project/blob/jetty-9.2.10.v20150310/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebDescriptor.java#L93>
and sets up for internal redirect
<https://github.com/eclipse/jetty.project/blob/jetty-9.2.10.v20150310/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebDescriptor.java#L145-L147>
.

So I gotta ask, how are you using jetty?
If embedded, or maven plugin, or just about anything that isn't the
jetty-distribution, then what are the dependencies you use?
If the jetty-distribution, what is the configuration you are using?

Or ... can you upgrade the WEB-INF/web.xml to say servlet spec 2.5 at
least? (this error will go away)


--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org

On Thu, May 7, 2015 at 5:19 AM, Lothar Kimmeringer <[email protected]>
wrote:

> Am 07.05.2015 um 14:10 schrieb Joakim Erdfelt:
> > Lets see your WEB-INF/web.xml
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> <web-app>
> </web-app>
>
>
> The webdefault.xml in etc is a bit longer ;-)
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <web-app xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";
>     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
>     metadata-complete="true" version="2.5">
>
>     <description>
>     Default web.xml file.
>     This file is applied to a Web application before it's own
> WEB_INF/web.xml file
>     </description>
> [...]
>
>
> Regards, Lothar
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to