struts.ognl.allowStaticMethodAccess=true
For more details on this change check Jira WW-2160I wasted an hour on figuring out why my static method is not called and found this fix with Struts 2.1.x. If you guys are working on 2.1.x then keep this in mind in order to stay away from frustration ;-).
Cheers !!!
- Jay
P.S.: Actually I should have read Struts 2.0.x to Struts 2.1.x migration guide before starting working on Struts 2.1.x


Thanks, I wasted many hours trying to solve this problem too
ReplyDelete