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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .:Xe*Q  
g}`CdVQ2M<  
struts.action.extension 2MrR|hLx  
      The URL extension to use to determine if the request is meant for a Struts action xo3)ds X  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5 `mVe0uI  
d`*vJ#$> 2  
struts.configuration ,=yIfbFQ  
      The org.apache.struts2.config.Configuration implementation class lcLxqnv  
        org.apache.struts2.config.Configuration接口名 iFT3fP'> 5  
h.%Qn vL  
struts.configuration.files vYun^(_-  
      A list of configuration files automatically loaded by Struts m#(x D~V  
      struts自动加载的一个配置文件列表 D#(L@ {vC  
ov}{UP]a?  
struts.configuration.xml.reload l1j   
      Whether to reload the XML configuration or not Cf 8 - %  
      是否加载xml配置(true,false) J8[Xl.  
dTNgrW`4  
struts.continuations.package 0a;zT O/"v  
      The package containing actions that use Rife continuations 4ov~y1Da)  
      含有actions的完整连续的package名称 RLr-xg$K-t  
dz DssAHy  
struts.custom.i18n.resources .j,&/y&  
      Location of additional localization properties files to load >@\-m  
      加载附加的国际化属性文件(不包含.properties后缀) zXO.NSC[  
*Fs^T^ ?r  
struts.custom.properties Msdwv.jM  
      Location of additional configuration properties files to load DGUU1 vA  
      加载附加的配置文件的位置 !S<~(Ujyw  
B9 {DO  
` OK }q  
struts.devMode p`ZGV97  
      Whether Struts is in development mode or not t)ry)[Dxv  
      是否为struts开发模式 *gKr1}M  
cE#Y,-f  
struts.dispatcher.parametersWorkaround ucO]&'hu:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Kqjeqr@)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b?^<';,5  
"@Fxfd+Ot  
struts.enable.DynamicMethodInvocation (6aZQ`H  
      Allows one to disable dynamic method invocation from the URL uSbg*OA  
        允许动态方法调用 }gt~{9?c  
|1x,_uyQ%  
struts.freemarker.manager.classname @TT[H*,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mcracj[ B  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 s!\L1E  
M>#S z  
struts.i18n.encoding L*38T\  
      The encoding to use for localization messages )HHzvGsL)  
      国际化信息内码 k#M W>  
UJ&,9}L8  
struts.i18n.reload N:zSJW`1  
      Whether the localization messages should automatically be reloaded 1 ErYob.p  
      是否国际化信息自动加载 _E 8SX v  
we? #)9Q<  
struts.locale Ved:w^ ,  
      The default locale for the Struts application F!<x;h(  
      默认的国际化地区信息 8hY)r~!b'  
G 0 yt%qHE  
struts.mapper.class q5Mif\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  -"H9W:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *l} 0x@  
E{B<}n|}&  
struts.multipart.maxSize u?i1n=Ne  
      The maximize size of a multipart request (file upload) Q^OzFfR6  
      multipart请求信息的最大尺寸(文件上传用) e76)z; '  
)}8%Gs4C  
struts.multipart.parser _JXE/  
      The org.apache.struts2.dispatcher.multipart. )$i3j 1[;  
      MultiPartRequest parser implementation for a multipart request (file upload) }8e %s;C  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) lX7^LB  
&3. 8i%  
:'=C/AL  
struts.multipart.saveDir i=UJ*c  
      The directory to use for storing uploaded files }mK_d9dx  
      设置存储上传文件的目录夹 4#uoPkLK  
o%iTYR :x  
struts.objectFactory !{LwX Kf  
      The com.opensymphony.xwork2.ObjectFactory implementation class \~>#<@h  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9|,AhyhO  
(@9-"W  
struts.objectFactory.spring.autoWire `x3c},'@k  
      Whether Spring should autoWire or not &~EOM  
      是否自动绑定Spring :Vc9||k  
FS0SGBo  
struts.objectFactory.spring.useClassCache V7<} ;Lzm  
      Whether Spring should use its class cache or not ~Gza$ K  
      是否spring应该使用自身的cache %,BJkNV  
t/ w>t! q  
struts.objectTypeDeterminer :#vrNg(M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class AmHIG_'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q]C1m<x  
l0f6Lxfz  
struts.serve.static.browserCache $I%]jAh6  
If static content served by the Struts filter should set browser caching header properties or not .*{LPfD|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YDJc@*D  
!% Md9Mu!o  
struts.serve.static (nm&\b~j  
      Whether the Struts filter should serve static content or not H^~!t{\  
      是否struts过滤器应该提供静态内容 i&#c+iTH  
bV ym  
struts.tag.altSyntax ;nbvn  
      Whether to use the alterative syntax for the tags or not L`BLkDm  
      是否可以用替代的语法替代tags 6IA~bkc}  
OB:G5B`  
struts.ui.templateDir 0FBifK  
      The directory containing UI templates }N NyUwFa  
      UI templates的目录夹 Sk xaSJ"  
]v#Q\Q8>  
struts.ui.theme tfO _b5g  
      The default UI template theme _#I0m(  
      默认的UI template主题 i*3'O:Gq  
a[!':-R`s  
struts.url.http.port YGB|6p(  
      The HTTP port used by Struts URLs %O-wMl  
      设置http端口 G7u7x?E:B`  
0X;Dr-3<  
struts.url.https.port xM(  
      The HTTPS port used by Struts URLs G 8@%)$A  
      设置https端口 F-m1GG0s  
e2>gQ p/  
struts.url.includeParams 6xwC1V?:0t  
      The default includeParams method to generate Struts URLs }0I! n@  
      在url中产生 默认的includeParams 5we1q7  
q?wB h^  
V'8 (}(s/  
struts.velocity.configfile %H54^Z<y  
      The Velocity configuration file path / wEr>[8S  
      velocity配置文件路径  )57OZ  
9E+^FZe  
struts.velocity.contexts !|SawT5t   
      List of Velocity context names HRk+2'wjAz  
      velocity的context列表 .d;/6HD[y  
kC)dia{$  
x9a0J1Nb-h  
struts.velocity.manager.classname &}WSfZ0{  
      org.apache.struts2.views.velocity.VelocityManager implementation class Li}yK[\]  
      org.apache.struts2.views.velocity.VelocityManager接口名 lPjgBp{/  
y<Z8+/f`f  
struts.velocity.toolboxlocation 6d,"GT  
      The location of the Velocity toolbox f?)qZPM  
      velocity工具盒的位置 =^6]N~*,D  
struts.xslt.nocache -k'=s{iy  
      Whether or not XSLT templates should not be cached 6;ICX2Wq'  
      是否XSLT模版应该被缓存 W /IyF){  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五