Either I have discovered an obscure fatal error involving
callMethodOfServlet or I am using WebKit incorrectly.

Firstly, I will apologize if this post is too large, but it seemed
better to include the example code instead of trying to explain
everything and THEN sending out the code.

What is happening is that I have 2 classes 'Ac' and 'Ap' both derived
from class 'Ag'. 'Ac' performs a callMethodOfServlet on a method in
class 'Ap'. When the code is placed in a context and this set of events
happens, WebKit throws a Type error, claiming that class 'Ap' is not of
type 'Ag'. 
BUT, when the same code is moved into a subdirectory of the context and
the same set of events is performed, everything works fine. Which is
somewhat disturbing and very confusing.

The zipped and tarred file that is attached includes my example code and
the Application.config file that I am using. The attached file contains
a context called 'Anger'. You should be able to find the various
examples and the HTML page that contains the longer explanation of what
is happening. Simply browse to /Anger and follow the instructions.

Some (minor) technical information.
Running WebWare version 8.1
Python 2.2.2
Linux redhat 9

Hopefully someone will be able to figure out what is going wrong since
I'm stumped.

David London

Attachment: anger.tgz
Description: GNU Zip compressed data

Reply via email to