This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX 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
I agree. Here's the link:
subject: java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl
It's not a secret anymore!