WebSphere Portal Server - Re: Casting HttpServletResponse to PortletResponse works in jsp page<br> but not

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2005 > Re: Casting HttpServletResponse to PortletResponse works in jsp page<br> but not





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Casting HttpServletResponse to PortletResponse works in jsp page<br> but not

2005-08-29, 7:50 am

I have solved the problem over the week-end. The problems seems to be, that the PortletResponse Class is loaded by 2 different class loaders and casting doesn't seem to work there. I used Java refelection to acces the method I needed from the portlet resp
onse and now everything is working fine.

I'll try to get the portletResponse from the page context as it is nicer as using the Java reflection mechanism.

Thanks for your answer!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com