05. struts2中为Action属性注入值

概述 struts2为Action中的属性提供了依赖注入功能 在struts2的配置文件中,咱们能够很方便地为Action中的属性注入值。注意:属性必须提供get,set方法。 配置 <action name="helloworld" class="com.liuyong666.action.HelloWorldAction"> <param name="savePath">/resour
相关文章
相关标签/搜索