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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ng]jpdeA  
2|vArRKt  
struts.action.extension > }#h  
      The URL extension to use to determine if the request is meant for a Struts action &61;v@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7Y$#* 7  
BJI}gm2y  
struts.configuration w%=GdA=  
      The org.apache.struts2.config.Configuration implementation class mzuf l:-=  
        org.apache.struts2.config.Configuration接口名 *')g}2iB  
c\i`=>%b@  
struts.configuration.files /+\m7IS  
      A list of configuration files automatically loaded by Struts Ha l,%W~e  
      struts自动加载的一个配置文件列表 6Z~u2&  
Txkmt$h  
struts.configuration.xml.reload SFrQPdX6V  
      Whether to reload the XML configuration or not E#t;G: +A  
      是否加载xml配置(true,false) =M"H~;f]  
`UFRv   
struts.continuations.package tlw$/tMa  
      The package containing actions that use Rife continuations ]>R|4K_  
      含有actions的完整连续的package名称 yT Pi/=G  
(are2!Oq  
struts.custom.i18n.resources ~b+TkPU   
      Location of additional localization properties files to load Qq;` 9-&j  
      加载附加的国际化属性文件(不包含.properties后缀) 8'Dp3x^W>  
W=T3sp V  
struts.custom.properties KlMrM% ;y  
      Location of additional configuration properties files to load Z$R6'EUb1  
      加载附加的配置文件的位置 /\L|F?+@  
H=E`4E#k  
-.A%c(|Q  
struts.devMode P(I`^x  
      Whether Struts is in development mode or not 5~T`R~Uqb  
      是否为struts开发模式 BKDs3?&  
>AsD6]  
struts.dispatcher.parametersWorkaround )Lht}I ]:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic av>c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E"l&<U  
rj qX|  
struts.enable.DynamicMethodInvocation tx}} Kd  
      Allows one to disable dynamic method invocation from the URL J(*q OGBD  
        允许动态方法调用 aY8"Sw|4  
l2uh"!  
struts.freemarker.manager.classname (vm &&a@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class sS5 ]d8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Rk2V[R.`S  
EL!V\J`S_  
struts.i18n.encoding DA)+)PhY7K  
      The encoding to use for localization messages Q3MG+@)S  
      国际化信息内码 8<(qN> R  
1PWs">*(  
struts.i18n.reload Bw-<xwD  
      Whether the localization messages should automatically be reloaded "p>$^   
      是否国际化信息自动加载 NNZ%jJy?=,  
":E^&yQ  
struts.locale _EeH  
      The default locale for the Struts application \u@4 eBAV  
      默认的国际化地区信息 `]^0lD=eI  
jf0D  
struts.mapper.class ~m^.&mv3/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~ZeF5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (9:MIP  
' uvTOgP,  
struts.multipart.maxSize Jlw<% }r  
      The maximize size of a multipart request (file upload) 9{{QdN8  
      multipart请求信息的最大尺寸(文件上传用) 2N_8ahc  
=}N&c4I[j  
struts.multipart.parser a1Q|su{H  
      The org.apache.struts2.dispatcher.multipart. fE"Q:K6r2  
      MultiPartRequest parser implementation for a multipart request (file upload) N9LBji;nH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $ o rN>M42  
^'EeJN  
(.Hiee43  
struts.multipart.saveDir bJc<FL<E  
      The directory to use for storing uploaded files Ed[ tmaEuV  
      设置存储上传文件的目录夹 Q!DH8'|4?L  
L/Cp\|~ O  
struts.objectFactory g_lj/u]P  
      The com.opensymphony.xwork2.ObjectFactory implementation class n1OxT"tD  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .kpL?_  
`N$:QWJ  
struts.objectFactory.spring.autoWire 3nb&Z_/e  
      Whether Spring should autoWire or not VW^6qf/,  
      是否自动绑定Spring pvL)BD  
)N[9r{3  
struts.objectFactory.spring.useClassCache ]v=*WK  
      Whether Spring should use its class cache or not i^j1 i  
      是否spring应该使用自身的cache 0$)CWah  
+We_[Re`<  
struts.objectTypeDeterminer 0TA{E-A   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D BDHe-1[+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *0>![v  
^Rr0)4ns  
struts.serve.static.browserCache j)4:*R.Z]  
If static content served by the Struts filter should set browser caching header properties or not +_Nr a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,ra!O=d~0  
""cnZZ5)  
struts.serve.static 4yhan/zA  
      Whether the Struts filter should serve static content or not #/fh_S'Z  
      是否struts过滤器应该提供静态内容 O~t]:p9_  
4]L5%=atn  
struts.tag.altSyntax kO:|?}Koc  
      Whether to use the alterative syntax for the tags or not d-e6hI4b  
      是否可以用替代的语法替代tags Yud]s~N  
, 'WhF-  
struts.ui.templateDir R=uzm=&nR  
      The directory containing UI templates ^mWOQ*zi;  
      UI templates的目录夹 /Q h  
{"X n`@Y  
struts.ui.theme b~;gj^  
      The default UI template theme -# 0(Jm'  
      默认的UI template主题 1Rlg%G'  
}SL&Y`Y]  
struts.url.http.port rQ~7BlE  
      The HTTP port used by Struts URLs 9>gxJ7pY  
      设置http端口 r{y&}gA  
qYD$_a  
struts.url.https.port }Rujh4*  
      The HTTPS port used by Struts URLs ~{GbuoH  
      设置https端口 r!H'8O!  
m80e^  
struts.url.includeParams G-`4TQ  
      The default includeParams method to generate Struts URLs X}T/6zk  
      在url中产生 默认的includeParams 0k]$ he;h  
h`O"]2  
Z05kn{<a8  
struts.velocity.configfile <9zzjgzG{c  
      The Velocity configuration file path *&$J.KM  
      velocity配置文件路径 %UIR GI  
r)Q/YzXx*  
struts.velocity.contexts ? yL3XB>  
      List of Velocity context names T(LqR?xOo  
      velocity的context列表 !|!k9~v!  
^PwZP;On  
#_]/Mr1  
struts.velocity.manager.classname @qP uYFnw  
      org.apache.struts2.views.velocity.VelocityManager implementation class y$,K^f  
      org.apache.struts2.views.velocity.VelocityManager接口名 =MQpYX  
0ws1S(pq  
struts.velocity.toolboxlocation kKbq?}W[  
      The location of the Velocity toolbox Z>=IP-,>  
      velocity工具盒的位置 1'.SHY|  
struts.xslt.nocache +Sz%2 Q  
      Whether or not XSLT templates should not be cached t8vR9]n  
      是否XSLT模版应该被缓存 L=`QF'Im  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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