java.util.prefs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kimbuba

    java.util.prefs

    Hello all.
    I'm playing with this new api.

    But i have some questions about it.

    I read that in windows preferences resides in:
    HKEY_CURRENT_US ER\Software\Jav aSoft\Prefs (for the user tree)
    On linux plat pref resides in: <user's home directory>/.java/.userPrefs

    The problem arises when i'm building a web application. If i write on the
    system tree i could read and write others preferences!

    My question is: is it possible to have a local pref tree? like a File? so
    that i can store that file locally on my hosting space?
    i'd like to be indipendent of my hosting provider, since i could have
    problems in writing on System tree or User tree (if they didn't configure
    well my account)

    Thanx all in advance.


Working...