Okay found it out.
In my portlet I set a session variable as
PortletSession session = request.getPortletSession(true);
session.setAttribute("userName", user, PortletSession.APPLICATION_SCOPE)
Since the varialbe is app scoped it is available in servlet as
session.getAttribute("userName").
Thanks,
Shakti
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138510#4138510
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138510
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user