On Mon, 2002-11-11 at 11:44, Luis Castro wrote:
> the problem here is that the call 
> includeURL('header.html')
> when we are in a page from the directory application1 will actually look for 
>'header.html' inside application1, and if we use includeURL('/header.html') will not 
>have the desired effect of including the file from mycontext.

I would encourage you to make a servlet class for each application
(usually it's called SitePage), and you can add headers and footers in
there.  You can also read the file like:
    self.write(open('header.html').read())

Look to Page.writeBodyParts for overriding and adding your
header/footer.

  Ian



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to