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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7,Z<PE  
F9% +7Op^  
struts.action.extension 60A!Gob  
      The URL extension to use to determine if the request is meant for a Struts action `Je1$)%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q2woCx B  
e 6>j gy  
struts.configuration >mJ`904L  
      The org.apache.struts2.config.Configuration implementation class 6o9&FU  
        org.apache.struts2.config.Configuration接口名 HUCJA-OZGL  
2P@6Qe ?  
struts.configuration.files w{*V8S3h9  
      A list of configuration files automatically loaded by Struts l.Ev]G/5  
      struts自动加载的一个配置文件列表 E?KPez  
v+79#qWK|n  
struts.configuration.xml.reload [E6ceX0  
      Whether to reload the XML configuration or not 2g?q4e,  
      是否加载xml配置(true,false) d&Nji%Ej  
P7bb2"_9  
struts.continuations.package Gx}`_[-  
      The package containing actions that use Rife continuations pBv,,d`  
      含有actions的完整连续的package名称 rbIYLVA+V  
k4u/v n`&r  
struts.custom.i18n.resources AcXVfk z  
      Location of additional localization properties files to load QUvSeNSp  
      加载附加的国际化属性文件(不包含.properties后缀) "_dg$j`Y&&  
Ij =NcP  
struts.custom.properties Hy,""Py  
      Location of additional configuration properties files to load GXQ%lQ  
      加载附加的配置文件的位置 z#P`m,~t0  
>#l: ]T  
:i0;jWc b  
struts.devMode soQ[Zg4}  
      Whether Struts is in development mode or not zks7wt]A  
      是否为struts开发模式 d8+@K&z|  
7l =Tl[n  
struts.dispatcher.parametersWorkaround |s(Ih_Zn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `#8kJt  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) fR{_P  
enQW;N1_M  
struts.enable.DynamicMethodInvocation p9u'nDi  
      Allows one to disable dynamic method invocation from the URL r@vt.t0#  
        允许动态方法调用 w{2CV\^>5  
33D2^ Sf6"  
struts.freemarker.manager.classname Gr/}&+S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class C8T0=o/-`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3"v>y]$U  
CxJ3u  
struts.i18n.encoding ='4)E6ea?  
      The encoding to use for localization messages xfI0P0+  
      国际化信息内码 TecMQ0 KD  
UA2KY}pz5  
struts.i18n.reload -mh"["L"  
      Whether the localization messages should automatically be reloaded (U# Oj"  
      是否国际化信息自动加载 Mlo,F1'?>  
1y wdcg  
struts.locale lz<' L. .  
      The default locale for the Struts application k0ai#3iJ  
      默认的国际化地区信息 fsw[ R0B  
.|hsn6i/-  
struts.mapper.class u7RlxA:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class : #?_4D!r  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /d:hW4}<}.  
o 7tUv"Rs  
struts.multipart.maxSize %,HUn`  
      The maximize size of a multipart request (file upload) W SxoGly  
      multipart请求信息的最大尺寸(文件上传用) >JsVIfAF  
Qox/abC h  
struts.multipart.parser YG:^gi  
      The org.apache.struts2.dispatcher.multipart. rTVv6:L  
      MultiPartRequest parser implementation for a multipart request (file upload) DC1.f(cdR  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n^l*oEl  
Eri007?D  
PLz+%L;{  
struts.multipart.saveDir 4u%AZ<-C}m  
      The directory to use for storing uploaded files {J,"iJKop  
      设置存储上传文件的目录夹 U5~aG!E  
&oHr]=xA  
struts.objectFactory 5Ww,vSCV)  
      The com.opensymphony.xwork2.ObjectFactory implementation class :A @f[Y'9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \#Jq%nd  
myN2G?>;  
struts.objectFactory.spring.autoWire _D?/$D7u#%  
      Whether Spring should autoWire or not pL;e(lM  
      是否自动绑定Spring .xmB8 R  
eWex/ m  
struts.objectFactory.spring.useClassCache cNmAr8^}  
      Whether Spring should use its class cache or not r*$f^T!|  
      是否spring应该使用自身的cache %$Py@g  
DeNWh2  
struts.objectTypeDeterminer x"R F[ d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gzSm=6Qw0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .JB1#&B +  
iV?8'^  
struts.serve.static.browserCache xZ`vcS(  
If static content served by the Struts filter should set browser caching header properties or not HpIi-Es7C  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %5KK#w "  
+2 oZML  
struts.serve.static ~J+ qIZge  
      Whether the Struts filter should serve static content or not ^%Cd@!dk  
      是否struts过滤器应该提供静态内容 OAW_c.)5D  
=1R 2`H\  
struts.tag.altSyntax +$(y2F7|u-  
      Whether to use the alterative syntax for the tags or not -X7x~x-  
      是否可以用替代的语法替代tags N5=}0s]e  
CPcUB4a%#  
struts.ui.templateDir n7Eh!<  
      The directory containing UI templates Et-|[ eL  
      UI templates的目录夹 R[v<mo[s  
MMET^SO  
struts.ui.theme 8?kB+}@6X  
      The default UI template theme c1+z(NQ3  
      默认的UI template主题 GIpYx`mHi  
C Q iHk  
struts.url.http.port 6 ]<yR> '  
      The HTTP port used by Struts URLs Ph.RWy")  
      设置http端口 o_Y?s+~i[/  
F^!O\8PFd  
struts.url.https.port Vb JE zl  
      The HTTPS port used by Struts URLs %Y'/_ esH2  
      设置https端口 S\t!7Xs%*U  
uBg#zx  
struts.url.includeParams !J<0.nO/:  
      The default includeParams method to generate Struts URLs Nr,I`x\N  
      在url中产生 默认的includeParams :KG=3un]  
40].:9VG  
d`$w3Hy  
struts.velocity.configfile &{a#8sbf#c  
      The Velocity configuration file path zI S ,N '  
      velocity配置文件路径 3y2L! &'z  
)*uotV  
struts.velocity.contexts 4%_c9nat  
      List of Velocity context names b|kL*{;  
      velocity的context列表 811QpYA  
a+k3wzJ  
j^U"GprA  
struts.velocity.manager.classname -p7 HQ/  
      org.apache.struts2.views.velocity.VelocityManager implementation class :ntAU2)H  
      org.apache.struts2.views.velocity.VelocityManager接口名 DyZ6&*s$  
]qq2VO<b  
struts.velocity.toolboxlocation NhF"%  
      The location of the Velocity toolbox wEI? 9  
      velocity工具盒的位置 &%/T4$'+Y+  
struts.xslt.nocache ,g"JgX  
      Whether or not XSLT templates should not be cached OR+py.vK  
      是否XSLT模版应该被缓存 N;!!*3a9=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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