users@glassfish.java.net

Best way to override web.xml context-param when deploying in GF?

From: <glassfish_at_javadesktop.org>
Date: Sun, 27 Jan 2008 14:34:07 PST

I have an EAR file with a WAR file inside, and I need to make some changes to web.xml context-param values when I deploy to the deployment server after testing is complete. I find it irksome to fish out the web.xml file, edit some settings, and put everything back together.

What is the best way to deal with this? Ideally, I'd like to be able to edit some properties in the admin interface or the asadmin tool. I have to go there anyway to configure JDBC and JavaMail resources.

Thanks,

Cay
[Message sent by forum member 'cayhorstmann' (cayhorstmann)]

http://forums.java.net/jive/thread.jspa?messageID=256025