1.1 --- a/docs/Webware/NOTES.txt Sun Feb 08 16:34:28 2004 +0000
1.2 +++ b/docs/Webware/NOTES.txt Sun Feb 08 16:35:13 2004 +0000
1.3 @@ -16,12 +16,20 @@
1.4 Each context must be defined in the Webware/WebKit/Configs/Application.config
1.5 file within the 'Contexts' dictionary entry; for example:
1.6
1.7 -'Simple': '/home/paulb/Software/Python/WebStack/examples/Webware/SimpleContext',
1.8 +'simple': '/home/paulb/Software/Python/WebStack/examples/Webware/SimpleContext',
1.9
1.10 Note that the path to the context directory must be absolute, although the
1.11 context directory may reside within WebKit itself such that the path may then
1.12 make use of the special %(WebKitPath)s substitution.
1.13
1.14 +Note also that the name of the context (eg. 'simple') must not be the same as
1.15 +the name of any other package used within the application (and possibly any
1.16 +other applications in the application server), with the only reasonable
1.17 +exception being the context package name itself (eg. 'SimpleContext').
1.18 +Otherwise, the existing package will become overridden by the contents of the
1.19 +context itself. Therefore, given that the Simple package is used to hold the
1.20 +actual application code, it is not wise to use 'Simple' as the context name.
1.21 +
1.22 Running the application server:
1.23
1.24 Change into the WebKit directory within Webware. Then, specifying the