I'm trying to retrieve a picture from my file system after a good storage,(instead of putting it in the database I copy it to the disc and i put the path to the db)
- I had store the picture to c:\images\ folder and supposing that the name the complete path is c:\images\mypic.jpg
- when I try to retrieve it a set the img src attribute to
<img src="c:\images\mypic.jps">
by using some java code - in the browser console I found this error
Not allowed to load local resource: file:///C://images//mypic.jpg
Question: how to fix these path problem ? where Should I store the pictures ? and from where should I retrieve them ?