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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )C5<puh  
y5 $h  
struts.action.extension +u#;k!B/>  
      The URL extension to use to determine if the request is meant for a Struts action ykH?;Xu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8C#R  
jwgXq(  
struts.configuration 7c1xB.g   
      The org.apache.struts2.config.Configuration implementation class 4P( Y34j  
        org.apache.struts2.config.Configuration接口名 H-~V:OCB~  
zdrCr0Rx,  
struts.configuration.files &*B=5W;6^u  
      A list of configuration files automatically loaded by Struts 2--"@@  
      struts自动加载的一个配置文件列表 3 k py3z[%  
jxU1u"WU  
struts.configuration.xml.reload %Wkvo-rOq  
      Whether to reload the XML configuration or not ;t{Ew+s  
      是否加载xml配置(true,false) dFFJw[$8w  
Q<3=s6@T  
struts.continuations.package im_WTZz2P  
      The package containing actions that use Rife continuations cJd~UQ<k  
      含有actions的完整连续的package名称 ~^cx a%  
`9n%Dy<  
struts.custom.i18n.resources 9}Ud'#E  
      Location of additional localization properties files to load uV!Ax *'  
      加载附加的国际化属性文件(不包含.properties后缀) L}*:,&Y/  
{O9CYP:  
struts.custom.properties [x ?38  
      Location of additional configuration properties files to load JziuwL5,  
      加载附加的配置文件的位置 Lg0Vn&k  
tT'*Uu5  
T$5u+4>"  
struts.devMode y Q-&+16^  
      Whether Struts is in development mode or not /_5I}{  
      是否为struts开发模式 @,F8gv*  
l)< '1dqe  
struts.dispatcher.parametersWorkaround aN?{MA\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~CgKU8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {L5!_] 6  
y.AVH`_u  
struts.enable.DynamicMethodInvocation \Z-T)7S  
      Allows one to disable dynamic method invocation from the URL `mXbF  
        允许动态方法调用 -B-?z?+(O  
^m.QW*  
struts.freemarker.manager.classname {"$ Q'T  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +b"RZ:tKp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bwR_ uF  
ZqT?7|i  
struts.i18n.encoding _-eF &D  
      The encoding to use for localization messages ,_@C(O  
      国际化信息内码 /4J2F9:f  
>Ig%|4Hw  
struts.i18n.reload LW<DhMV  
      Whether the localization messages should automatically be reloaded 7 ^7Rk  
      是否国际化信息自动加载 g+;)?N*j  
,#3u. =IR[  
struts.locale {WQH  
      The default locale for the Struts application P0NGjS|Z{  
      默认的国际化地区信息 _PD RUJ  
X]ow5{e  
struts.mapper.class Dnn$-W|NC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gKy@$at&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VU3xP2c:  
l!CWE  
struts.multipart.maxSize px;5X4U  
      The maximize size of a multipart request (file upload) i1k(3:ay<  
      multipart请求信息的最大尺寸(文件上传用) yQ5&S]Xk$$  
c`}-i6  
struts.multipart.parser ivg:`$a[  
      The org.apache.struts2.dispatcher.multipart. v'nM=  
      MultiPartRequest parser implementation for a multipart request (file upload) ]H<5]({F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &$F4/2|b%  
`##qf@M  
~nJcHJ1nb4  
struts.multipart.saveDir SQ!wq  
      The directory to use for storing uploaded files ^Yz.,!B[  
      设置存储上传文件的目录夹 Q;{[U!\:  
gZ%wm Y  
struts.objectFactory ,_;+H*H>"  
      The com.opensymphony.xwork2.ObjectFactory implementation class l^aG"")TH.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) RzCC>-  
S-V)!6\cK  
struts.objectFactory.spring.autoWire 3Z=OUhn9  
      Whether Spring should autoWire or not 8Q&.S)hrN  
      是否自动绑定Spring '{=dEEi  
5N "fD{v{  
struts.objectFactory.spring.useClassCache XOgl> 1O  
      Whether Spring should use its class cache or not V^fSrW]  
      是否spring应该使用自身的cache 7KIOI,qb6  
L".Qf|b*  
struts.objectTypeDeterminer td!WgL,m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V ;Kzh$^rk  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?mKj+ Bk2  
x/D"a|  
struts.serve.static.browserCache dYEF,\Z'  
If static content served by the Struts filter should set browser caching header properties or not <Wc98m  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k$ k /U  
4/YEkD  
struts.serve.static /*3[9,  
      Whether the Struts filter should serve static content or not G{$(t\>8  
      是否struts过滤器应该提供静态内容 :K&>  
62lG,y_L  
struts.tag.altSyntax mUW|4zl i}  
      Whether to use the alterative syntax for the tags or not uim4,Zm{  
      是否可以用替代的语法替代tags }YUUCq&  
YT7,=k_  
struts.ui.templateDir E^uau=F  
      The directory containing UI templates '}\{4Qst  
      UI templates的目录夹 sute%6yM  
O%?TxzX;  
struts.ui.theme {TT@Mkz_QC  
      The default UI template theme !u~h.DrvZ  
      默认的UI template主题 G8xM]'y  
sVP[7&vr~  
struts.url.http.port lF-;h{   
      The HTTP port used by Struts URLs YT!QY@qw  
      设置http端口 SN2X{Q|*  
S~jl%]  
struts.url.https.port ga0>J_  
      The HTTPS port used by Struts URLs 7^$PauAv  
      设置https端口 XrR@cDNx{  
 E~oQ%X~  
struts.url.includeParams #N%ATV  
      The default includeParams method to generate Struts URLs |jB]5ciT  
      在url中产生 默认的includeParams 5Pmmt&#/Z  
`L<f15][  
7oY}=281  
struts.velocity.configfile @ k+Z?Hp  
      The Velocity configuration file path APxy %0Q  
      velocity配置文件路径 i! G^=N  
3&Dln  
struts.velocity.contexts (I3:u-A  
      List of Velocity context names V9xZH5T8^  
      velocity的context列表 *o]Q<S>lH  
_nw=^zS  
{SH +lX0]{  
struts.velocity.manager.classname ZUGuV@&-T  
      org.apache.struts2.views.velocity.VelocityManager implementation class g1U   
      org.apache.struts2.views.velocity.VelocityManager接口名 `P1jg$(eA  
2yqm$i9C  
struts.velocity.toolboxlocation A WlR" p2  
      The location of the Velocity toolbox [@D+kL*>  
      velocity工具盒的位置 v4]7"7GuW  
struts.xslt.nocache Qx,?v|Xg  
      Whether or not XSLT templates should not be cached V0hC[Ilr  
      是否XSLT模版应该被缓存 cgKK(-$ny  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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