On Wed, 2002-07-24 at 19:36, Deepak Giridharagopal wrote:
> Here is my dilemma. Suppose that I've got the sources to my web
> application in a directory called '/home/webapp'.
From what you've described, I have the impression that the stuff
contained in your "webapp" is not servlets or anything which is
directly Webware-specific code.
Here's what I do (and what I think might work well for you):
- only put servlets/psps in the context directory
- keep your other code (which the servlets may use) whereever you want
(call it /home/webapp)
- set PYTHONPATH to include /home/webapp in the script with which you
start the application server
Now you can access the modules using foo.bar from within your webapp
code, and also from within your servlets.
Hope this helps,
Jason D. Hildebrand