Is it possible to modify a .properties
file in Tomcat, that is to add properties to it, instead of just reading them?
views:
33answers:
2
A:
Yes, please provide further information regarding what you want to achieve.
thelost
2010-05-18 13:32:13
+1
A:
You can use Properties#load()
to load them into a modifiable map-like structure. After modifying using Properties#setProperty()
you can just use Properties#store()
to save it back.
See also:
BalusC
2010-05-18 13:38:06