hi guys,
i want to create httpSession object in the my backing bean...
HttpSession httpSession = 
(HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(true);

but the above line gives an error:
ClassCastException: com.sun.faces.portlet.PortletSessionWrapper

then i cast the above to PortletSession but still my problem is to get 
httpSession object

but according to the previous posts, how can i get httpSession from 
portalContext...
can you please send the exact syntax???

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163259#4163259

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163259
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to