This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Abiodun,

you may try to use

class HTTP Servlet Response

Hope that it helps,

Thanks

Jonas Yuan

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!