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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t`t:qko  
wg0.i?R-]  
struts.action.extension bI6wE'h  
      The URL extension to use to determine if the request is meant for a Struts action <SdJM1%Qo  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h_G Bx|c  
W;]U P$5l  
struts.configuration ./y[<e  
      The org.apache.struts2.config.Configuration implementation class ]V^.!=gh$  
        org.apache.struts2.config.Configuration接口名 6v O)s!b  
6-14Htsk6  
struts.configuration.files 4 Olv8nOe<  
      A list of configuration files automatically loaded by Struts aw%vu  
      struts自动加载的一个配置文件列表 )"jn{%/t  
]{+M>i[  
struts.configuration.xml.reload [k 7N+W8  
      Whether to reload the XML configuration or not 4eL54).1O  
      是否加载xml配置(true,false) [3sxzU!t~  
A<X :K nl  
struts.continuations.package ^^3va)1{!  
      The package containing actions that use Rife continuations x][9ptr h  
      含有actions的完整连续的package名称 ^1yTL5#:Vw  
<&EO=A  
struts.custom.i18n.resources "|r^l  
      Location of additional localization properties files to load s1 ^mk]  
      加载附加的国际化属性文件(不包含.properties后缀) !vVjZ  
p2DNbY\]  
struts.custom.properties as |c`4r\O  
      Location of additional configuration properties files to load Y1aF._Z  
      加载附加的配置文件的位置 `=$jc4@J  
Z6([/n  
wp*&&0O!  
struts.devMode 9iddanQA  
      Whether Struts is in development mode or not +\[![r^P  
      是否为struts开发模式 `e'o~ oSu  
.O%1)p  
struts.dispatcher.parametersWorkaround CSqb)\8Oi*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q '{<c3&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /0&:Yp=>  
 )P9{47  
struts.enable.DynamicMethodInvocation {G1aAM\Hz  
      Allows one to disable dynamic method invocation from the URL 1L=Qg4 H  
        允许动态方法调用 s]<r  
v\9,j  
struts.freemarker.manager.classname cU5"c)$'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $N+ {r=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [' OCw {<  
jPYe_y  
struts.i18n.encoding NzeI/f3K5  
      The encoding to use for localization messages hr!f: D  
      国际化信息内码 m!#)JFe67  
{Sr=SE  
struts.i18n.reload rv%ye H  
      Whether the localization messages should automatically be reloaded 97]a-)SA  
      是否国际化信息自动加载 PZ!dn%4jy  
,JQxs7@2k  
struts.locale I~]Q55  
      The default locale for the Struts application @ Zgl>  
      默认的国际化地区信息 .KU SNrs'  
B/sBYVU  
struts.mapper.class mj(&`HRs4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O{B e )E~  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V^`?8P8d  
g",wkO|  
struts.multipart.maxSize :B*vkwT  
      The maximize size of a multipart request (file upload) 8G5) o`  
      multipart请求信息的最大尺寸(文件上传用) /\-2l+y>J  
r}y[r}vk  
struts.multipart.parser y3KcM#[  
      The org.apache.struts2.dispatcher.multipart. rZ!Yi*? f  
      MultiPartRequest parser implementation for a multipart request (file upload) i (%tHa37  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jr[<i\!  
I| W'n-4Y  
1~R$$P11[9  
struts.multipart.saveDir vhYMWfbY  
      The directory to use for storing uploaded files (! 0j4'  
      设置存储上传文件的目录夹 :PFx&  
CCW%G,$U9  
struts.objectFactory UKKSc>D1  
      The com.opensymphony.xwork2.ObjectFactory implementation class YH'$_,8peM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CrNwALx  
+-H}s`  
struts.objectFactory.spring.autoWire Vedyy\TU  
      Whether Spring should autoWire or not jNe(w<',P  
      是否自动绑定Spring M q^|M~  
tIGVB+g{F  
struts.objectFactory.spring.useClassCache ':!3jZP"m  
      Whether Spring should use its class cache or not (Pk"NEP   
      是否spring应该使用自身的cache S(>@:`=  
aE7u5 PM  
struts.objectTypeDeterminer CYPazOfj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *3_f &Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *%T)\\H2  
zd*3R+>U'>  
struts.serve.static.browserCache @,x_i8  
If static content served by the Struts filter should set browser caching header properties or not i<4>\nc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i\=z'  
XMN?;Hj>  
struts.serve.static > $w^%I  
      Whether the Struts filter should serve static content or not Lh8bQH  
      是否struts过滤器应该提供静态内容 <#+oQ>5s  
. ]o3A8  
struts.tag.altSyntax 0$eyT-:d  
      Whether to use the alterative syntax for the tags or not hWq. #e 6  
      是否可以用替代的语法替代tags O!+nF]V4f  
QP6z?j.  
struts.ui.templateDir _ yfdj[Ot`  
      The directory containing UI templates K<@[_W+  
      UI templates的目录夹 1Yc%0L(  
?xtt7*'D  
struts.ui.theme <u/a`E?  
      The default UI template theme m"lE&AM64p  
      默认的UI template主题 %&^Q(f  
&EAk z  
struts.url.http.port j~M#Ss-H8  
      The HTTP port used by Struts URLs Ya}T2VX  
      设置http端口 =2^Vgc  
/Zo~1q  
struts.url.https.port M[ x_#m|  
      The HTTPS port used by Struts URLs BJ~ ivT<  
      设置https端口 ^C!mCTL1N  
m)s xotgXf  
struts.url.includeParams JXpoCCe  
      The default includeParams method to generate Struts URLs hVMYB_<~  
      在url中产生 默认的includeParams y L*LJ  
yh S#&)O  
l iw,O 6  
struts.velocity.configfile LO"_NeuL  
      The Velocity configuration file path B;VH`*+X  
      velocity配置文件路径 >&bv\R/  
Rr%tbt.sE  
struts.velocity.contexts $bk>kbl P  
      List of Velocity context names aK]7vp+  
      velocity的context列表 E@:Q 'g%  
TbOJp  
[}z?1Gj;W(  
struts.velocity.manager.classname IuNkfBe4m  
      org.apache.struts2.views.velocity.VelocityManager implementation class XZ} de%U1  
      org.apache.struts2.views.velocity.VelocityManager接口名 `)"tO&Fn  
lp(Nv(S  
struts.velocity.toolboxlocation 4[`[mE18.  
      The location of the Velocity toolbox {5>3;.  
      velocity工具盒的位置 -  $%jb2  
struts.xslt.nocache )AOPiC$jL  
      Whether or not XSLT templates should not be cached o6*/o ]]  
      是否XSLT模版应该被缓存 sp|q((z{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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