title: How to access a property file using "javascript"
body: <p>How do I access a property file using javascript. Normally property file is a xml based file. 
  I java we access a property file like this:</p>
  
  <pre><code>Properties prop = new Properties();
              fis = getClass().getResourceAsStream("props.xml");
  
              if (fis != null) {
                  prop.loadFromXML(fis);
              }
  String dbUrl = prop.getProperty("dburl");
  </code></pre>
  
  <p>I want to do the same but using javascript. is there a possible way of doing it?.</p>