struts2使用annotation注意事项

struts2使用annotation注意事项

1.包名只能以.action .actions  .struts  .struts2结尾。如:com.cnbolgs.web.actions

2.类名只能以Action结尾。如: userAction,loginAction

原文地址:https://www.cnblogs.com/mkdlf/p/5976353.html