Thanks for your quick answer.

2008/3/19, Frank Fischer <[EMAIL PROTECTED]>:
>
> Hi
>
> I asked the same questions just some days ago.
> Please read
>
> http://mail-archives.apache.org/mod_mbox/struts-user/200803.mbox/%3c20080313
> [EMAIL PROTECTED] You will find all information there
> (have a look at the first and the last message in the thread).
>
> Frank
>
>
> > -----Original Message-----
> > From: deeeed [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 19, 2008 9:03 PM
> > To: user@struts.apache.org
> > Subject: [S2] application context
> >
> > Hi,
> >
> > I would like to initialize and share an object when my
> > application deploy
> > but I'm not sure on the best way to do it.
> > The idea is to access something like ServletContext() and
> > then initialize my
> > object in it in a synchronized way.
> > I know the ActionContext is ThreadLocal so If i put my object
> > in it I don't
> > think it will be accessible for every user of the site.
> > So what is the best way to share data between action with struts 2 ?
> >
> > Thanks ;)
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to