Hy every body

While playing w/ webware-cvs, i think i found a bug in URLHandler.
I put this stuff in my in Context.__init__

from WebKit.URLHandler import ServletFactoryManager

(I need this to return ServletFactoryManager.servletForFile() in my
CustomURLHandler.) 

And if i do the import i always have a 
-------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "WebKit/Application.py", line 432, in dispatchRawRequest
  File "WebKit/Application.py", line 478, in runTransaction
  File "/opt/Webware/WebKit/URLParser.py", line 67, in 
findServletForTransaction
    return self.parse(trans, trans.request().urlPath())
  File "/opt/Webware/WebKit/URLParser.py", line 235, in parse
    trans.request()._serverSideContextPath = self._contexts[contextName]
KeyError: 'default'
-------------------------------------------------------------------------------------------

In fact, i think that the InitApp() should be call before. 

What sould i do ? 


Another thing: What is the current status of developpement in Webware
because i found some things that really look strange.. like the 'Examples'
context switch in URLHandler for example.. 


Bye Bye.. 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to