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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =#5D(0Ab  
JM$.O;y -  
struts.action.extension n ?[/ufl  
      The URL extension to use to determine if the request is meant for a Struts action D8K-K]W@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fCAiLkT,C[  
PrF}a<:n:  
struts.configuration HYr}wG  
      The org.apache.struts2.config.Configuration implementation class k4J8O3E  
        org.apache.struts2.config.Configuration接口名 :)f7A7:;  
mbl]>JsQD  
struts.configuration.files z~6y+  
      A list of configuration files automatically loaded by Struts Eq% @"-m o  
      struts自动加载的一个配置文件列表 td2/9|Q  
_Yb _D/  
struts.configuration.xml.reload 10Wz,vW,n  
      Whether to reload the XML configuration or not 5}ie]/[|  
      是否加载xml配置(true,false) a[bBT@f  
Uh}seB#mJj  
struts.continuations.package 2U kK0ls  
      The package containing actions that use Rife continuations vEM(bT=H  
      含有actions的完整连续的package名称 :S@1  
vQVK$n`  
struts.custom.i18n.resources T<yP* b2E  
      Location of additional localization properties files to load Rn%N&1 Ef  
      加载附加的国际化属性文件(不包含.properties后缀) -a Gcf]6  
}0 hL~i  
struts.custom.properties >M!xiQX  
      Location of additional configuration properties files to load vY|^/[x#B  
      加载附加的配置文件的位置 | aQ"3d  
l*b)st_p%  
GnXNCeE`  
struts.devMode iL{M+Ic  
      Whether Struts is in development mode or not ChryJRuwv5  
      是否为struts开发模式 jdeV|H} u  
n@C~ev@%S  
struts.dispatcher.parametersWorkaround `?\tUO2_T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .V9e=yW!*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Rr(* aC2P  
hw_JDv+  
struts.enable.DynamicMethodInvocation {MAQ/5  
      Allows one to disable dynamic method invocation from the URL inPJ2uBD\^  
        允许动态方法调用 )Ag/Qep  
g_*T?;!.U  
struts.freemarker.manager.classname 7DW]JK l  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @(``:)Z<b  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;Lw{XqT  
"yz iXT@V  
struts.i18n.encoding :R6bq!  
      The encoding to use for localization messages %,@vWmn  
      国际化信息内码 B (/U3}w-  
7z6 b@$,  
struts.i18n.reload Oh.ZPG=  
      Whether the localization messages should automatically be reloaded 6}~pq1IF{  
      是否国际化信息自动加载 WlB' YL-`g  
sH,kW|D  
struts.locale 5 v^yQ<70  
      The default locale for the Struts application gV1[3dW  
      默认的国际化地区信息 Q0?\]2eet9  
Ph&urxH@  
struts.mapper.class J`M&{UP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C;AA/4Ib  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %sh>;^58P  
pi(-A  
struts.multipart.maxSize 80}+MWdo  
      The maximize size of a multipart request (file upload) n>,L=wV  
      multipart请求信息的最大尺寸(文件上传用) Bsf7mcXz7z  
TjWE_Bq]g  
struts.multipart.parser }*]B-\>  
      The org.apache.struts2.dispatcher.multipart. c97{Pu  
      MultiPartRequest parser implementation for a multipart request (file upload) r r`;W}3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ubMOD<  
09KcKhFB  
idc`p?XP  
struts.multipart.saveDir  v7  
      The directory to use for storing uploaded files =-cwXo{Q.O  
      设置存储上传文件的目录夹 %\O#&=$E  
%z]U LEYrZ  
struts.objectFactory h<<>3A  
      The com.opensymphony.xwork2.ObjectFactory implementation class m .IU ;cR  
      com.opensymphony.xwork2.ObjectFactory接口(spring) lLq<xf  
6\7nc FO3  
struts.objectFactory.spring.autoWire 8eIUsI.o  
      Whether Spring should autoWire or not L(S'6z~_9  
      是否自动绑定Spring Xy,lA4IP  
k;PAh>8  
struts.objectFactory.spring.useClassCache ?,P3)&3g  
      Whether Spring should use its class cache or not (;x3} ]  
      是否spring应该使用自身的cache p=GWq(S6  
mpC`Yk  
struts.objectTypeDeterminer 5[l8y ,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i!2TH~zl  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 w1x" c>1C  
"@@I!RwA  
struts.serve.static.browserCache _CBWb  
If static content served by the Struts filter should set browser caching header properties or not j| Wv7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hDP/JN8y  
1Q;}z Hd  
struts.serve.static G2 ]H6G$M  
      Whether the Struts filter should serve static content or not [%~ :@m  
      是否struts过滤器应该提供静态内容 (YBMsh  
[L`ZE*z  
struts.tag.altSyntax Sgim3):Z  
      Whether to use the alterative syntax for the tags or not 7qOa ;^T  
      是否可以用替代的语法替代tags 7*Qk`*Ii  
#1c]PX  
struts.ui.templateDir h2z_,`iS7  
      The directory containing UI templates T J^u"j-'  
      UI templates的目录夹 ,jA)wJ  
|yyO q  
struts.ui.theme @WH@^u  
      The default UI template theme R_] {2~J+  
      默认的UI template主题 -U~   
VUTacA Y>L  
struts.url.http.port ~AY N  
      The HTTP port used by Struts URLs -aRU]kIf  
      设置http端口 dca ;'$  
I{JU-J k|  
struts.url.https.port rn DCqv!'P  
      The HTTPS port used by Struts URLs J{[n?/A{  
      设置https端口 V$0dtvGvH  
T@}|zDC#  
struts.url.includeParams R(.}C)q3  
      The default includeParams method to generate Struts URLs G 6VF>2  
      在url中产生 默认的includeParams Vc^HVyAx@n  
[' z[  
!$2Z-!  
struts.velocity.configfile 8u[-'pV!  
      The Velocity configuration file path ly% F."v  
      velocity配置文件路径 VxP&j0M>  
T5urZq*R  
struts.velocity.contexts - (#I3h;I  
      List of Velocity context names )9,  
      velocity的context列表 y(R? ,wa=]  
FZreP.2)!  
[dtbkQt,c  
struts.velocity.manager.classname r&-m=Kk$  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5J8r8` t  
      org.apache.struts2.views.velocity.VelocityManager接口名 TJE\A)|>g  
Cg*H.f%Mr  
struts.velocity.toolboxlocation $/Aj1j`"9+  
      The location of the Velocity toolbox MO;X>D=  
      velocity工具盒的位置 2VW}9O  
struts.xslt.nocache q&C""!h^  
      Whether or not XSLT templates should not be cached ]weoTn:  
      是否XSLT模版应该被缓存 jYNrD"n  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八