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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5qW>#pTFVV  
] uyp i#[  
struts.action.extension +)WU:aKI  
      The URL extension to use to determine if the request is meant for a Struts action <=&$+3r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j}",+H v  
2vLun   
struts.configuration fV5$[CL1  
      The org.apache.struts2.config.Configuration implementation class L;$>SLl,  
        org.apache.struts2.config.Configuration接口名 vi UJ4Pn  
|k90aQO  
struts.configuration.files [8IO0lul+  
      A list of configuration files automatically loaded by Struts @-Q l6k  
      struts自动加载的一个配置文件列表 o.A:29KoU  
M1xsGa9h&  
struts.configuration.xml.reload rG6G~ |mS  
      Whether to reload the XML configuration or not 9l &q}  
      是否加载xml配置(true,false) [V:~j1{3  
iaEQF]*cC  
struts.continuations.package l;@+=uVDHm  
      The package containing actions that use Rife continuations N;'c4=M~(  
      含有actions的完整连续的package名称 @QVg5  
#8"oqqYi  
struts.custom.i18n.resources j\~,Gtn>Z  
      Location of additional localization properties files to load -'d:~:1f  
      加载附加的国际化属性文件(不包含.properties后缀) J'|=J   
2I}pX9  
struts.custom.properties jBYv Oy*$Q  
      Location of additional configuration properties files to load G@`F{l  
      加载附加的配置文件的位置 "Mj#P9  
)w M%Ul<s  
O;<wD h)Yt  
struts.devMode 3;BIwb_  
      Whether Struts is in development mode or not =b:XL#VA  
      是否为struts开发模式 { sC Ni  
cZ:jht  
struts.dispatcher.parametersWorkaround XlU\D}zS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #\lvzMjCC  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vnvpb! @Q  
=eQB-Xe8Y  
struts.enable.DynamicMethodInvocation Tt)z[^)%  
      Allows one to disable dynamic method invocation from the URL ?<!q F:r:  
        允许动态方法调用 W^ L ^7  
/_qq(,3  
struts.freemarker.manager.classname bKCE;Wu:G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;F"!$Z/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 MIIl+   
,7&\jET5^0  
struts.i18n.encoding (V6bX]<  
      The encoding to use for localization messages I!Z`'1"  
      国际化信息内码 3t TOs  
~hvj3zC5xz  
struts.i18n.reload ~k?rP}>0  
      Whether the localization messages should automatically be reloaded -|m3=#  
      是否国际化信息自动加载 JK =A=  
#!R>`l(S  
struts.locale }b(h D|e  
      The default locale for the Struts application Mc@9ivwL#  
      默认的国际化地区信息 JfN5#+_i  
!t23 _b0  
struts.mapper.class  *XhlIQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =){ G  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0AQ4:KV(Y  
"?3=FBp&  
struts.multipart.maxSize f $Agcy  
      The maximize size of a multipart request (file upload) "i;.>  
      multipart请求信息的最大尺寸(文件上传用) sq_>^z3T  
c]|vg=W  
struts.multipart.parser 1PwtzH .w  
      The org.apache.struts2.dispatcher.multipart. 7 <^+)DsS?  
      MultiPartRequest parser implementation for a multipart request (file upload) 2 L4[~>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \yJ 4+vo2Q  
DPzW,aIgv  
!+PrgIp>  
struts.multipart.saveDir ISpV={$Zd  
      The directory to use for storing uploaded files Jj \ nye+  
      设置存储上传文件的目录夹 hUlRtt  
_  Lh0  
struts.objectFactory _C/|<Ot:  
      The com.opensymphony.xwork2.ObjectFactory implementation class M?h{'$T  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o7!A(Eu  
8IlUbj  
struts.objectFactory.spring.autoWire QAV6{QShj  
      Whether Spring should autoWire or not 2O=$[b3  
      是否自动绑定Spring kT@ITA22  
]XEyG7D  
struts.objectFactory.spring.useClassCache k2D*`\ D  
      Whether Spring should use its class cache or not S!8<|WO^t  
      是否spring应该使用自身的cache I_ZJnu<  
KY  
struts.objectTypeDeterminer 71nZi`AR  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f 3H uT=n  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 oDA'$]UL  
gGVt ( ^  
struts.serve.static.browserCache 1$T`j2s  
If static content served by the Struts filter should set browser caching header properties or not !.j{vvQ/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'r!!W0-K  
W/2y; @  
struts.serve.static ]vQa~}  
      Whether the Struts filter should serve static content or not _R\FB|_  
      是否struts过滤器应该提供静态内容 ?C2(q6X+s  
kC.dJ2^j+  
struts.tag.altSyntax mw5>[  
      Whether to use the alterative syntax for the tags or not CB#2XS>V  
      是否可以用替代的语法替代tags ^&YtZjV  
K:U=Y$x  
struts.ui.templateDir fF0K].  
      The directory containing UI templates ' bl9fO4v  
      UI templates的目录夹 ; pBLmm*F  
u;t<rEC2  
struts.ui.theme 1 Gr^,Ry  
      The default UI template theme jv~#'=T'  
      默认的UI template主题 F `:Q  
Eq)b=5qrG?  
struts.url.http.port wMCMrv:  
      The HTTP port used by Struts URLs t`JT  
      设置http端口 @:zC!dR)G  
s1_Y~<y X  
struts.url.https.port $JOz7j(  
      The HTTPS port used by Struts URLs bDvGFSAH  
      设置https端口 j>JBZ#g  
d8: $ll  
struts.url.includeParams bKS/T^UQ  
      The default includeParams method to generate Struts URLs EcHZ mf  
      在url中产生 默认的includeParams I'P|:XKI  
2`]c&k;]  
%.$!VTO"  
struts.velocity.configfile uY~mi9E  
      The Velocity configuration file path /9ORVV  
      velocity配置文件路径 n8EKTuy  
Ja3#W K  
struts.velocity.contexts lD$s, hp  
      List of Velocity context names \>:t={>;  
      velocity的context列表 Ye On   
J8~hIy6]  
hD5@PeLh  
struts.velocity.manager.classname cY!Y?O  
      org.apache.struts2.views.velocity.VelocityManager implementation class {O _X/y~  
      org.apache.struts2.views.velocity.VelocityManager接口名 aZ~e;}w.Zq  
X]}ai5  
struts.velocity.toolboxlocation I '0[  
      The location of the Velocity toolbox co\?SgE35  
      velocity工具盒的位置 TYuP EVEXZ  
struts.xslt.nocache ph6/+[:  
      Whether or not XSLT templates should not be cached oX)a6FXK>  
      是否XSLT模版应该被缓存 <. Tllk@r)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五