title: JSTL accessing properties from java bean
body: <p>I'm pretty new to JSTL so bear with me. I have a class I created that I'm try to access properties from in JSTL. I can't figure out what I'm doing wrong here. I'm not getting an error I"m just getting nothing when I try to call "getChildPath" Is it something in the java class that I'm doing that I'm not able to access it in the JSTL? Any help is greatly appreciated.</p>
  
  <p>Java Class:</p>
  
  <pre><code>public class childPath{
  
  private String childPath = ""; 
  
  public childPath(Resource resource) throws RepositoryException{     
      ValueMap properties = resource.adaptTo(ValueMap.class);     
      childPath = properties.get("childPath", "");                    
  }       
  public String getChildPath() {
      return childPath;
  }  
  </code></pre>
  
  <p>My JSTL Reference:</p>
  
  <pre><code>${getChildPath}
  </code></pre>