February 10th, 2003, 01:46 PM
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\">");
February 10th, 2003, 01:56 PM
because you have to supply an url pointing to your web-server, not your local harddisk.
February 10th, 2003, 02:00 PM
Im in college so would it be the colleges webserver like,,www.--.ie or a different webserver????
Thank you for your time!
February 10th, 2003, 02:03 PM
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....