This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes don't want to rename </param-name> in web.xml everytime I rename .war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "don Watch "don New topic
Author

don't want to rename </param-name> in web.xml everytime I rename .war file

Lourens Oberholzer
Greenhorn

Joined: Aug 01, 2013
Posts: 1
I use JBoss to deploy a few wars.

When we go to testing we rename the war files and even use some on Oracle and MSSQL so we use the database name in the war filename too.

Are there any way I can use something likeroot.war or *.war to automatic use the war name without opening the web.xml and renamaming the newly named war in <param-name>...</param-name>

Thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9960
    
163

Lourens, welcome to JavaRanch.

Why do you need the war filename in the web.xml? How are you using that later on?

Which exact version of JBoss is this?

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: don't want to rename </param-name> in web.xml everytime I rename .war file
 
Similar Threads
struts-config.xml with a different name
More web apps running in root context
STRUTS 2 : How to explicitly specify struts.xml in web.xml ?
folder structure for jsf application
Create subclass of struts ActionServlet that supports "classpath:" config file paths.