aspose file tools*
The moose likes Websphere and the fly likes Getting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Getting "response" object in JSP of type "CacheProxyResponse" ...." Watch "Getting "response" object in JSP of type "CacheProxyResponse" ...." New topic
Author

Getting "response" object in JSP of type "CacheProxyResponse" ....

Pras Tiwari
Ranch Hand

Joined: Nov 07, 2005
Posts: 186
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?

Many thanks in advance.

Pras


********Deserve Before You Desire********
Lancer zhang
Greenhorn

Joined: Jun 10, 2008
Posts: 1
I encountered the same problem, anyone know why?
Liviu Grigorescu
Greenhorn

Joined: May 18, 2009
Posts: 2
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting "response" object in JSP of type "CacheProxyResponse" ....