Hans Bergsten wrote:

> Christopher Cobb wrote:
> > [...]
> > Can anyone explain why the frame URLs must have the protocol/hostname
> > prefix (src=http://localhost/path/to/frame.html) and why 'just' absolute
> > paths (src=/path/to/frame.html) don't work?
>
> The HTML 3.2 spec only says that the HREF attribute of the BASE tag
> should be a URL but it seems like Netscape requires it to be a complete
> URL, with protocol and host. I'm curious as well so if anyone else can
> shed some light it would be interesting.
>

Just to clarify, Netscape only appears to need to fully qualified URL (including 
protocol and hostname) when I send the bytes of a web page manually via a servlet.  If 
I access the page directly, Netscape is quite happy with a relative URL.

Are there any HTTP headers that I should be setting before I send the bytes of the 
page back to the browser?

cc

begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
tel;work:703-648-6725
x-mozilla-html:TRUE
org:Powerhouse Technologies, Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:SW Architect
fn:Christopher Cobb
end:vcard

Reply via email to