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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 d&0^AvM@  
=GjxqIv  
struts.action.extension "ND 7,rQ  
      The URL extension to use to determine if the request is meant for a Struts action p_ QL{gn  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 DY{JA *N  
xFS`#1  
struts.configuration dYJW`Q;j.|  
      The org.apache.struts2.config.Configuration implementation class eW+z@\d9Gz  
        org.apache.struts2.config.Configuration接口名 ZuF-$]oL&  
BfF$  
struts.configuration.files F/}PN1#T  
      A list of configuration files automatically loaded by Struts ` oYrW0Vm  
      struts自动加载的一个配置文件列表 ' 7>V4\"  
PhM3?$  
struts.configuration.xml.reload |k> _ jO  
      Whether to reload the XML configuration or not :nw4K(:f  
      是否加载xml配置(true,false) (a1s~  
Z %MP:@z  
struts.continuations.package y_8 8I:O  
      The package containing actions that use Rife continuations -q\1Tlc]3  
      含有actions的完整连续的package名称 o$YL\ <qp  
3%xj-7z W  
struts.custom.i18n.resources SVaC)O(  
      Location of additional localization properties files to load hM(|d@)  
      加载附加的国际化属性文件(不包含.properties后缀) >+fet ,  
?!~CX`eMZ  
struts.custom.properties ,?7U Rx*  
      Location of additional configuration properties files to load ( _E<?  
      加载附加的配置文件的位置 KaHjL&!  
#Gs] u  
5"6Y=AuQ6  
struts.devMode [:sV;37s  
      Whether Struts is in development mode or not i%0Ml:Y  
      是否为struts开发模式 y#^d8 }+  
kL,AY-Iu{@  
struts.dispatcher.parametersWorkaround X%S?o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pNI=HHx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pVP CxP  
a! P?RbW  
struts.enable.DynamicMethodInvocation N/mTG2'<  
      Allows one to disable dynamic method invocation from the URL Bi)1*  
        允许动态方法调用 Fmk, "qs  
}ruBbeQ  
struts.freemarker.manager.classname x2[A(O=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class FU~ Ip  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 IiIF4 pQ,  
~(%nnG6x  
struts.i18n.encoding aDTNr/I  
      The encoding to use for localization messages 3xh~xE  
      国际化信息内码 d?*=<w!A  
'ac %]}`-  
struts.i18n.reload M"#xjP.  
      Whether the localization messages should automatically be reloaded 5R/!e`(m  
      是否国际化信息自动加载 k 0z2)3L  
">lu8F  
struts.locale ;2-,Xzz8  
      The default locale for the Struts application '$PiyM|V  
      默认的国际化地区信息 Qhsh{muw(  
Y: oL  
struts.mapper.class 4E}/{1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9#iu#?*B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |28z4.  
 =h\,-8  
struts.multipart.maxSize (5re'Pl  
      The maximize size of a multipart request (file upload) &hEtVkK  
      multipart请求信息的最大尺寸(文件上传用) KE`}P<K&  
]4yWcnf  
struts.multipart.parser _JiB=<Fkr  
      The org.apache.struts2.dispatcher.multipart. 'q8T*|/  
      MultiPartRequest parser implementation for a multipart request (file upload) uMtq4.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `[w:l[i  
A$Mmnu%  
{xp/1? Mo*  
struts.multipart.saveDir vZmM=hW~  
      The directory to use for storing uploaded files U|={LU  
      设置存储上传文件的目录夹 ogH{   
Lk6UT)C  
struts.objectFactory 1j "/}0fx  
      The com.opensymphony.xwork2.ObjectFactory implementation class I1S*=^Z_U  
      com.opensymphony.xwork2.ObjectFactory接口(spring) DDyeN uK  
L\XnTL{  
struts.objectFactory.spring.autoWire /Zap'S/  
      Whether Spring should autoWire or not )Y+n4UL3NK  
      是否自动绑定Spring X<m#:0iD  
%,E\8{I+  
struts.objectFactory.spring.useClassCache  PW x9CT  
      Whether Spring should use its class cache or not c=K . |g,  
      是否spring应该使用自身的cache >&7K|$y.J  
(4L XoNT  
struts.objectTypeDeterminer UYn5Pix  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %Iw6oG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 oQ1>*[e<u  
KyK%2:  
struts.serve.static.browserCache K>Dn#"{Y  
If static content served by the Struts filter should set browser caching header properties or not anjU3j  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 x4Mq{MrWp  
p?2 \9C4  
struts.serve.static ;"$Wfy  
      Whether the Struts filter should serve static content or not 0qqk:h  
      是否struts过滤器应该提供静态内容 UR44 iA]  
Ds? @ LE|  
struts.tag.altSyntax {M96jjiInf  
      Whether to use the alterative syntax for the tags or not /qa{*"2Qo  
      是否可以用替代的语法替代tags N?TXPY  
lO! Yl:;m%  
struts.ui.templateDir //n$#c _}u  
      The directory containing UI templates {b6| wQ\  
      UI templates的目录夹 s4/4o_[W  
L\)ssO uh  
struts.ui.theme )-%3;e<w  
      The default UI template theme 9&}$C]`  
      默认的UI template主题 9AO`Zk{/Ez  
&#^^UT(nj  
struts.url.http.port /]zn8 d  
      The HTTP port used by Struts URLs j\iE3:94$  
      设置http端口 bfcQ(m5  
+sq'\Tbp  
struts.url.https.port byoP1F%  
      The HTTPS port used by Struts URLs v% 6uU  
      设置https端口 3DRJl, v  
ZxLdh8v.  
struts.url.includeParams \ :To\6\Ri  
      The default includeParams method to generate Struts URLs 82l$]W4  
      在url中产生 默认的includeParams lKWe=xY\B  
\9j +ejGf  
(Ild>_Tdb`  
struts.velocity.configfile d$qivct  
      The Velocity configuration file path $`,10uw  
      velocity配置文件路径 !Hq$7j_  
2o2jDQ|7  
struts.velocity.contexts @6\Id7`Ea  
      List of Velocity context names A!B: vJ  
      velocity的context列表 /9T.]H ~  
_)-t#Ve  
3m%oXT  
struts.velocity.manager.classname C+o1.#]JM  
      org.apache.struts2.views.velocity.VelocityManager implementation class n-zAkKM  
      org.apache.struts2.views.velocity.VelocityManager接口名 T%74JRQ  
~(i#A>   
struts.velocity.toolboxlocation O(x1Ja,&  
      The location of the Velocity toolbox }huj%Pnk )  
      velocity工具盒的位置 3-x ;_  
struts.xslt.nocache B' }h6ZH  
      Whether or not XSLT templates should not be cached 9U~fc U6  
      是否XSLT模版应该被缓存 U )kl !  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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