In Struts 2.5 the Strict DMI was extended and it's called Strict Method Invocation aka SMI. You can imagine that the DMI is a "border police", where SMI is a "tax police" and keeps eye on internals. With this version, SMI is enabled by default (strict-method-invocation attribute is set to true by default in struts-default package), you have option to disable it per package - there is no global switch to disable SMI for the whole application.
翻译一下:就是说原先的DMI 严肃模式被扩展成 SMI 严肃模式。并且被 sturts-default 包 给默认启用。 你可以在自己的 struts.xml 文档中 修改。
如下图: