|Where do I need to put my "images" folder in Eclipse project? [message #942599]
||Sat, 13 October 2012 13:38
| Dusan Cankovic
Registered: October 2012
I have just started using eclipse for web development, so please help |
Where do I need to put my "images" folder in Eclipse project so that images appear when I run my html page?
Example of html code:
<img src="images/garagedoor.jpg" style="max-width:100%; max-height:100%;" id="slika" onclick="onClick_Pocetna()" />
I have tried putting "images" folder in "MyProject/Web Content/" folder, where my html, css, js files are also located, in root of the whole project "MyProject/, in "Java Resources/src/" folder,
and nothing worked so far.
I tried changing the src of html to
and that didn't work either.
I am running my html page on Tomcat 6.0 server.