hi thanx for the reply.. The servlet is being invoked using this url
https://localhost:8443/test/servlet/servletname 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.. Paridhi ----- Original Message ----- From: Jason Bainbridge <[EMAIL PROTECTED]> Date: Sun, 15 Jun 2003 02:10:52 +0800 To: "Tomcat Users List" <[EMAIL PROTECTED]> 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 > http://jblinux.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
