wood burning stoves*
The moose likes Struts and the fly likes struts new twist on the dojo.preventCache problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts new twist on the dojo.preventCache problem" Watch "struts new twist on the dojo.preventCache problem" New topic
Author

struts new twist on the dojo.preventCache problem

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
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.
 
subject: struts new twist on the dojo.preventCache problem
 
Similar Threads
dojo prevent cache error+struts 1.2
from struts 2.0. to 2.1 - tokenSession
Unknown Error in JSTL I guess.
Internationalization issue
ognl.OgnlException: target is null for setProperty(null, "preventCache", [Ljava.lang.String;@6dc5f0b