0
   <img style="width:80px; height : 80px;" src="G:\Spring-Tutorial\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\contentmanagementsystem\resources\images\GoodBook.jpeg">

Above is my image url which points to image in my context path of my spring mvc project \resources\images\GoodBook.jpeg

but in console it gives error as follows and image is not appearing.

Not allowed to load local resource: file:///G:/Spring-Tutorial/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/contentmanagementsystem/resources/images/GoodBook.jpeg

I am new html with Spring MVC .please advise me in code.

0 Answers0