simon's weblog

venerdì mar 27, 2009

Property substitution in web.xml and the Jetty Plugin

Many web applications are configured via web.xml. Primary examples of this are Comet web application, which are configured via a ServletContextAttributeListener: you may want different listener classes depending on the enviroment you're working in. Another example is where Spring configuration files are provided via the contextConfigLocation context parameter.

Here I want to show how to do property substitution in web.xml based on Maven2 profiles.

[Read More]

Webtide

Calendar

Tags

Search

Links

Navigation