From: Matt Feifarek <mattf@pa...> - 2002-08-05 20:25:39
I'm trying to use Page.callMethodOfServlet(), and I've noticed that inside
of the called method, "self" actually corresponds to the "secondary" servlet
(the one who's method is being hijacked) rather than the actual called
Is this by design, or is it a bug? I understand that it's a bit iffy, but it
kinda breaks a lot of things.
For example, let's say a method checks on some things, and sets a dirty flag
if those things pass some test:
self._dirty = 1
self._dirty = None
If one runs the servlet that contains this method (proxy), it will work as
However, if one runs ANOTHER servlet, and uses the callMethod feature (as
illustrated in main), it doesn't work "as expected".
The _dirty flag will be set inside of the proxy class, and not inside of the
actual "real" servlet, making using the method effectively impossible.
So, any code that uses self for anything (which is a lot, IMO) won't work.
I realize that this whole concept is something of a hack, but I think it's a
valuable one, and I just want to explore this.
From: Aaron Held <aaron@me...> - 2002-08-05 21:24:51
Ever since I decided to leave NJ I have been swamped with work.
One of my clients in Edison NJ would like to hire a full time webmaster that can maintain
a number of Webware apps that I have built and extend the functionality as needed. They
also would like someone to manage the 100+ million record database and application
The apps run on IIS/Win2000 and Webware/Redhat and draw data from PostgreSQL/Redhat. I
use the XFS filesystem and there is a curses based import application that takes a 10 Gig
text file from an AS/400 and parses it into a postgres happy format.
They are a great company (and have even paid early) and they provide telecom services to
Fortune 500 companies. They specifically want an in-house employee so they can evolve the
apps quickly. They right up great application specifications and they are very honest
when they do not know what the app should do (so we need to do adapt to the user needs)
If you are interested please contact me off-list and I'll pass on your resume info.