On Wed, 2002-07-24 at 19:36, Deepak Giridharagopal wrote:
> Hello!
>
> Here is my dilemma. Suppose that I've got the sources to my web
> application in a directory called '/home/webapp'.
<snip>
>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
--
Jason D. Hildebrand
[EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss