在學習struts2時有用到!的動態調用可是使用過程當中系統報錯: app
There is no Action mapped for namespace [/user] and action name [userAdd!add] associated with context path [/Struts2_0100]. 學習
解決方法:感嘆號方式(須要開啓),官網不推薦使用這種方式,建議不要使用.用這種方式須要先開啓一個開關 <constant name="struts.enable.DynamicMethodInvocation" value="true" /> spa