| Author |
Pathing issues on Tomcat 4.0
|
Michael Crutcher
Ranch Hand
Joined: Feb 18, 2002
Posts: 48
|
|
I have a webapp whose images stubbornly refuse to show up. Here's a map of the relevant files: CATILINA_HOME/webapps/thiswebapp/ Login.html Index.html some JSP's CATILINA_HOME/webapps/thiswebapp/images/ All the image files used on the html pages What's wierd is that none of my html sees the images. I've tried every kind of naming I can think of. If you right click on a picture that has it's path set as a relative value the path evaluates to the correct name. Is this the way the tag should look in my html? <img src="images/sabtart_07.gif"> If you turn tomcat off and just open up the html the images display fine. I'm sure I'm doing something stupid, and any help would be appreciated. Thanks, Michael Crutcher
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14480
|
|
|
Have you tried looking at your Tomcat logfiles?
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Arun Boraiah
Ranch Hand
Joined: Nov 28, 2001
Posts: 233
|
|
Hi Try this place your html and jsp's inside a folder inside 'thiswebapp' folder created by you(same level has 'images' folder). Give this path in your html or jsp "../images/ImageFileName". This should work -arun
|
Sharing is learning
|
 |
 |
|
|
subject: Pathing issues on Tomcat 4.0
|
|
|