tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paridhi Bansal" <>
Subject Re: gif image not appearing
Date Sat, 14 Jun 2003 18:34:24 GMT
thanx for the reply..

The servlet is being invoked using this url

where test is inside webapps folder

moreover, on viewing the properties of the image on the web browser shows the correct path..If
u give that url on the browser, the image appears, it gets into the cache i believe, and then
when i reopen the servlet, the image appears but not the applet..

----- Original Message -----
From: Jason Bainbridge <>
Date: Sun, 15 Jun 2003 02:10:52 +0800
To: "Tomcat Users List" <>
Subject: Re: gif image not appearing

> 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?
> Regards,
> -- 
> Jason Bainbridge
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Sign-up for your own FREE Personalized E-mail at

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

View raw message