#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    5
    Rep Power
    0

    HTML & servlets and IMAGES


    hey ,i am using HTML to make my screens in my servlets an di want to put this picture on my screen ,,,thi is the code i ahve ,but does anyone know why it only outputs a blank box,,i figure i have to store my picture somewhere else,but does anybody know where?in the project folder or on c drive??


    out.println("<p align=\"center\"><b><img src=\"F:/Ticket/src/ticket/wizard1.jpg\" alt=\"company logo\" width=\"60\" height=\"60\">");
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    because you have to supply an url pointing to your web-server, not your local harddisk.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    5
    Rep Power
    0
    Webserver???
    Im in college so would it be the colleges webserver like,,www.--.ie or a different webserver????
    Thank you for your time!
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    You can upload your images to any server you want, but for easy maintenance, i recommend putting your servlets and images on the same one....

IMN logo majestic logo threadwatch logo seochat tools logo