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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 A{mv[x-XN  
'`Eb].s*  
struts.action.extension %EA|2O.D  
      The URL extension to use to determine if the request is meant for a Struts action Dbt"}#uit;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?4Z`^uy  
uc]]zI6  
struts.configuration ?yop#tjCbY  
      The org.apache.struts2.config.Configuration implementation class ,h,DB=!K<  
        org.apache.struts2.config.Configuration接口名 $8gj}0}eH  
VWqmqR%  
struts.configuration.files };"-6e/9  
      A list of configuration files automatically loaded by Struts 7M*&^P\}es  
      struts自动加载的一个配置文件列表 f QSP]?  
5[3vu p?  
struts.configuration.xml.reload BH"f\oc  
      Whether to reload the XML configuration or not R&Y+x;({  
      是否加载xml配置(true,false) ^6R?UG;6  
1sgI,5liUs  
struts.continuations.package w.w(*5[  
      The package containing actions that use Rife continuations K*^3FO}JG  
      含有actions的完整连续的package名称 gE$D#PZa  
ha+)ZF  
struts.custom.i18n.resources cKt=_4Lf  
      Location of additional localization properties files to load ?7>G\0G  
      加载附加的国际化属性文件(不包含.properties后缀) 8,unq3  
S- {=4b'  
struts.custom.properties .YYfba#{  
      Location of additional configuration properties files to load C;]}Ht:~I  
      加载附加的配置文件的位置 w1tWyKq  
UXpF$=  
S"+X+Oxp7?  
struts.devMode 1vw [{.wC  
      Whether Struts is in development mode or not BZHba8c(  
      是否为struts开发模式 4e OS+&  
MYyV{W*T>  
struts.dispatcher.parametersWorkaround 1.29%O8V_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o~<ith$A*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) />^sGB  
}7)iLfi  
struts.enable.DynamicMethodInvocation %l{0z<  
      Allows one to disable dynamic method invocation from the URL BMaw]D  
        允许动态方法调用 h=:Ls]ZU  
+9EG6"..@H  
struts.freemarker.manager.classname xZbiEDU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hO8~Rg   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KV&4Ep#  
tZ|0wPp  
struts.i18n.encoding t5t!-w\M$+  
      The encoding to use for localization messages f8ucJ.{"  
      国际化信息内码 >~_oSC)E  
'0ks`a4q  
struts.i18n.reload T,G38  
      Whether the localization messages should automatically be reloaded Z'hHXSXM  
      是否国际化信息自动加载 l-/fFy)T  
lqaOLZH  
struts.locale ::<v; `l  
      The default locale for the Struts application 6l Suzu  
      默认的国际化地区信息 \3K%>   
qXF#qS-28  
struts.mapper.class OoIs'S-Z#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nC6 ;:uM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ec2?'*s   
eHX;*~e6)  
struts.multipart.maxSize J_-K"T|f  
      The maximize size of a multipart request (file upload) =[_=y=G  
      multipart请求信息的最大尺寸(文件上传用) W=-:<3XL  
gXy'@ !  
struts.multipart.parser I 0vJJP#  
      The org.apache.struts2.dispatcher.multipart. bf4QW JZD  
      MultiPartRequest parser implementation for a multipart request (file upload) p)&Yr  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^uCZO  
b+/z,c6w  
8u|F %Sg  
struts.multipart.saveDir q0sdL86  
      The directory to use for storing uploaded files lEXER^6  
      设置存储上传文件的目录夹 Ea<kc[Q  
Y'&rSHI"  
struts.objectFactory wk9qyv<  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;N(9nX}%)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %3kS;AaA  
Kry^ 47"  
struts.objectFactory.spring.autoWire B'}pZOa[Wb  
      Whether Spring should autoWire or not k]"DsN$  
      是否自动绑定Spring a[ Y\5Ojm  
9]4W  
struts.objectFactory.spring.useClassCache Rlwewxmr  
      Whether Spring should use its class cache or not  I?R?rW  
      是否spring应该使用自身的cache YJm64H,[  
goje4;  
struts.objectTypeDeterminer \2#j1/d4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *S= c0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {kOTQG?y  
c,L{Qv"n{  
struts.serve.static.browserCache Dkyw3*LCn%  
If static content served by the Struts filter should set browser caching header properties or not Eb~e=){  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -Cc2|~n  
hd%O\D?  
struts.serve.static GNX`~%3KYc  
      Whether the Struts filter should serve static content or not s`dwE*~  
      是否struts过滤器应该提供静态内容 /D~MHO{  
\ $Q?  
struts.tag.altSyntax v/G)E_  
      Whether to use the alterative syntax for the tags or not ^3O`8o  
      是否可以用替代的语法替代tags hi0-Sw  
f?BApm  
struts.ui.templateDir d`sIgll&n  
      The directory containing UI templates d>gN3}tT  
      UI templates的目录夹 `gE_u  
Mh@RO|F  
struts.ui.theme Aa!#=V1d  
      The default UI template theme =u<jxV9  
      默认的UI template主题 Vg^,Ky,  
8S#TOeQ  
struts.url.http.port [J\! 2\Oo  
      The HTTP port used by Struts URLs UZ-[vD1n  
      设置http端口 ;y]BXW&l&  
B!AJ*  
struts.url.https.port >k9W+mk  
      The HTTPS port used by Struts URLs ,7os3~Mk9  
      设置https端口 h { M=V  
f\X7h6k8{  
struts.url.includeParams W%P$$x5&  
      The default includeParams method to generate Struts URLs V]W-**j<  
      在url中产生 默认的includeParams 8dlhL8#  
?656P=b)  
&'"dYZj{  
struts.velocity.configfile #4Ltw ,b^  
      The Velocity configuration file path 9iM[3uyO  
      velocity配置文件路径 V2o1~R~  
tk66Ggi[K  
struts.velocity.contexts "VgPaz#  
      List of Velocity context names J|@kF!6  
      velocity的context列表 =v6qr~  
$^5c8wT  
0NMmN_Lr  
struts.velocity.manager.classname 4YyVh.x  
      org.apache.struts2.views.velocity.VelocityManager implementation class |*y'H*  
      org.apache.struts2.views.velocity.VelocityManager接口名 bF c %  
qt=nN-AC(  
struts.velocity.toolboxlocation 3Q2z+`x'  
      The location of the Velocity toolbox -:|t^RM;FT  
      velocity工具盒的位置 D[Kq`  
struts.xslt.nocache v{O(}@  
      Whether or not XSLT templates should not be cached xF8 8'p'  
      是否XSLT模版应该被缓存 :$^cY>o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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