David,
Finally I figured out , where to place the GIFs and how to code it in SRC parameter
As I said earlier, I copy all my Servlet classes to
C:\jak-tomcat\webapps\ROOT\WEB-INF\classes
Copied my GIF file (pic01.gif) to
C:\jak-tomcat\webapps\ROOT\
In my HTML file, for the SRC I coded
SRC='/pic01.gif'
(If Windows Explorer's properties say the pic01.gif is PIC01.GIF then you need to code in upper case )
What I was missing was the slash '/' before pic01.gif
The above solution is for a TOMCAT installation out of the box, with no changes to server.xml or any new Context entries.
In case you wondered how I figured this out...
Internet Explorer , when it is unable to load a pic shows a cross ( X ) at that particular location . Right click on the cross and under properties it will tell you the actual path where it tried to load from .
In my case it was
http://122.76.141.31:8080/servlet/pic01.gif , which led me to believe that TOMCAT expected pic01.gif at the root, which prompted me to put a '/' before pic01.gif
Thanks for all your help !
Junuli, you are a nice guy. I should have appreciated your well intentioned replies.
Ernest, Pope in Italy needs people like you !