From: Chuck E. <ec...@mi...> - 2001-01-18 02:24:12
|
Here's an update on where I'm at: Summary of problem is this: ServletFactory's pointer to Servlet is different than a given servlet's ancestor Servlet class. e.g., there are two Servlet classes in memory. One reports his name as "Servlet.Servlet" and the other as "WebKit.Servlet.Servlet". Each reports a different address. * I tried recreating the problem with a small example that involves a similar set up. It defied me and worked without a problem. * I noticed there were still '.' and '..' entries in sys.path. I eliminated both by fixing up OneShot.cgi & WebKit.cgi. That didn't fix the problem. * I noticed that ServletFactory exec's the code instead of importing it. So I switched over to the import technique. That didn't fix the problem. * I have a mild suspicion that having the current directory be /Webware/WebKit/ could be the complicating factor. * As a reminder, the reason this stuff is important is that under the current scheme of adding WebKit and every plug-in and context to sys.path, we are headed for name collision at some point. Feel free to jump in whenever you want... :-) -Chuck |