[jboss-user] [JBoss Portal] - Re: Accessing HttpServletRequest from RenderRequest

suganthivelayutham do-not-reply at jboss.com
Fri Dec 7 06:59:37 EST 2007


I tried the solution,

HttpServletRequest req = (HttpServletRequest)request.getAttribute("javax.portlet.request");     // request is JBossRenderRequest object

but it FAILED

Im getting java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest

Is any other things I have to do to get it casted?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111195#4111195

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111195

More information about the jboss-user mailing list