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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >jpk R  
F+?g0w['  
struts.action.extension kTm>`.kKJ=  
      The URL extension to use to determine if the request is meant for a Struts action }Bn`0;]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GqD_6cdh  
>+2gAO!  
struts.configuration OLyl.#J  
      The org.apache.struts2.config.Configuration implementation class 3ULn ]jA  
        org.apache.struts2.config.Configuration接口名 Ogp@!  
VU \{<j{  
struts.configuration.files 1ika'  
      A list of configuration files automatically loaded by Struts 0-Vx!(  
      struts自动加载的一个配置文件列表 !Bn,f2  
y/!jC]!+c  
struts.configuration.xml.reload T7j,%ay9  
      Whether to reload the XML configuration or not H]Vo XJ\*  
      是否加载xml配置(true,false) T&s}~S=m  
_#T bO fu  
struts.continuations.package d2Ox:| <)  
      The package containing actions that use Rife continuations Q ;$NDYV1  
      含有actions的完整连续的package名称 NnqAr ,  
&v<Am%!N  
struts.custom.i18n.resources /@+[D{_Fw  
      Location of additional localization properties files to load ?m dGMf)  
      加载附加的国际化属性文件(不包含.properties后缀) 5ii:93Hlj  
h"On9  
struts.custom.properties ,")/R/d  
      Location of additional configuration properties files to load T:!Re*=JJ  
      加载附加的配置文件的位置 (GbZt{.  
x4;ndck%U  
YQ7tZl;:t  
struts.devMode >m8~Fs0  
      Whether Struts is in development mode or not -*~~ 00w  
      是否为struts开发模式 GbJVw\5Z*  
"UTAh6[3oD  
struts.dispatcher.parametersWorkaround Fle pM*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Jn)DZv8?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6G]hs gro  
c^`(5}39v  
struts.enable.DynamicMethodInvocation Pze{5!  
      Allows one to disable dynamic method invocation from the URL `E-cf7%  
        允许动态方法调用 R6-Z]H u  
_/cL"Wf  
struts.freemarker.manager.classname \Ea(f**2B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class T/ TMi&:?.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _A,mY6 *  
}g_\?z3gt  
struts.i18n.encoding i=X B0-  
      The encoding to use for localization messages ::2(pgH  
      国际化信息内码 s!WI:E7  
|!"qz$8fB  
struts.i18n.reload <F-W fR  
      Whether the localization messages should automatically be reloaded C,nU.0  
      是否国际化信息自动加载 H:.l:PJ  
MNd[Xzm  
struts.locale `nEe-w^9)I  
      The default locale for the Struts application w~}.c:B  
      默认的国际化地区信息 6'qu[ ~ }Q  
'uU{.bq  
struts.mapper.class _ e94  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 41NVF_R6J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1$1P9x@H  
:V^|}C#  
struts.multipart.maxSize B),Z*lpC  
      The maximize size of a multipart request (file upload) nbdjk1E`~  
      multipart请求信息的最大尺寸(文件上传用) 6$LQO),,  
]c\d][R N  
struts.multipart.parser % n~ 'UA  
      The org.apache.struts2.dispatcher.multipart. )_\q)t"=  
      MultiPartRequest parser implementation for a multipart request (file upload) x0$#8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (?lKedA>2  
zb& 3{,  
j xTYW)E   
struts.multipart.saveDir {q|Om?@  
      The directory to use for storing uploaded files J:oAzBFpA  
      设置存储上传文件的目录夹 EN{o3@ O'  
lq }g*ih  
struts.objectFactory M*7:-Tb]C  
      The com.opensymphony.xwork2.ObjectFactory implementation class HAc1w]{(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q-TDg0  
,BE4z2a  
struts.objectFactory.spring.autoWire %rq/&#jC  
      Whether Spring should autoWire or not %3mh'Z -[f  
      是否自动绑定Spring d{*e0  
T7~Vk2o%(  
struts.objectFactory.spring.useClassCache l&oc/$&|[  
      Whether Spring should use its class cache or not POt 8G  
      是否spring应该使用自身的cache vbSycZ2M7  
C7xmk;c w  
struts.objectTypeDeterminer ! ,&{1p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B8.uzX'p  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6uKS!\EY|  
;cp,d~mrf  
struts.serve.static.browserCache \TnRn(Kw  
If static content served by the Struts filter should set browser caching header properties or not R;`C;Rbf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wi@Qf6(mn  
h #(J6ht  
struts.serve.static l-<EG9m@  
      Whether the Struts filter should serve static content or not 6"<q{K  
      是否struts过滤器应该提供静态内容 tl+ 9SBl  
-8m3L  
struts.tag.altSyntax 9q_c`  
      Whether to use the alterative syntax for the tags or not "ot# g"  
      是否可以用替代的语法替代tags Q$8&V}jVW  
v]X*(e  
struts.ui.templateDir K410.o/=-  
      The directory containing UI templates 6Eyinv  
      UI templates的目录夹 h"t\x}8qq  
vk.P| Y-;  
struts.ui.theme (fcJp)D  
      The default UI template theme -)Of\4kx  
      默认的UI template主题 #VynADPs`o  
/nB|Fo_&Q  
struts.url.http.port _BHEK  
      The HTTP port used by Struts URLs vXT>Dc2\!  
      设置http端口 12HE =  
<P.'r,"[  
struts.url.https.port U *:E|'>  
      The HTTPS port used by Struts URLs ]'5 G/H5?;  
      设置https端口 =SV b k  
Js/QL=,  
struts.url.includeParams -T{G8@V0I  
      The default includeParams method to generate Struts URLs <BjrW]pM  
      在url中产生 默认的includeParams ][`%vj9r  
E_T!|Q.  
RJOW#e :  
struts.velocity.configfile 5%RiM|+  
      The Velocity configuration file path tQ(4UHqa~  
      velocity配置文件路径 v:?l C<,  
oMHTB!A=2  
struts.velocity.contexts 6QAhVg: A  
      List of Velocity context names ppzQh1  
      velocity的context列表 t[o_!fmxZ  
cUC!'+L  
aM YtWj  
struts.velocity.manager.classname /_</m?&.U&  
      org.apache.struts2.views.velocity.VelocityManager implementation class -rlCE-S  
      org.apache.struts2.views.velocity.VelocityManager接口名 C1o^$Q|j  
9nS fFGu  
struts.velocity.toolboxlocation /X%+z5  
      The location of the Velocity toolbox OTzuOP 8  
      velocity工具盒的位置 u7lO2 C7  
struts.xslt.nocache k8z1AP  
      Whether or not XSLT templates should not be cached $rm/{i_7  
      是否XSLT模版应该被缓存 D|$Fw5!^k6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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