aspose file tools*
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 Spring in Action this week in the Spring 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl