This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hello, I am facing weired problem in my IBM Portlet Spec based project. I am using WPS5.1 to run my portlet project. In JSP of my portlet application I am getting "response" object of type "com.ibm.ws.cache.servlet.CacheProxyResponse" , while in my jsp I am expecting "response" object of type "com.ibm.wps.pe.pc.legacy.impl.PortletResponseImpl". So when I am executing following code in my jsp it gives me exception:- <%=((PortletResponse)response).encodeNamespace("onFormSubmit")%>
Can you please tell me how I can get "response" object of type "PortletResponse" in my jsp?
A little bit late, but it may be helpfull to other.
This seems to be caused by DynaCache within WAS Console.
To enable/disable it, go to Console->Servers->Application servers->app_srv->Web container settings->Web container->Enable servlet caching
subject: Getting "response" object in JSP of type "CacheProxyResponse" ....