Eclipse help needed, please
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
src="http://localhost:8080/MyProject/WebContent/images/garagedoor.jpg"
or
src="http://localhost:8080/MyProject/images/garagedoor.jpg"
and that didn't work either.
I am running my html page on Tomcat 6.0 server.
Please help!
Thanks
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks