I am new to maven web application, below is my eclipse directory..
MyProject
-- src
------main
----------resources
-------------------images
--------------------------myimage.png
----------webapp
----------------index.html
----------WEB-INF
----------------web.xml
Here is my index.html source.
<img alt="" src="images/myimage.png">
When I run this image is not shown in browser. I heard somewhere we should declare/map the resource directory in web.xml file but I did not found anything.
I have tried every possible ways in img src
path.
I just need to show the image in my html page.
Can anybody help..