title: How to getting image file URL from a folder inside web project?
body: <p>How to getting image file URL in myjava(Test.java implements spring controller) file from a folder inside web project?  </p>
  
  <p>MYProject/WebContent/images/isilogo.gif.</p>
  
  <p>I want to take isilog.gif from MYProject/WebContent/images/isilogo.gif for Bar code label print header of PDF . 
  public static final String IMG = "D://MY WORK PLACE/MYProject/WebContent/images/jsw.gif"; 
  Image img = Image.getInstance(IMG);
  Now its takes static from my work place.I wants it's take from myproject  WebContent dynamically . Please help me any one friends. 
  Thanks in advance</p>