Thursday, September 15, 2005 11:08 AM
you are using relative URL in the same template shared by multiple URLs/actions/JSPs etc. incorrectly.
the best way to refer to images, css, js files is to begin with the server root using a '/', then the name of your application context root, then the files directory, then the file name. for example, '/webapps/store/img/myimage.gif'. any reference from any virtual directory will always default to the server root URL first then go from there, independent of the server URL. for example, http://localhost/webapps/store/img/myimage.gif or http://www.mydomain.com/webapps/store/img/myimage.gif.