struts.ognl.allowStaticMethodAccess=trueFor more details on this change check Jira WW-2160
I 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 ;-).
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