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

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


Back to the top