Problems casting HttpServletRequest attribute into a RenderRequest object
posted 8 years ago
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?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads