You can usually just put the information in a global variable in some
module -- then it's shared between all servlets.  (You need to be aware
of threading issues if you do this)

On Mon, 2002-09-23 at 02:47, Max Ischenko wrote:
> Hello!
> 
> I have several servlets (subclasses of WebKit.Page) which I want to
> share some data. Currently, each of them create it's own copies with
> 
> from foo import bar
> b = bar()
> ... b.quux()
> 
> This is both cumbersome to use and quite inefficient.
> 
> 
> Thanks in advance for your help.
> 
> 
> -- 
> Bst rgrds, M.A.X.: Mechanical Artificial Xenomorph.
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to