Results 1 to 2 of 2
  1. #1
    shivam0101 is offline Member
    Join Date
    Mar 2010
    Posts
    28
    Rep Power
    0

    Default location of config file

    Hi,

    This i have posted in NetBeans Forums - location of config file as well as in stackoverflow.com without getting much help.

    Is there anyway i can read files which is located in dist folder?

    Thanks,

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,816
    Rep Power
    25

    Default Re: location of config file

    Can you set an enviroment variable with the path to the folder and use the System class's get method to retrieve its value and use it in a File class's constructor?
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. structs config file
    By gani in forum Struts
    Replies: 2
    Last Post: 07-11-2012, 10:41 AM
  2. loggig - config file
    By jlmp in forum NetBeans
    Replies: 3
    Last Post: 03-29-2011, 11:56 AM
  3. Getting the exact location of the config files
    By nn12 in forum New To Java
    Replies: 6
    Last Post: 02-13-2011, 09:31 AM
  4. need to copy file from one location to another location
    By naveen.dpt2007 in forum New To Java
    Replies: 4
    Last Post: 02-28-2010, 04:53 PM
  5. reading values from config file
    By sathish_2111 in forum Enterprise JavaBeans (EJB)
    Replies: 3
    Last Post: 08-10-2007, 04:09 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •