Jos*_*osh 2 struts2 properties actioncontext
假设我有一个带有定义值uploads.directory的struts.properties文件.如何以编程方式从Actioncontext访问该值?
您可以使用getText("some.property.name")返回属性值
http://struts.apache.org/maven/struts2-core/apidocs/com/opensymphony/xwork2/ActionSupport.html
| 归档时间: |
|
| 查看次数: |
29682 次 |
| 最近记录: |