portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Evans" <aaronmev...@gmail.com>
Subject Re: servlet portlet communication via JetSpeed
Date Mon, 15 May 2006 13:06:50 GMT
Jacek is absolutely correct.

Set the object in the portlet's session with application scope.  Then,
in your servlet, the object will be available as a standard
HttpSession attribute.

I use this technique all the time...

On 5/14/06, Jacek Wiƛlicki <jacek.wislicki@gmail.com> wrote:
> Wiadomosc od hamid bani z 2006-05-14 16:37 brzmiala:
>
> > Dear Jacek
> >
> >   At the moment I can't use this approach you suggested
> >   because my servlet is not called from my portlet!
> >
> >   Is there any other way ?
> If you have a HttpSession attribute, there is no difference if it is set
> from a servlet or a portlet. Once it is set, it should be hold in the
> session until the session is invalidated or the attribute is removed.
> What's the problem?
>
> --
> pozdrawiam,
>      Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
Mime
View raw message