Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] supporting multiple jetty versions with jetty-web.xml

Hallo Koen,

vraag gestuurd op de mailing list van jetty,
blijkt dat er dus een manier is om een jetty-web.xml te maken per versie.
Goed nieuws dus.

groeten,

Pieter

On Thu, Apr 29, 2010 at 6:26 PM, Jan Bartel <janb@xxxxxxxxxxx> wrote:
Pieter,

Easy! Call them jetty7-web.xml and jetty6-web.xml and you can distribute
them both in the webapp. The jetty container will pick the right one
according to its version.

cheers
Jan

Pieter Libin wrote:
Dear all,

I'm making a web application which will be available to users as a war archive.
In this war archive I want to do some jetty specific configuration in a jetty-web.xml file.

However, since jetty version 7, the configuration format changed,
and my jetty 6 compatible jetty-web.xml gives an error message in a jetty 7 container.

Is it possible to provide multiple jetty-web.xml files in my war, to support as many versions of jetty as possible?

Kind regards,

Pieter Libin


------------------------------------------------------------------------

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Jan Bartel, Webtide LLC | janb@xxxxxxxxxxx | http://www.webtide.com
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top