Using a <base> different than the current url messes up simple anchor links. I.e. this would result in a new request rather than just scrolling:

<a href="#top">Top</a>

I'm sure this doesn't bother everyone but I have lots of those links and that's the reason I don't use <base>

Martin

On Sun, 07 Jan 2007 07:50:44 +0100, Kent Tong <[EMAIL PROTECTED]> wrote:

Hi,

I don't see why using the Shell (and <base>) is not a satisfactory solution for allowing access to static files (eg, images) using relative paths. I've
created a test page with context. I have setup a simple web app like:

c:\myapp\d1\UsingBase.html
c:\myapp\images\tapestry_banner.gif

UsingBase.html is referring to the image using ../images/tapestry_banner.gif. UsingBase is a T5 page taking a String as its context. I can view the page
using http://localhost:9999/d1/UsingBase.html/foo. Without specifying the
<base>, the image is broken. After specifying the <base> as
http://localhost:9999/d1/UsingBase.html it works fine.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to