os.environ is empty in JPython

Carsten Sessler carsten.sessler at fhtw-berlin.de
Wed Feb 9 17:32:08 CET 2000


Hello,

in order to run some Python-Scripts as CGI I'd like to read environment
variables. The same script running in Python delivers what I expect (the
"QUERY_STRING") whereas in JPython the os.environ dictionary is empty. What
can I do to get my environment or  are there any other (JAVA?) methods that
suit my needs?

regards,
Carsten Sessler





More information about the Python-list mailing list