Hello there. I'm using Webware 8.1 with the following apache setup:
<Location /WK>
SetHandler webkit-handler
</Location>
# psp
WKServer localhost 1114
AddHandler psp-handler .psp
I have a method in a servlet that looks like this:
def forwardToWhatever(self):
self.transaction().application().forward(self.transaction(), '/whatever.psp')
But the method, when invoked, doesn't work. I get this:
File "./WebKit/Application.py", line 627, in forward
urlPath = self.processURLPath(req, URL)
File "./WebKit/Application.py", line 593, in processURLPath
extraPath = req.siteRootFromCurrentServlet()
File "./WebKit/HTTPRequest.py", line 428, in siteRootFromCurrentServlet
contextName = self.contextName() + '/'
TypeError: unsupported operand types for +
.. which bespeaks fundamental problems. Is there any way to do what
I want to do, i.e. forward to a PSP page? Do I need to invoke the PSP
servlet factory directly?
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss