Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modifying properties file in WAR

 
krishnamohan murugesan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic