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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AGFA;X  
<,:{Q75  
struts.action.extension ^0zfQu+!  
      The URL extension to use to determine if the request is meant for a Struts action 5'set?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |&4A"2QN  
cq[9#@ 4=  
struts.configuration {YiMd oMhg  
      The org.apache.struts2.config.Configuration implementation class jj`#;Y  
        org.apache.struts2.config.Configuration接口名 Ovx *  
li[[AAWVm  
struts.configuration.files p<r^{y  
      A list of configuration files automatically loaded by Struts ^t3>Z|DiB^  
      struts自动加载的一个配置文件列表 '@Uu/~;h  
Q>$B.z  
struts.configuration.xml.reload 2q[pOT'k  
      Whether to reload the XML configuration or not E7O3$B8  
      是否加载xml配置(true,false) Gor 9 &aJ1  
$2W#'_K+  
struts.continuations.package syr0|K[  
      The package containing actions that use Rife continuations 6'r;6T *  
      含有actions的完整连续的package名称 {|oWU8.l  
-Mr_Ao`E  
struts.custom.i18n.resources B=OzP+  
      Location of additional localization properties files to load !\#Wq{p>W*  
      加载附加的国际化属性文件(不包含.properties后缀) DCp8rvUI  
$]LS!@ Rm  
struts.custom.properties V< F &\  
      Location of additional configuration properties files to load Zv}F?4T~:  
      加载附加的配置文件的位置 brTNwRze  
H|aFs.SEQ  
K#k/t"r  
struts.devMode -. *E<%  
      Whether Struts is in development mode or not CWeQv9h]X  
      是否为struts开发模式 8Ay7I  
\HB fM&  
struts.dispatcher.parametersWorkaround ~ g!!#ad  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p*PzfSLN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N~]qQ oj,  
YH58p&up  
struts.enable.DynamicMethodInvocation %fF,Fnf2  
      Allows one to disable dynamic method invocation from the URL fuj9x;8X0  
        允许动态方法调用 J%"5?)[z  
Osz=OO{  
struts.freemarker.manager.classname F9LKO3Rh#u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =+_nVO*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2Rw<0.i|  
yhgGvyD  
struts.i18n.encoding uQ3sRJi  
      The encoding to use for localization messages mo<*h&;&  
      国际化信息内码 2:|vJ<Q  
BP j?l  
struts.i18n.reload ~j[?3E4L}  
      Whether the localization messages should automatically be reloaded G$a@}9V  
      是否国际化信息自动加载 Y*@7/2,  
fK:4jl-r  
struts.locale (8 7wWhH  
      The default locale for the Struts application z#!<[**&  
      默认的国际化地区信息 Aq(cgTNW  
I'IFBVhaYn  
struts.mapper.class 07SW$INb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ga|<S@u?}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %( OP  [  
n=j) M  
struts.multipart.maxSize K^o$uUBe  
      The maximize size of a multipart request (file upload) IwYfs]-  
      multipart请求信息的最大尺寸(文件上传用) 2@bOy~$A  
gH7  +#/  
struts.multipart.parser \j!/l f)  
      The org.apache.struts2.dispatcher.multipart. 0m1V@ 3]7>  
      MultiPartRequest parser implementation for a multipart request (file upload) (_#E17U)_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^;/~$  
@"s<0T^H  
b$;oty9Y  
struts.multipart.saveDir T[OI/ WuK  
      The directory to use for storing uploaded files -Y+pLvG*  
      设置存储上传文件的目录夹 g<;pyvq|:  
0fstEExw  
struts.objectFactory lO\HchG zB  
      The com.opensymphony.xwork2.ObjectFactory implementation class WCd: (8B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +E9G"Z65iP  
&M5v EPR  
struts.objectFactory.spring.autoWire GTB\95j]  
      Whether Spring should autoWire or not }],l m  
      是否自动绑定Spring &wU"6E  
,62~u'hR5  
struts.objectFactory.spring.useClassCache e,#w* |  
      Whether Spring should use its class cache or not T7i>aM$+  
      是否spring应该使用自身的cache "3jTU  
Ngx2N<$<*g  
struts.objectTypeDeterminer qy?$t:*pp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q/ :]+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &p#PYs|H  
.4ww5k>  
struts.serve.static.browserCache `~\SQ EY$  
If static content served by the Struts filter should set browser caching header properties or not +h-% {  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d>#',C#;  
fwUvFK1G  
struts.serve.static .]exY i  
      Whether the Struts filter should serve static content or not kj|Oj+&  
      是否struts过滤器应该提供静态内容 v1i-O'  
)}$rgYKJ  
struts.tag.altSyntax Ruq;:5u  
      Whether to use the alterative syntax for the tags or not 3KqRw (BK  
      是否可以用替代的语法替代tags !DA4q3-U>>  
q;R&valn  
struts.ui.templateDir @G]*]rkKb  
      The directory containing UI templates 2Rys:$  
      UI templates的目录夹 enxb pq#  
gWjYS#D  
struts.ui.theme Vc(kw7  
      The default UI template theme _fgsHx>l7  
      默认的UI template主题 B!<B7Q  
|{|B70v3Co  
struts.url.http.port R7b-/ !L  
      The HTTP port used by Struts URLs OE[7fDe'  
      设置http端口 5X3JQ"z  
tHaHBx1P  
struts.url.https.port bkR~>F]FAu  
      The HTTPS port used by Struts URLs X)(K|[  
      设置https端口 QpzdlB44l  
<gX({FA  
struts.url.includeParams A/9<} m  
      The default includeParams method to generate Struts URLs JkR%o #>5  
      在url中产生 默认的includeParams noaR3)  
MYV3</Xj*  
1 39T*0C  
struts.velocity.configfile k]gPMhe  
      The Velocity configuration file path U`N?<zm<oO  
      velocity配置文件路径 e`a4Gr  
CUdpT$$x3  
struts.velocity.contexts MZ0cZv$v!~  
      List of Velocity context names = ZoNkj/^,  
      velocity的context列表 4T52vM  
)M.g<[= ^  
q%bFR[p<*  
struts.velocity.manager.classname (Of`VT3ZOA  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8S#&XS>o  
      org.apache.struts2.views.velocity.VelocityManager接口名 P$Y w'3v/  
V4u4{wU]  
struts.velocity.toolboxlocation rVhfj~Ts  
      The location of the Velocity toolbox (e_p8[x  
      velocity工具盒的位置 VxOWv8}|  
struts.xslt.nocache gs0 jwI  
      Whether or not XSLT templates should not be cached 1Cc91  
      是否XSLT模版应该被缓存 /xSJljexz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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