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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8;qOsV)UDT  
GNW$:=0u  
struts.action.extension F42^Uoaz  
      The URL extension to use to determine if the request is meant for a Struts action d*TH$-F!p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yHY2 SXm  
~Xx}:@Ld  
struts.configuration S>5w=RK   
      The org.apache.struts2.config.Configuration implementation class *fY*Wy9  
        org.apache.struts2.config.Configuration接口名 3x(Y+ ymP  
bSTori5  
struts.configuration.files "A[. 7w  
      A list of configuration files automatically loaded by Struts t,Tq3zB  
      struts自动加载的一个配置文件列表 =>S[Dh  
v1$}[&/  
struts.configuration.xml.reload &4wSX{c/P  
      Whether to reload the XML configuration or not +sx(q@  
      是否加载xml配置(true,false) )E",)}Nh  
"X<V>q$0~c  
struts.continuations.package T pCXe\W  
      The package containing actions that use Rife continuations rE "FN~9P  
      含有actions的完整连续的package名称 [ !~8TF  
.&u @-Vm  
struts.custom.i18n.resources fhk(<KZvJ  
      Location of additional localization properties files to load Zp/P/97p  
      加载附加的国际化属性文件(不包含.properties后缀) UaG&HGg]!  
)l*3^kwL{U  
struts.custom.properties tv-SX=T  
      Location of additional configuration properties files to load hXH+C-%{  
      加载附加的配置文件的位置 *k\ ;G?  
L]YJ#5  
hB 'rkjt  
struts.devMode k'v+/6 Y  
      Whether Struts is in development mode or not mb'{@  
      是否为struts开发模式 jz3f{~   
3 JlM{N6+  
struts.dispatcher.parametersWorkaround pl}W|kW}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic nF-l4=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B8wGWZ@  
e0C_ NFS+  
struts.enable.DynamicMethodInvocation \]F Pv7!  
      Allows one to disable dynamic method invocation from the URL af[dkuv  
        允许动态方法调用 ;Zf7|i`R3  
<'T DOYb  
struts.freemarker.manager.classname 9AWP` ~l`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ']!wc8m1"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {#=o4~u%;H  
.Z`xNp  
struts.i18n.encoding U4"&T,'lTL  
      The encoding to use for localization messages 0{!-h  
      国际化信息内码 /`qQWB5b  
;Gu(Yoa}y  
struts.i18n.reload }V/iU_)  
      Whether the localization messages should automatically be reloaded ~Y1nU-  
      是否国际化信息自动加载 6d5q<C_3t  
iOAn/[^xk  
struts.locale 3?k<e  
      The default locale for the Struts application zl, Vj%d  
      默认的国际化地区信息 vqF=kB"P  
6XAofN/5f  
struts.mapper.class !;t6\Z8&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class X&Ospl@H  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6EY 0Fjsi  
nBd(p Oe  
struts.multipart.maxSize >TGc0 z+  
      The maximize size of a multipart request (file upload) Eb'M< ZY  
      multipart请求信息的最大尺寸(文件上传用) t@2MEo  
5HB*  
struts.multipart.parser 5rtE/ {A  
      The org.apache.struts2.dispatcher.multipart. RdjoVCf  
      MultiPartRequest parser implementation for a multipart request (file upload) \+ Ese-la  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |]HA@7B  
+Lr`-</VF  
xNJ*TA[+  
struts.multipart.saveDir nh+h3"-d  
      The directory to use for storing uploaded files Ix@nRc'  
      设置存储上传文件的目录夹 Dz$dJF1 8  
"-HWw?rx/  
struts.objectFactory {p$X*2ReB  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4y)6!p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1Fsa}UK  
>qMzQw2  
struts.objectFactory.spring.autoWire  l:a#B  
      Whether Spring should autoWire or not ?wIw$p>wT  
      是否自动绑定Spring bvl!^xO]  
:VR% I;g;  
struts.objectFactory.spring.useClassCache f]Zj"Tt-  
      Whether Spring should use its class cache or not %xX b5aY  
      是否spring应该使用自身的cache *aYuuRx  
6 ZXRb  
struts.objectTypeDeterminer a!j{A?7Kw.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^= kr`5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I,/E.cRV<  
CQ{pv3)  
struts.serve.static.browserCache y?iW^>|?L=  
If static content served by the Struts filter should set browser caching header properties or not 6,l5Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 FbCuXS=+`  
7a4Z~r27/  
struts.serve.static JGYJ;j{E]  
      Whether the Struts filter should serve static content or not gP ^A  
      是否struts过滤器应该提供静态内容 QNZ#SG8  
"`KT7  
struts.tag.altSyntax :c:}_t{%  
      Whether to use the alterative syntax for the tags or not  bIuOB|  
      是否可以用替代的语法替代tags b-J6{=k^  
5^{2 g^jH6  
struts.ui.templateDir Sq`Zuu9t  
      The directory containing UI templates .;dI&0Z  
      UI templates的目录夹 /i"1e:cK  
y=}o|/5"  
struts.ui.theme Pp;OkI``[  
      The default UI template theme MdnapxuS  
      默认的UI template主题 cVaGgP}\  
0c&DSL}6  
struts.url.http.port Gl4f:`  
      The HTTP port used by Struts URLs ~kI$8oAry  
      设置http端口 i@=(Y~tD`  
Xk:_aJ  
struts.url.https.port a!&<jM  
      The HTTPS port used by Struts URLs DU@SXb  
      设置https端口 ~qE:Nz0@  
!#4b#l(e6  
struts.url.includeParams 1#XZVp;M  
      The default includeParams method to generate Struts URLs CSzu $Hnq  
      在url中产生 默认的includeParams -c[fg+L9  
2FM}" g<8  
cmp@Ow"c  
struts.velocity.configfile Vzh\ 1cF  
      The Velocity configuration file path g]?QV2bX6  
      velocity配置文件路径 Ki[&DvW:  
EiPOY'  
struts.velocity.contexts C jz(-018  
      List of Velocity context names >4?735f=x  
      velocity的context列表 6"2IV  
8&y#LeM1TT  
W#L/|K!S  
struts.velocity.manager.classname Go7 oj'"  
      org.apache.struts2.views.velocity.VelocityManager implementation class QOv@rP/  
      org.apache.struts2.views.velocity.VelocityManager接口名 w*7wSP  
Dd:48sN:Jq  
struts.velocity.toolboxlocation i@ehD@.dH  
      The location of the Velocity toolbox  ^5R2~  
      velocity工具盒的位置 R E9 `T  
struts.xslt.nocache  %d0BQ|  
      Whether or not XSLT templates should not be cached Ee{Y1W  
      是否XSLT模版应该被缓存 rDLgQ{Sea  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五