Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
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