File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts new twist on the dojo.preventCache problem

 
Tony Evans
Ranch Hand
Posts: 597
1
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic