This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Modifying properties file in WAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Modifying properties file in WAR" Watch "Modifying properties file in WAR" New topic
Author

Modifying properties file in WAR

krishnamohan murugesan
Greenhorn

Joined: May 27, 2008
Posts: 5
hi,
does anyone knows how to modify a properties file in a war after deploying that war in JBoss?
I can modify it manually but i have to do it programmatically.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

You could deploy the WAR as an exploded directory. Then you can easily update the file.

[ June 10, 2008: Message edited by: Peter Johnson ]

[ June 10, 2008: Message edited by: Peter Johnson ]
[ June 10, 2008: Message edited by: Peter Johnson ]

JBoss In Action
 
 
subject: Modifying properties file in WAR
 
Similar Threads
BETA Properties file
reading a properties file from the war file
properties file
Prob in eclipse while importing war file - not bale to compile .java files
Reading .properties File From Action Form