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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 P) cEYk  
=t`cHs29  
struts.action.extension a|jZg  
      The URL extension to use to determine if the request is meant for a Struts action oKCv$>Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 : _tt9J  
jwUX?`6jX  
struts.configuration &36SX<vZ  
      The org.apache.struts2.config.Configuration implementation class G{I),Y~IF  
        org.apache.struts2.config.Configuration接口名 5 5m\, UG7  
 6']HmM  
struts.configuration.files )XHn.>]nc  
      A list of configuration files automatically loaded by Struts Lx tgf2r  
      struts自动加载的一个配置文件列表 @mmnr?_w  
$rlrR'[H  
struts.configuration.xml.reload QZtQogNy#  
      Whether to reload the XML configuration or not rOz1tY)l0d  
      是否加载xml配置(true,false) 4v`IAR?&K;  
lj UdsUw  
struts.continuations.package l&}}Io$?@  
      The package containing actions that use Rife continuations u`&lTJgF/O  
      含有actions的完整连续的package名称 RWGf]V]6  
YM};85K  
struts.custom.i18n.resources PfZS"yk  
      Location of additional localization properties files to load !?v_.  
      加载附加的国际化属性文件(不包含.properties后缀) !LzA  
G[`1Yw$  
struts.custom.properties r fzNw  
      Location of additional configuration properties files to load 0|J_'-<  
      加载附加的配置文件的位置 7}g4ePYag  
dI&Q5M8  
TL)*onA9  
struts.devMode _CfJKp)  
      Whether Struts is in development mode or not g `%in  
      是否为struts开发模式 cPD_=.&  
&w#!   
struts.dispatcher.parametersWorkaround c!_c, vwrn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fCwE1r*^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .] sJl  
^lAM /  
struts.enable.DynamicMethodInvocation 8;V9%h`P>  
      Allows one to disable dynamic method invocation from the URL tq}45{FH3  
        允许动态方法调用 FY ms]bv  
I#&r5Q  
struts.freemarker.manager.classname NC#F:M;b  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s2#Ia>5!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *8WB($T}  
|1RVm?~i  
struts.i18n.encoding  m1U:&{:^  
      The encoding to use for localization messages T!8^R|!a6  
      国际化信息内码 ](A2,F 9(U  
@p L9a1PJv  
struts.i18n.reload xH xTL>,?  
      Whether the localization messages should automatically be reloaded ~Ix2O   
      是否国际化信息自动加载 z -!w/Bv@  
;Mup@)!j  
struts.locale -cM1]soT  
      The default locale for the Struts application ^J5{quV  
      默认的国际化地区信息 IQRuqp KL  
v6s,lC5qR  
struts.mapper.class B*,)@h  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lI 4tW=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2S{P(B   
K5jt(7i  
struts.multipart.maxSize PDuc;RG  
      The maximize size of a multipart request (file upload) @kqxN\DE  
      multipart请求信息的最大尺寸(文件上传用)  @Fb1D"!  
+yp:douERi  
struts.multipart.parser :-B+W9'5  
      The org.apache.struts2.dispatcher.multipart. d=PX}o^  
      MultiPartRequest parser implementation for a multipart request (file upload) N+=|WeZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 80Dn!9j*  
RqtBz3v  
eHyUY&N/  
struts.multipart.saveDir U}RBgPX!  
      The directory to use for storing uploaded files &ASR2J  
      设置存储上传文件的目录夹 ujZ`T0  
#cu{AdK  
struts.objectFactory _cX}!d!j  
      The com.opensymphony.xwork2.ObjectFactory implementation class @"-\e|[N  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \</!kY*3@t  
kFv*>>X`  
struts.objectFactory.spring.autoWire Zd6ik&S   
      Whether Spring should autoWire or not P[ 2!D)A  
      是否自动绑定Spring T&?g)  
NO o?  
struts.objectFactory.spring.useClassCache ( Jk& U8y  
      Whether Spring should use its class cache or not q(6.VU@  
      是否spring应该使用自身的cache +e-F`k  
x#J9GP.  
struts.objectTypeDeterminer 6O As%QZ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #$I@V4O;#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D\AVZ76F1  
Uj):}xgi'  
struts.serve.static.browserCache `m7<_#Y  
If static content served by the Struts filter should set browser caching header properties or not  X0VS a{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >u?.gJm~  
OG/b5U  
struts.serve.static .eR1\IAm  
      Whether the Struts filter should serve static content or not r3l1I}  
      是否struts过滤器应该提供静态内容 P>V oA  
)*~A|[  
struts.tag.altSyntax z uV%`n  
      Whether to use the alterative syntax for the tags or not "bm|p/A  
      是否可以用替代的语法替代tags m2c'r3UEu  
)l7XZ_gw'  
struts.ui.templateDir ;=Ma+d#  
      The directory containing UI templates ]YgR  
      UI templates的目录夹 apo)cR  
An{>39{  
struts.ui.theme Y%XF64)6  
      The default UI template theme *siX:?l  
      默认的UI template主题 ~U0%}Bbh  
<RY =y?%z  
struts.url.http.port ; oyV8P$  
      The HTTP port used by Struts URLs |ia5Mr"t  
      设置http端口 eV[{c %wN:  
@C)s4{V  
struts.url.https.port jE\ G_>  
      The HTTPS port used by Struts URLs Alxf;[s  
      设置https端口 BNfj0e5b  
)`DVPudiy  
struts.url.includeParams HwUaaK   
      The default includeParams method to generate Struts URLs ?woL17Gt  
      在url中产生 默认的includeParams i]v3CY|3AI  
~"#0rPT  
?veeW6E(  
struts.velocity.configfile ,/\`Rc^n  
      The Velocity configuration file path g8<ODU0[g  
      velocity配置文件路径 h>/teHy /  
?zW'Hi  
struts.velocity.contexts A2|Bbqd  
      List of Velocity context names KD kGQh#9  
      velocity的context列表 V<QpC5  
b^/u9  
)|~&(+Q?]  
struts.velocity.manager.classname qyz%9 9  
      org.apache.struts2.views.velocity.VelocityManager implementation class |_;kQ(,  
      org.apache.struts2.views.velocity.VelocityManager接口名 >Xn,jMUW  
e~]P _53  
struts.velocity.toolboxlocation I-]G{  
      The location of the Velocity toolbox p&(0e,`z/  
      velocity工具盒的位置 -9b=-K.y  
struts.xslt.nocache 1bFZyD"  
      Whether or not XSLT templates should not be cached \p4*Q}t  
      是否XSLT模版应该被缓存 cNWmaCLN$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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