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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4gEw }WiP  
Ui"$A/  
struts.action.extension <#"_Qgdix  
      The URL extension to use to determine if the request is meant for a Struts action (gE<`b  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6b2h\+AP  
!S7?:MJ?p\  
struts.configuration Z$c&Y>@)  
      The org.apache.struts2.config.Configuration implementation class *C|*{!  
        org.apache.struts2.config.Configuration接口名 90F.9rh  
" +{2!  
struts.configuration.files ?HOnDw.v1  
      A list of configuration files automatically loaded by Struts U7/ =| Z  
      struts自动加载的一个配置文件列表 'S74Ys=-0  
Nf* .r  
struts.configuration.xml.reload CD#U`jf  
      Whether to reload the XML configuration or not F@ pf._c  
      是否加载xml配置(true,false) K&{ _s  
|;aZi?Ek[  
struts.continuations.package "ivVIq2  
      The package containing actions that use Rife continuations t:oq't  
      含有actions的完整连续的package名称 BINHCZ  
=^Ws/k  
struts.custom.i18n.resources FmF[S&gFRs  
      Location of additional localization properties files to load uF3{FYM{I  
      加载附加的国际化属性文件(不包含.properties后缀) Exv!!0Cd^  
iu{;|E  
struts.custom.properties WC_U'nTu4  
      Location of additional configuration properties files to load AK'3N1l`  
      加载附加的配置文件的位置 W:j9KhvT  
F#Pn]  
I5[@C<b  
struts.devMode Je"XIhBr  
      Whether Struts is in development mode or not :qR8 e J  
      是否为struts开发模式 N|"q6M !ZL  
|FaK =e  
struts.dispatcher.parametersWorkaround E.N>,N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s)3CosU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2|1CGHj\  
`B8`<3k/(  
struts.enable.DynamicMethodInvocation <jFov`^  
      Allows one to disable dynamic method invocation from the URL ZF#lh]  
        允许动态方法调用 .*595SuF  
\%}]wf}  
struts.freemarker.manager.classname Kx[+$Qt  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )B-[Q#*A-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #@V<{/;49  
e50xcf1u  
struts.i18n.encoding 8eh3K8tL#  
      The encoding to use for localization messages yO\bVu5V  
      国际化信息内码 tNqSCjQ~_c  
J.g6<n  
struts.i18n.reload x6\VIP"9L  
      Whether the localization messages should automatically be reloaded i(e=  
      是否国际化信息自动加载 4 u0?[v[Hu  
n^55G>"0|  
struts.locale {fEb>  
      The default locale for the Struts application U"UsQYa_  
      默认的国际化地区信息 @kT@IQkri  
}43qpJe8U  
struts.mapper.class vz:VegS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MR@Qn[RdM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0[uOKFgE  
G:|]w,^i  
struts.multipart.maxSize 8W Qc8  
      The maximize size of a multipart request (file upload) 0&kmP '  
      multipart请求信息的最大尺寸(文件上传用) /{[tU-}qJ  
hCX/k<}I  
struts.multipart.parser m>w{vqPwJ  
      The org.apache.struts2.dispatcher.multipart. Gf~^Xv!T  
      MultiPartRequest parser implementation for a multipart request (file upload) 3T 0'zJ2f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =kOo(  
Mxd7X<\$  
Z;R/!Py.  
struts.multipart.saveDir 0Nk!.gY  
      The directory to use for storing uploaded files OYa9f[$  
      设置存储上传文件的目录夹 ?caHS2%?ae  
vkYiO]y  
struts.objectFactory D#Mz#\4o  
      The com.opensymphony.xwork2.ObjectFactory implementation class Lcy6G%A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t!FC)iY  
.UN?Ak*R  
struts.objectFactory.spring.autoWire ^x( s !4d]  
      Whether Spring should autoWire or not I&^hG\D  
      是否自动绑定Spring  l]   
X*Q<REDB  
struts.objectFactory.spring.useClassCache u Vv %k5  
      Whether Spring should use its class cache or not EuVA"~PA  
      是否spring应该使用自身的cache *|6vCR  
j39"iAn  
struts.objectTypeDeterminer u?z,Vs"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w&hCt c  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [%Z{Mp'g  
@o<B>$tbu4  
struts.serve.static.browserCache VGCd)&s  
If static content served by the Struts filter should set browser caching header properties or not v}!^RW 'X  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ='e_9b\K  
;kG"m7-/  
struts.serve.static |1(L~g  
      Whether the Struts filter should serve static content or not 9RK.+ 2  
      是否struts过滤器应该提供静态内容 lEQj62zIQ  
iK5[P  
struts.tag.altSyntax Oq}7q!H  
      Whether to use the alterative syntax for the tags or not vMJ_n=Vf  
      是否可以用替代的语法替代tags c4Q%MRR  
X VH( zJ  
struts.ui.templateDir ,x3< a}J  
      The directory containing UI templates VYH $em6  
      UI templates的目录夹 :yw(Co]f  
79jnYjk  
struts.ui.theme ^`$-c9M?'  
      The default UI template theme BuitM|k'  
      默认的UI template主题 y<BG-  
Xoq -  
struts.url.http.port Smh=Q4,W  
      The HTTP port used by Struts URLs $p }q,f.  
      设置http端口 `lbRy($L  
%w!x \UV  
struts.url.https.port :;]O;RXt  
      The HTTPS port used by Struts URLs r'*#i>PkQD  
      设置https端口  Oo~   
V72?E%d0  
struts.url.includeParams #2*R0_b  
      The default includeParams method to generate Struts URLs \z@ :OR,  
      在url中产生 默认的includeParams Wrm3U/>e  
:hf%6N='kI  
l['ER$(7  
struts.velocity.configfile OSh'b$Z  
      The Velocity configuration file path gla'urb[i|  
      velocity配置文件路径 i DsY 5l  
pG v*{.  
struts.velocity.contexts |$GPJaNqa  
      List of Velocity context names *^Z -4  
      velocity的context列表 GJF ,w{J  
y"_rDj`  
O^3XhTW^\~  
struts.velocity.manager.classname w`/~y   
      org.apache.struts2.views.velocity.VelocityManager implementation class *iSE)[W  
      org.apache.struts2.views.velocity.VelocityManager接口名 g`6I,6G  
.F\[AD 5  
struts.velocity.toolboxlocation z4]z3U<}3]  
      The location of the Velocity toolbox AZ\f6r{  
      velocity工具盒的位置 J'wJe,  
struts.xslt.nocache $9 G".T  
      Whether or not XSLT templates should not be cached d]?fL&jr  
      是否XSLT模版应该被缓存 0yb9R/3.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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