Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Edmund Lian <elian@in...> - 2002-09-13 23:56:33
On 09/13/2002 05:03:35 PM Daniel Newby wrote:
>But won't that give the pathname for the machine-generated code for PSP
>servelets, instead of the pathname of your original source file? (I'm
>from my Webware stuff so I can't check.)
Could be. I haven't checked to see if it works property in PSP because I
don't use it. It does with with the servlet/Cheetah combination.
What I did is really a hack. It's really preferable to just have Webware
make serverSidePath available during servlet construction too. The hack I
have is clearly sensitive to call order, etc. since it is peering directly
into the frame stack. Don't use it unless you test it first with PSP.
>BTW, I'm using the check-flag-and-cache approach for my navigation
>and it works fine for both Python and PSP servelets.
It works, but I'd rather use __init__ the way it is meant to be used...
On September 13, 2002 04:56 pm, Edmund Lian wrote:
> It works, but I'd rather use __init__ the way it is meant to be used...
One thing I played around with in expwebware was to feed a ServletConfig=20
object to Servlet.__init__(). J2EE appservers do something similar. I=20
works, but it would require a change to all existing servlets that have=20
reimplemented the __init__ method. That's why I wrote that it would be a=