You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tomas Jucius <en...@gmail.com> on 2005/05/19 15:50:48 UTC
multiple servlets - visit object needs to know
In web.xml I defined several servlets...
All servlets are using the same visit object..
Problem:
How can visit object know for which servlet it is being created?
I need to do some special stuff during visit initiliziation for
different servlets..
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: multiple servlets - visit object needs to know
Posted by Tomas Jucius <en...@gmail.com>.
I solved it:).. If interesting i did it so:
in the servlet class overwrode method createEngine and set some
properties to engine...
and
in engine class overwrode method createVisit and set some properties to visit...
On 5/19/05, Tomas Jucius <en...@gmail.com> wrote:
> In web.xml I defined several servlets...
> All servlets are using the same visit object..
>
> Problem:
> How can visit object know for which servlet it is being created?
>
> I need to do some special stuff during visit initiliziation for
> different servlets..
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org