[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: UU code
I have a DB pool created in my libdm/uudb.cpp class. Now I need to save
pointer to it in ServletContext.
In my understanding saving in ServletContext means setting request
attribute. Since my DB handle created in uudb costructor, I don't know how
to link it with request.
Is it a right idea? Any examples in cppserv or sptk which have a similar
functionality?
> Each servlet lives in ServletContainer, which, in turn, lives in
> ServletContext
> ServletContext joins multiple servlets, allowing them to share some data.
> What I would do, is create that pool, and store pointer to it in
> ServletContext
>
> --
> Ilya A. Volynets-Evenbakh
> Total Knowledge. CTO
> http://www.total-knowledge.com
>
>
- Follow-Ups:
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
- References:
- UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>