This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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

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
Ranch Hand

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

you may try to use

class HTTP Servlet Response

Hope that it helps,


Jonas Yuan

Books: Liferay Portal 6.1 Systems Development
subject: java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl
Similar Threads
Adding portlet programmatically in Liferay
breaks in converting String to Integer
About ProcessAction
Liferay: NullPointerException on load.
Maximize a portlet