dimanche 5 avril 2015

Inserting an image from local directory in thymeleaf spring framework (with maven)

I have developed a project using this link: http://ift.tt/1uoVyHd I used maven to develop above project.


I have two html files under this. abc.html and xyz.html. To insert images in the html page, I have used the url like this:


But I want to use an image file located in my server instead. I tried placing the file in the same directory of html file but its not working. I even tried giving full path but of no use. This is an ubuntu OS. Please help me out here. Is there any place where I can configure the base path or basically how to put an image from my local folder.


Aucun commentaire:

Enregistrer un commentaire