社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 4853阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V]Sgx00;  
sr\cVv")  
struts.action.extension 5\WUoSgy  
      The URL extension to use to determine if the request is meant for a Struts action =tq1ogE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j(sLK &  
mKM,kY  
struts.configuration {t&*>ma6)  
      The org.apache.struts2.config.Configuration implementation class YNI;h%w  
        org.apache.struts2.config.Configuration接口名 IAYACmlN&  
VrVDm*AGQ  
struts.configuration.files "9w}dQ  
      A list of configuration files automatically loaded by Struts 8yn4}`Nc@  
      struts自动加载的一个配置文件列表 6F(hY !}5  
n,CD  
struts.configuration.xml.reload t ^m~  
      Whether to reload the XML configuration or not ^+wk  
      是否加载xml配置(true,false) Y~}5axSPH  
(Izf L1  
struts.continuations.package /HZv  
      The package containing actions that use Rife continuations ~T% Ui#Gc  
      含有actions的完整连续的package名称 5Dd:r{{ Q  
)9B:Y;>)  
struts.custom.i18n.resources zd.'*Dj  
      Location of additional localization properties files to load "kU]  
      加载附加的国际化属性文件(不包含.properties后缀) o,1Dqg4P3  
/D'M24  
struts.custom.properties z6I%wh  
      Location of additional configuration properties files to load FIS "Z(  
      加载附加的配置文件的位置 *GJ:+U&m[  
RJhK$\  
q(Hip<6p  
struts.devMode ]ENK8bW  
      Whether Struts is in development mode or not a.q;_5\5`  
      是否为struts开发模式 x#r<,uNn,  
nR[^|CAR  
struts.dispatcher.parametersWorkaround cI:-Z{M7z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  m*dNrG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oQ\&}@(V  
k"0;D-lTZ>  
struts.enable.DynamicMethodInvocation A?A9`w  
      Allows one to disable dynamic method invocation from the URL 8vSIf+  
        允许动态方法调用 hF>u)%J/S  
@PX\{6&  
struts.freemarker.manager.classname 2"X~ju  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class id?E)Jy  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 OhFW*v  
"(f`U.  
struts.i18n.encoding 8{ gXToK  
      The encoding to use for localization messages psUE!~9,  
      国际化信息内码 nZ E)_  
%j5ywr:  
struts.i18n.reload mp1ttGUtM  
      Whether the localization messages should automatically be reloaded QIK 9  
      是否国际化信息自动加载 `N'V#)Pi  
(`c G  
struts.locale :h*a rT4{  
      The default locale for the Struts application Jzex]_:1~  
      默认的国际化地区信息 w7 *V^B  
.3X Y&6  
struts.mapper.class A gWPa.'3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +qy6d7^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U\vY/6;JI  
g`[$Xi R  
struts.multipart.maxSize IPtvuEju\  
      The maximize size of a multipart request (file upload) >{nH v)  
      multipart请求信息的最大尺寸(文件上传用) rt}^4IqL  
*yez:qnx  
struts.multipart.parser dYF=c   
      The org.apache.struts2.dispatcher.multipart. Z h'&-c_J  
      MultiPartRequest parser implementation for a multipart request (file upload) d1G8*YO@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H M:r0_  
T1bd:mC}n  
kO_5|6  
struts.multipart.saveDir L l}yJ#3,  
      The directory to use for storing uploaded files K 1W].(-@4  
      设置存储上传文件的目录夹 !20X sO  
Bp_wnd  
struts.objectFactory ?obm7<  
      The com.opensymphony.xwork2.ObjectFactory implementation class G5Ykbw#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;;#`#v  
_A'{la~k  
struts.objectFactory.spring.autoWire {/ 2E*|W~I  
      Whether Spring should autoWire or not tC)6  
      是否自动绑定Spring L0"~[zB]N  
(CE7j<j  
struts.objectFactory.spring.useClassCache MKg,!TELe  
      Whether Spring should use its class cache or not t'(1I|7  
      是否spring应该使用自身的cache {x@|VuL=  
@R q}nq=k  
struts.objectTypeDeterminer ]?K. S6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z^ar.boc  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |.U)ll(c  
q.V-LXM  
struts.serve.static.browserCache {y-^~Q"z  
If static content served by the Struts filter should set browser caching header properties or not rRb+_]Lg  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eUBrzoCO  
,D=fFpn  
struts.serve.static VR0=SE  
      Whether the Struts filter should serve static content or not 1cC1*c0Z  
      是否struts过滤器应该提供静态内容 )^x K   
vhgLcrn  
struts.tag.altSyntax |yY`s6Uq  
      Whether to use the alterative syntax for the tags or not NNkP\oh\  
      是否可以用替代的语法替代tags -x*2t;%z{U  
,o#kRWRG  
struts.ui.templateDir |i7a@'0)  
      The directory containing UI templates ))T>jh   
      UI templates的目录夹  .\:J~(  
 $xgBKD  
struts.ui.theme 2A:,;~UH  
      The default UI template theme wCKj7y[  
      默认的UI template主题 {/8Q)2*>0  
Da1aI]{I  
struts.url.http.port I'!/[\_  
      The HTTP port used by Struts URLs i$^ZTb^  
      设置http端口 (< c7<_-H  
p,W_'?,9  
struts.url.https.port <48<86TP  
      The HTTPS port used by Struts URLs \}"m'(\c  
      设置https端口 >U!*y4  
5M_Wj*a}7  
struts.url.includeParams l=m(mf?QBg  
      The default includeParams method to generate Struts URLs rf K8q'@  
      在url中产生 默认的includeParams Ol/N}M|3  
n"D ?I  
xge7r3i  
struts.velocity.configfile #JW+~FU`  
      The Velocity configuration file path 9pSUIl9|j  
      velocity配置文件路径 3iX?~  
|U' I/A  
struts.velocity.contexts svhI3"r  
      List of Velocity context names kxB.,'  
      velocity的context列表 Y%aWK~O  
rZ03x\2  
-ysn&d\rV  
struts.velocity.manager.classname 7jG(<!,  
      org.apache.struts2.views.velocity.VelocityManager implementation class XNH4vG |  
      org.apache.struts2.views.velocity.VelocityManager接口名 NL"G2[e  
)A8v];.]3  
struts.velocity.toolboxlocation $jzFc!rs  
      The location of the Velocity toolbox hZ$t$3  
      velocity工具盒的位置 A[N{  
struts.xslt.nocache 0 p uY"[c  
      Whether or not XSLT templates should not be cached j<yiNHC  
      是否XSLT模版应该被缓存 P 7D!6q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五