Hi Jan,

If you can use Jetspeed-2.2.0 which supports full Portlet 2.0 Spec, then you 
can find an easy and stable way by using Portlet 2.0 Resource URLs for the ajax 
requests.
Without Portlet 2.0 Resource URL support, however, it would be very difficult 
because the ajax target servlet is not served via portal and so you cannot 
retrieve user principal from the request.

Woonsan

--- On Wed, 6/17/09, Jan Kowalik <[email protected]> wrote:

> From: Jan Kowalik <[email protected]>
> Subject: AJAX and portlet
> To: "Jetspeed Users List" <[email protected]>
> Date: Wednesday, June 17, 2009, 11:27 AM
> Hi,
> 
> I have deployed one sample ajax portlet which contains also
> servlet
> responding to asynchronous calls.
> It works fine but when jetspeed logs out user cause of
> inactivity time
> out and I have page with ajax portlet displayed I can still
> work with
> it and make asynchronous calls to servlet.
> How to check if user session is still active in jetspeed,
> where to do
> it in javascript making calls to servlet or in servlet
> itself.
> 
> Many thanks for any help.
> 
> 
> Regards
> 
> --
> Jan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to