On Wed, 17 Apr 2002 11:06:12 -0400, Geoffrey Talvola wrote: >You can get the best of both worlds by having a servlet base class with a >PSP that inherits from the base class. That's what I do when I have pages >with both a fair amount of supporting Python code and a lot of HTML markup. >(In fact, almost all of my PSP pages have a corresponding servlet base class >with stuff like SQL queries and data massaging. The PSP itself generally >just renders the data that was prepared by a method or methods in the base >class.) > >When I'm creating a new page, I'll usually go ahead and create both an >"empty" PSP and an "empty" Servlet that is the PSP's base class. Then I'll >start putting the "preparation" methods into the Servlet, and the rendering >into the PSP. You might try working like that.
I'm new to this, and am intrigued by your idea here... I wonder, how does this work, from a syntactical point of view? ie. how would one actually go about *doing* something like this? I don't know of (from the very limited documentation and experimentation I've done) a way to incorporate PSP into a servlet architecture. Any information would be appreciated! Thanks! --Kevin Murphy [EMAIL PROTECTED] _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
