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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l-Q.@hG  
d\R]>  
struts.action.extension fW,,@2P  
      The URL extension to use to determine if the request is meant for a Struts action b& l/)DU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &%ZiI@O-  
*XCid_{(  
struts.configuration o?Wp[{K  
      The org.apache.struts2.config.Configuration implementation class h5:>o  
        org.apache.struts2.config.Configuration接口名 6U`<+[K7  
d0;$k,  
struts.configuration.files yz CQ  
      A list of configuration files automatically loaded by Struts jBTXs5q  
      struts自动加载的一个配置文件列表 H)Zb_>iV  
 n]N+  
struts.configuration.xml.reload ;0R>Dg  
      Whether to reload the XML configuration or not oBm^RHTZ  
      是否加载xml配置(true,false) R>ak 3Y  
!2R<T/9~  
struts.continuations.package NiCH$+c\  
      The package containing actions that use Rife continuations aa'u5<<W  
      含有actions的完整连续的package名称 $p)7k   
huu v`$~y  
struts.custom.i18n.resources  ;m;a"j5  
      Location of additional localization properties files to load Oh\ +cvbG  
      加载附加的国际化属性文件(不包含.properties后缀) ]7d~,<3R  
Kc>C$}/}$  
struts.custom.properties Jf/X3\0N7  
      Location of additional configuration properties files to load mv,<#<-W  
      加载附加的配置文件的位置 I.M@we/bR}  
t~l uBUF  
/%#LA  
struts.devMode =` b/ip5  
      Whether Struts is in development mode or not #DN5S#Ic  
      是否为struts开发模式 {x+"Ru~7,  
m5G9 B-\?  
struts.dispatcher.parametersWorkaround 4TBK:Vm5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {G+pI2^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O%g%*9  
X/ \5j   
struts.enable.DynamicMethodInvocation fcuU,A  
      Allows one to disable dynamic method invocation from the URL VPKoBJ&  
        允许动态方法调用 |b@H]c;"  
fVU9?^0/)9  
struts.freemarker.manager.classname 5i+0GN3nd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \uumNpB*n  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 AX Y.80+  
UogkQ& B  
struts.i18n.encoding c\n&Z'vK  
      The encoding to use for localization messages ",b3C.  
      国际化信息内码 \8~P3M":c  
jAa{;p"jU  
struts.i18n.reload q*Hf%I"  
      Whether the localization messages should automatically be reloaded \,w*K'B_Y  
      是否国际化信息自动加载 U%Kv}s/(F{  
5kK:1hH7  
struts.locale gbf-3KSp^  
      The default locale for the Struts application Myl!tXawe8  
      默认的国际化地区信息 ]kN<N0;\d  
PP{CK4  
struts.mapper.class DA/l`Pn  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t Z_ni}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 sg.8Sd"]7  
Gj~1eS  
struts.multipart.maxSize 8>E_bxC  
      The maximize size of a multipart request (file upload) n>)'!   
      multipart请求信息的最大尺寸(文件上传用) 0g-bApxz*&  
X"hoDg  
struts.multipart.parser sG/mmZHYzr  
      The org.apache.struts2.dispatcher.multipart. d$3;o&VUNI  
      MultiPartRequest parser implementation for a multipart request (file upload) wIrjWU2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .H M1c  
Y: ~A-_  
%{fa . >6  
struts.multipart.saveDir 4k HFfc  
      The directory to use for storing uploaded files RGeM.  
      设置存储上传文件的目录夹 2 kOFyD  
-:hiLZJ7-  
struts.objectFactory n~1'M/wh  
      The com.opensymphony.xwork2.ObjectFactory implementation class LDj'L~H  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .`iG} j)\  
ElAho3 W  
struts.objectFactory.spring.autoWire \(nb >K  
      Whether Spring should autoWire or not -/#VD&MJO=  
      是否自动绑定Spring j.3#rxq  
; bBz<  
struts.objectFactory.spring.useClassCache ?e`4 s f_~  
      Whether Spring should use its class cache or not -+'fn$  
      是否spring应该使用自身的cache d},IQ,Az:Z  
<Rs#y:  
struts.objectTypeDeterminer }~?B>vZS  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class u,zA^%   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &=1A g}l57  
qk;vn}auD]  
struts.serve.static.browserCache 4(VVEe  
If static content served by the Struts filter should set browser caching header properties or not ho1Mo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 W"m\|x  
A@8Ot-t:\2  
struts.serve.static di@4'$5#  
      Whether the Struts filter should serve static content or not r'kUU] j9  
      是否struts过滤器应该提供静态内容 cTA8F"UGD  
Dq#/Uw#  
struts.tag.altSyntax sr0.4VU1  
      Whether to use the alterative syntax for the tags or not F{#m~4O  
      是否可以用替代的语法替代tags *K9I+t"g  
U4DQ+g(A  
struts.ui.templateDir S$CO T)7  
      The directory containing UI templates z7[TgL7  
      UI templates的目录夹 K[wOK  
|x2 +O  
struts.ui.theme 1'skCR|!<  
      The default UI template theme _RLx;Tn)L  
      默认的UI template主题 HF9\SVR B  
U Hej5-B  
struts.url.http.port y Iab3/#`  
      The HTTP port used by Struts URLs i6"/GSA  
      设置http端口 IETdL{`~  
[}7j0&  
struts.url.https.port \2?p  
      The HTTPS port used by Struts URLs xvZNshkpAX  
      设置https端口 qf/1a CQiP  
Uoskfm  
struts.url.includeParams D;f[7Cac  
      The default includeParams method to generate Struts URLs g/)$-Z)Nu  
      在url中产生 默认的includeParams }PZz(Ms  
-#=y   
.k{omr&Dy5  
struts.velocity.configfile <b-BJ2],k  
      The Velocity configuration file path \JJ>y  
      velocity配置文件路径 pK)*{fC$`  
p^2"g~  
struts.velocity.contexts '}3m('u  
      List of Velocity context names T6X%.tR>`  
      velocity的context列表 'C l}IDF  
rAc Yt9M#  
#q;hX;Va  
struts.velocity.manager.classname wzw`9^B  
      org.apache.struts2.views.velocity.VelocityManager implementation class @WppiZ$  
      org.apache.struts2.views.velocity.VelocityManager接口名 R&z)  
;z6Gk&?  
struts.velocity.toolboxlocation JvA6kw,  
      The location of the Velocity toolbox kmJ {(y)w  
      velocity工具盒的位置 PGT*4r21  
struts.xslt.nocache Qg)=4(<Hr  
      Whether or not XSLT templates should not be cached (nhv#&Fd+  
      是否XSLT模版应该被缓存 br!:g]Vh  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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