This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl" Watch "java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl" New topic
Author

java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I am using Liferay 6.1 ,JSF2 and i am trying to obtain the ActionResponse from within my bean


I have




but anytime i run i get this exception







please what am i doing wrong

Jonas X. Yuan
author
Ranch Hand

Joined: May 18, 2008
Posts: 108
Hi Abiodun,

you may try to use

class HTTP Servlet Response

Hope that it helps,

Thanks

Jonas Yuan


Books: Liferay Portal 6.1 Systems Development
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl