This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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