Hi,

Can someone point out a tutorial or some place where I can learn how to read
values from a .cfg file?
Say I have a Input.cfg file which goes like:
<com>
<MyCompany>
  <Common
    inputDir="C:/vray/xml_files/"
     outputDir="C:/xm_output"
  />
</MyCompany>
</com>

Now, if I need the inputDir value inside my program, how do I do it?

Sorry that this is off topic from struts, but i cant seem to find some
sensible help.

Any help will be appreciated.
Thanks.
Vikas.

Reply via email to