Hi,
Yeah I realized that the servlet context wont work out in this case.
As for the Portlet Session in APPLICATION_SCOPE - Isn't that only applicable
to all portlets inside J2 and not to applications outside of J2?
If not - How are you casting in: PortletSession portletSession =
(PortletSession)session;
Is session from httprequest (request.getSession() ) or from portlet request?
And when you call it outside of J2 it would have to be using httprequest (
session.getAttribute ("a"); where session is request.getSession())
Thanks,
Akshay