title: how to store image url in oracle database and retrieve it through ejb
body: <p>My project is an EJB. I want to store image in the oracle database. I understand its more efficient to store the file path in database and the images in a folder. My folder "images" is located in ejb. Please if the image is java.jpg, how do I construct the file path? I have tried both images/java.jpg and images\java.jpg and none worked.
  The real path to the image location is "C:\Users\Kate\Documents\NetBeansProjects\Kate_Assig\Kate_Assig-ejb\images" and "Kate_Assig-ejb" is the ejb project and that's where the images folder that contains the images is.</p>
  
  <p>The challenge I have right now is to store the file path in database. I have tried this option "..\images\java.jpg" and it didn't work. It didn't work because images are not displayed when I query the table from the client side.</p>
  
  <p>The client is web application.</p>