File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Storing Configuration Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Storing Configuration Files" Watch "Storing Configuration Files" New topic

Storing Configuration Files

Supriya khare

Joined: Jul 19, 2008
Posts: 10
In our Java Struts application we have couple of configuration files where we store some values. We have these files in user directory. Our application runs on windows/linux and Mac. We are having problem writing to these files on windows7 and can only write in them if we use 'run as adminstrator' and on linux same way we have to execute our application as SUDO. Is there any Java api which we can use to place/read/write these files in platform independent way?

I agree. Here's the link:
subject: Storing Configuration Files
Similar Threads
winbatch script
loading flash files in linux
Database and J2ee server help needed!
problem in using WSDL2Java tool in axis
Build Debate....