This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Tomcat and the fly likes store properties in webapps/ROOT/properties.txt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "store properties in webapps/ROOT/properties.txt" Watch "store properties in webapps/ROOT/properties.txt" New topic

store properties in webapps/ROOT/properties.txt

George Vagenas

Joined: Mar 04, 2008
Posts: 11
Hi everybody,

Using a URLConnection i can read the property file that is served by tomcat and is located at webapps/ROOT/properties.txt.

I am having problem to store the any changes made in the properties.

Here is what i am doing:

The application is doing nothing and off course the property file doesn't change.

Can somebody shed some light over here?

I agree. Here's the link:
subject: store properties in webapps/ROOT/properties.txt