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]Posted at 04:07PM mar 27, 2009 by Simone in Java | Comments[0]