hi guys,
I have just started reading HFSJ book for scwcd exam.
In which directory should i store the image files of my html file.
I have installed the
tomcat and set the classpaths accordingly [its running], i have placed my test.html file in ROOT directory and than accessed it via.
the form and the messages are showing up but the picture is not showing, i guess there is a particular directory where i should put the images, but the tomcat
test page is accessing the tomcat.gif from the same page???
i have used this html code for the image
any idea ???
regards,
rafi
The Directory Structure is:
D:\tomcat\Tomcat 5.5\webapps\ROOT
my both test.html & abc.jpg is stored in ROOT directory.
here is the code
if i double click on the file from ROOT directory than it will display the picture,
else if i run the file via
http://localhost:8080/test.html than the picture will now show, but the rest of the form will show (just the picture will now show).
regards,
Rafi