title: Issue with file path in Java/Liferay
body: <p>I have tried in multiple ways to load the property file from the resource folder.</p>
  
  <p>Every time, I'm getting a file not found exception. My code is as follows:</p>
  
  <pre><code> Properties prop = new Properties();
          FileInputStream inputStream = new FileInputStream("/resource/excelfilepath.properties");
          prop.load(inputStream);
          String path = prop.getProperty("excelPath");
          System.out.println("Excel File Path "+ path);
  </code></pre>
  
  <p>My project structure looks as follows,</p>
  
  <p><a href="https://i.stack.imgur.com/tXxBR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tXxBR.png" alt="enter image description here"></a></p>
  
  <p>What is the needed structure of the file path literal?</p>