Struts2 2.1.6
@ Result (name = "workflowconf", location = "workflowconf. Action", type = "Redirect", Params = {"ID", "% {ID }"})
Even if you add setid (); In workflowconf. Action, an exception is reported:
Caused by: ognl. nosuchpropertyexception: org. Apache. struts2.dispatcher. servletredirectresult. ID
At ognl. objectpropertyaccessor. setproperty (objectpropertyaccessor. Java: 132)
At com. opensymphony. xwork2.ognl. accessor. objectaccessor. setproperty (objectaccessor. Java: 27)
At ognl. ognlruntime. setproperty (osgnlruntime. Java: 1656)
At ognl. astproperty. setvaluebody (astproperty. Java: 101)
At ognl. simplenode. evaluatesetvaluebody (simplenode. Java: 177)
At ognl. simplenode. setvalue (simplenode. Java: 246)
At object. ognl. ognl. setvalue (ognl. Java: 476)
At com. opensymphony. xwork2.ognl. ognlutil. setvalue (ognlutil. Java: 197)
At com. opensymphony. xwork2.ognl. ognlutil. internalsetproperty (ognlutil. Java: 393)
Struts2 bug
Struts2.1.8 fixed
Therefore, upgrade