|
From: David S. <ds...@al...> - 2001-02-14 07:49:00
|
> -----Original Message----- > From: Robert W. Bill [mailto:rb...@di...] > Sent: 14 February 2001 02:45 > To: jyt...@li... > 1. an interpreter instance per PyServlet- overkill? > 2. extract and insert servlet and namespace into and from the interpreter > for each request- messy? > 3. execute the file, class, and servlet methods with Py.exec methods- > visually appealing, but not common practice, maybe for a > reason I thought :) > I'm sure there's a better way that I'm missing though. Again I think people are trying to make this more complicated than it needs to be. In fact the Java classloading 'problem' that was discussed earlier this week is the best solution to the namespace problem. I think all you need to do is make a separate web-app for each namespace you need. I can't think of why you'd want to break the python namespace convention within an app. If that is wrong, please explain. Dave. |