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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]