• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems casting HttpServletRequest attribute into a RenderRequest object

 
John Zwick
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following line of code seems to be causing the exception:
java.lang.ClassCastException: com.ibm.ws.portletcontainer.core.impl.ActionRequestImpl incompatible with javax.portlet.RenderRequest



Does anyone know why I cannot do this cast? Also, if this is not the correct way... how can I retrieve the RenderRequest object from a HttpServletRequest object so I can access the portlet preferences values?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic