struts2配置文件中的内容:
一个常量将struts2的ObjectFactory交给spring管理
<constantname=”struts.ObjectFactory” value=”spring”/>
一个常量将struts2的ui设置为simple
<constantname=”struts.ui.theme” value=”simple”/>
一个常量将struts2的extension定义为:action
<constantname=”struts.action.extensionn” value=”action”/>
包的名字自己起的用来给其他包继承使用
action的路径为包的命名空间+action的名字
action的名字也是自己起的,是action访问路径的一部分
action的名字中的与通配符相关的*代表action类中的方法名
action的类名称为spring配置文件中定义的bean名称,默认是第一个字母小写的简单
类名字