Fionn Behrens wrote:
> I have a context "Servlets" (outside webroot) defined for the Servlets I
> use from my psp pages. The psp pages are located in the normal webroot
> and load via mod_webkit and PSP-Handler.

Ok, I could now reproduce the problem. It happens when you are using 
psp-handler with psp pages located outside any Webware context.

I had already noticed that the psp-handler did not work correctly, 
probably after the URLParser had been introduced to Webware sometime 
after 0.8.1, and tried to fix it. But it seems I tested it only with psp 
pages located inside a valid Webware context.

Anyway, you can fix it by locating the line

                if fullname == None:

in the file Webware/WebKit/ServletFactory.py and changing it to

                if not fullname or not path.startswith(contextPath):

I have already checked it in for the next version. Let me know if this 
resolves your problems and whether you notice any further problems after 
the upgrade. By the way, mod_webkit2 has also been improved, so you 
should install the new version (make install should work).

-- Christoph

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to