from ExamplePage import ExamplePage class Welcome(ExamplePage): def writeContent(self): wr = self.writeln wr('

Welcome to WebKit %s!

' % self.application().webKitVersionString()) path = self.request().servletPath() wr('''\

Along the side of this page you will see various links that will take you to:

The Admin context is particularly interesting because it takes you to the administrative pages for the WebKit application server where you can review logs, configuration, plug-ins, etc.

The Docs contexts allow you to browse the documentation of WebKit and all other components of Webware for Python.

''' % locals()) from os.path import join wr('

The location of the documentation on the server:

') wr('') req = self.request() extraURLPath = req.extraURLPath() if extraURLPath and extraURLPath != '/': wr('''

Note: extraURLPath information was found on the URL, and a servlet was not found to process it. Processing has been delegated to this servlet.

''') wr('')