|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
because you have to supply an url pointing to your web-server, not your local harddisk.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#4
|
|||
|
|||
|
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....
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > HTML & servlets and IMAGES |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|