Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts new twist on the dojo.preventCache problem

Tony Evans
Ranch Hand
Posts: 598
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking through the struts bug I came across this

"To prevent browser caching, Dojo adds a parameter "dojo.preventCache"
with a random value to the request, this results in an exception like:

2006-12-07 09:54:07,916 ERROR
(com.opensymphony.xwork2.interceptor.ParametersInterceptor:191) -
ParametersInterceptor - [setParameters]: Unexpected Exception catched:
Error setting expression 'dojo.preventCache' with value
'[Ljava.lang.String;@2130c2' "

I am just thinking is this what is causing my error

WARNING: Error setting value
ognl.OgnlException: target is null for setProperty(null, "preventCache", [Ljava.lang.String;@6dc5f0ba)

Its picking up this preventCache an trying to set it as a parameter.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!