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 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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
Where Do I Place The Properties File?
about properties.txt problem
Having problems reading a file from servlet in Windows XP with Tomcat