You can use a relative URL to define the source of the image. This is typically relative to the directory that your page/JSP is in. In a typical web-application the images should be held in a sub-directory of your application directory in the web-apps directory. In a production environment you would store all of the pages, classes, images etc in a WAR file with the equivalent internal structure.
Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams
Well, (I am a newbie) The only reason I put my question here was.. I am using Tomcat AppServer. I did not know if I needed to make any configuration changes too... (even now, I am not sure if I have to make configuration changes. I guess I need not..) thanks,