• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I encountered the same problem, anyone know why?
 
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic