dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Eclipse help needed, please

  1. #1
    Join Date
    Oct 2012
    Posts
    1

    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

  2. #2
    Join Date
    Aug 2012
    Location
    1453 Gingerwood ave, Milpitas CA 95035,
    Posts
    37
    There is a proper eclipse forum site, where your problem will be solved easily. Post there you will definitely get solution........

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
  •  
HTML5 Development Center



Recent Articles