I do this in a different way to everyone else:-)
I use this piece of JavaScript in the <head> of every jsp file:
if (window.location.href.indexOf("localhost") >= 1) { document.write('<base href="http://localhost/mysite/" />'); } else { document.write('<base href="http://www.mysite.com/" />'); }
Which writes in the <base> tag for the sole purpose of accessing images via id's. I made an enhancement request in bugzilla which you can vote on *hint* (http://issues.apache.org/bugzilla/show_bug.cgi?id=33426) to make a change to the <html:base> tag to allow it to take the place of this javascript.
Thanks, G.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]