will handle or should handle the hidden field token so that it does not map to an action. That is kind of what I though it did, or does.
But I am getting this ONGL problem where it is trying to map a value to object usind the name token, so setToken to an object. That does not exist.
I am trying to go through the work flow before any of the params are mapped to there respective objects with corresponding setters, it should filter out all the hidden fields such as token and preventCache.
My application is using
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187)
To intercept the params it should still call struts-default.xml
but it still causes the ttoken error I tried to remove <ww:token/> but it causes a page rendering error. Have to go way think about this over the weekends
Removed <www.token/> and the filters and I did not get the error
ognl.OgnlException: target is null for setProperty(null, "token", [Ljava.lang.String;@304c885c)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1651)
at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
at ognl.SimpleNode.setValue(SimpleNode.java:246)
at ognl.ASTChain.setValueBody(ASTChain.java:172)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
at ognl.SimpleNode.setValue(SimpleNode.java:246)
at ognl.Ognl.setValue(Ognl.java:476)
so it is trying to map the token to a object and is not being filtered out by