This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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
Have you checked out Aspose?
subject: java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl
It's not a secret anymore!