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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %<a3[TQd`\  
+h+ 7Q'k  
struts.action.extension T$%QK?B  
      The URL extension to use to determine if the request is meant for a Struts action S`zu.8%5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8a)Brl}u  
rf4f'cUa  
struts.configuration Q2r[^Z  
      The org.apache.struts2.config.Configuration implementation class ;*j K!  
        org.apache.struts2.config.Configuration接口名 aK;OzB)  
{}k3nJfE  
struts.configuration.files k?&GL!?  
      A list of configuration files automatically loaded by Struts %A'mXatk  
      struts自动加载的一个配置文件列表 Xm>zT'B_tJ  
;hO6 p  
struts.configuration.xml.reload _.V5-iN  
      Whether to reload the XML configuration or not ~5%3]  
      是否加载xml配置(true,false) ;<Hk Cd  
."^\1N(.n  
struts.continuations.package |C z7_Rn  
      The package containing actions that use Rife continuations .!0Rh9yyl  
      含有actions的完整连续的package名称 9?O8j1F  
=Q<7[  
struts.custom.i18n.resources + c3pe4  
      Location of additional localization properties files to load *->*p35  
      加载附加的国际化属性文件(不包含.properties后缀) mHW%:a\L  
>.`*KQdan  
struts.custom.properties vr4r,[B6y  
      Location of additional configuration properties files to load E~fb#6  
      加载附加的配置文件的位置 gggD "alDx  
2XeyNX  
sBa:|(Y.  
struts.devMode d wG!]j>:_  
      Whether Struts is in development mode or not ud5}jyJ  
      是否为struts开发模式 3lZl  
vVvF e~y]  
struts.dispatcher.parametersWorkaround nCWoco.xy  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gFHBIN;u  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2p](`Y`  
&T0]tzk*,  
struts.enable.DynamicMethodInvocation I@6+AU~,6  
      Allows one to disable dynamic method invocation from the URL b)KEB9w  
        允许动态方法调用 `MPR-"Z6  
k &J;,)V  
struts.freemarker.manager.classname ,m?V3xvq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s.Z{mnD6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 xCXsyZ2h  
tyW}=xs  
struts.i18n.encoding uuwJ-  
      The encoding to use for localization messages c( U,FUS  
      国际化信息内码 !"qT2<A  
[niFJI sc  
struts.i18n.reload R3_OCM_*  
      Whether the localization messages should automatically be reloaded [.xY>\e  
      是否国际化信息自动加载 t :YZua  
P8By~f32_  
struts.locale 4>V@+#Ec5  
      The default locale for the Struts application 5wx~QV=Hh  
      默认的国际化地区信息 1mJUl x  
JZ-@za6u  
struts.mapper.class sYDav)L.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c:0n/DC  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !;*flr`/  
b_F1?:#  
struts.multipart.maxSize ,:L^vG@*  
      The maximize size of a multipart request (file upload) v5a\}S<(  
      multipart请求信息的最大尺寸(文件上传用) Ly8=SIZ   
z/4<x?}+hE  
struts.multipart.parser Uvm.|p_V  
      The org.apache.struts2.dispatcher.multipart. I@Hx LEGj  
      MultiPartRequest parser implementation for a multipart request (file upload) G-9i   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1] =X  
N~=PecQ  
0*5Jq#5  
struts.multipart.saveDir -F`GZ  
      The directory to use for storing uploaded files 2yn"K|  
      设置存储上传文件的目录夹 |\uj(|  
<dP \vLH_  
struts.objectFactory i;C` .+  
      The com.opensymphony.xwork2.ObjectFactory implementation class )4B`U(%M~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) zX*5yNd  
_`;KmD&5  
struts.objectFactory.spring.autoWire }B7Txo,Z  
      Whether Spring should autoWire or not |}z5ST%  
      是否自动绑定Spring h'&<A_C-7  
~%=%5}  
struts.objectFactory.spring.useClassCache TIiYic!_~  
      Whether Spring should use its class cache or not \MRd4vufv  
      是否spring应该使用自身的cache 4y3c=L No  
v"yu7tZ3N  
struts.objectTypeDeterminer PZqp;!:xz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  hO$Gx*e$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DL4`j>2Ov  
BuRsz6n  
struts.serve.static.browserCache _h ^.`Tz,  
If static content served by the Struts filter should set browser caching header properties or not @H#Fzoo.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,}'8. f  
oH0g>E;  
struts.serve.static QK6_dIvDz  
      Whether the Struts filter should serve static content or not q1u$Sm  
      是否struts过滤器应该提供静态内容 4w ,&#L  
w%qnH e9  
struts.tag.altSyntax O-V] I0  
      Whether to use the alterative syntax for the tags or not Yh1nXkA!V  
      是否可以用替代的语法替代tags Q<AOc\oO  
KO8{eT9d  
struts.ui.templateDir co8R-AB  
      The directory containing UI templates P!f0&W  
      UI templates的目录夹 SzB<PP2  
'J} ?'{.  
struts.ui.theme lq_UCCnv5  
      The default UI template theme C=o-3w  
      默认的UI template主题 Pd&KAu|<`  
)-5eIy  
struts.url.http.port )-[$m%  
      The HTTP port used by Struts URLs 9yTdbpY  
      设置http端口 JW0\y+o~  
yW'{Z]09  
struts.url.https.port [Lje?M* r  
      The HTTPS port used by Struts URLs G?Gf,{#K  
      设置https端口 +8Q @R)3  
Nm&'&L%Ch  
struts.url.includeParams *cWHl@4  
      The default includeParams method to generate Struts URLs 7Ji'7$  
      在url中产生 默认的includeParams D6@ c|O{Q  
;yN Y/  
|%5Aku0`s  
struts.velocity.configfile .-HM{6J  
      The Velocity configuration file path };rp25i  
      velocity配置文件路径 _ s}aF  
NbU4|O i  
struts.velocity.contexts t^MTR6y+8  
      List of Velocity context names AcnY6:3Y|  
      velocity的context列表 } G{"Mp4  
Rq+7&%dy  
dF51_Kk  
struts.velocity.manager.classname W*S4gPGM  
      org.apache.struts2.views.velocity.VelocityManager implementation class L3oL>r'|  
      org.apache.struts2.views.velocity.VelocityManager接口名 LqD7SJ}/f  
?Ybq]J\q  
struts.velocity.toolboxlocation RYvcuA)  
      The location of the Velocity toolbox %,vq@..^  
      velocity工具盒的位置 zdPJ>PNU  
struts.xslt.nocache F5:xrcyC  
      Whether or not XSLT templates should not be cached Lb Jf5xdi  
      是否XSLT模版应该被缓存 6X A(<1P  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五