tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Bainbridge <>
Subject Re: gif image not appearing
Date Sat, 14 Jun 2003 18:10:52 GMT
On Sun, 15 Jun 2003 02:05, Paridhi Bansal wrote:
> My directory structure is :
> i have folders test and images inside the webapps directory.the servlet is
> inside test/WEB-INF/classes and the gif image is inside images folder..i
> have also kept the image inside the jar file...

Are you using the servlet invoker ie. is your path to your sevlet something 
like: http://localhost:8080/webapp/servlet/servletname ? If so I'd say you 
have your relative path to images wrong as it needs to be ../images or even 
better put your servlet in a package and then map to it within your web.xml.

If this isn't the problem can you post relevant snippets of code?

Jason Bainbridge

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message