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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ')#E,Y%Hq  
iKB8V<[\T  
struts.action.extension I`h9P2~  
      The URL extension to use to determine if the request is meant for a Struts action bhXH<=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U*8;ZXi  
? WWnt^  
struts.configuration Kq/W-VyGh  
      The org.apache.struts2.config.Configuration implementation class ]UnZc  
        org.apache.struts2.config.Configuration接口名 Xu#\CYk  
gF% lwq  
struts.configuration.files L1u  
      A list of configuration files automatically loaded by Struts Auhw(b>}TW  
      struts自动加载的一个配置文件列表 w<_.T#  
fys@%PZq  
struts.configuration.xml.reload qs6yEuh#  
      Whether to reload the XML configuration or not <!:,(V>F(C  
      是否加载xml配置(true,false) 8k'UEf`'(  
Z,o*M#}  
struts.continuations.package woZ'T  
      The package containing actions that use Rife continuations E0=-6j  
      含有actions的完整连续的package名称 'MKkC(]4  
=Mq=\T  
struts.custom.i18n.resources Tgp}k%R~  
      Location of additional localization properties files to load /vPh_1  
      加载附加的国际化属性文件(不包含.properties后缀) rtDm<aUh  
p}.P^`~j  
struts.custom.properties IS7g{:}=p  
      Location of additional configuration properties files to load ?8Cxt|o>  
      加载附加的配置文件的位置 Kp"mV=RG2T  
!@-j!Ub  
oaI7j=Gp  
struts.devMode 7\^b+*  
      Whether Struts is in development mode or not  ,[ +  
      是否为struts开发模式 P0$q{ j  
u;DF$   
struts.dispatcher.parametersWorkaround Y',s|M1})\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UuxWP\~2  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TQK>w'L  
'DF3|A],  
struts.enable.DynamicMethodInvocation !-r@_tn|  
      Allows one to disable dynamic method invocation from the URL mLD0Lu_Ob3  
        允许动态方法调用 zsI0Q47\  
T4T_32`XR  
struts.freemarker.manager.classname '9GHmtdO,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kgK7 T  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }jTEgog  
Js qze'BGY  
struts.i18n.encoding )8&Q.? T  
      The encoding to use for localization messages EA75 D&>I  
      国际化信息内码 _6qf>=qQ`"  
BW:&AP@B  
struts.i18n.reload 5L|yF"TI#  
      Whether the localization messages should automatically be reloaded AEK* w4  
      是否国际化信息自动加载 }.gDaxj  
G5zZf ~r  
struts.locale ksY^w+>(!  
      The default locale for the Struts application -w 2!k  
      默认的国际化地区信息 ezlp~z"_k  
-!">SY\  
struts.mapper.class MLmc]nL=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }*$-rieg  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ".v9#|  
e`R*6^e  
struts.multipart.maxSize i>T{s-3v  
      The maximize size of a multipart request (file upload) I Jq$GR  
      multipart请求信息的最大尺寸(文件上传用) ^/R@bp#<  
-'{ioHt&X/  
struts.multipart.parser \WouTn  
      The org.apache.struts2.dispatcher.multipart. ] V]~I.  
      MultiPartRequest parser implementation for a multipart request (file upload) 6\O4R  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ix^:qw;  
yqlkf$?  
"eI-Y`O,  
struts.multipart.saveDir j3`:;'L  
      The directory to use for storing uploaded files  ^]wm Y  
      设置存储上传文件的目录夹 4'+/R%jk"  
_@sqCf%|  
struts.objectFactory S=[K/Kf-  
      The com.opensymphony.xwork2.ObjectFactory implementation class  A`#v-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /lttJJDU  
8c+i+gp!  
struts.objectFactory.spring.autoWire EPI mh  
      Whether Spring should autoWire or not Sijwh1j*V  
      是否自动绑定Spring 4,FkA_k  
%S>lPt  
struts.objectFactory.spring.useClassCache ,k{{ZP P  
      Whether Spring should use its class cache or not \I#lLP  
      是否spring应该使用自身的cache UN| "D]>/  
H|F>BjXn5  
struts.objectTypeDeterminer \R&`bAdk  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K]@6&H-b|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2|EH Ny!  
BAm H2"  
struts.serve.static.browserCache 6$SsdT|8B  
If static content served by the Struts filter should set browser caching header properties or not D8`,PXtV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zfi{SO l  
M0c"wi@S_  
struts.serve.static }'kk}2ej`  
      Whether the Struts filter should serve static content or not ICq;jfML  
      是否struts过滤器应该提供静态内容 L4.yrA-]C%  
bvEk.~tC'  
struts.tag.altSyntax *KxV;H8/  
      Whether to use the alterative syntax for the tags or not }E8 Y,;fTD  
      是否可以用替代的语法替代tags PhKJ#D Rbr  
tDEpR  
struts.ui.templateDir %~Nf,  
      The directory containing UI templates IIop"6Ko  
      UI templates的目录夹 o,bV.O.W  
7_#v_ A^  
struts.ui.theme 1P8$z:|~  
      The default UI template theme mg'-]>$$]  
      默认的UI template主题 3zWY%(8t4?  
_PNU*E%s<  
struts.url.http.port O|7q,bEm^  
      The HTTP port used by Struts URLs Vize0fsD  
      设置http端口 3h 0w8(k;  
FD_0FMZ9,  
struts.url.https.port Fhxg^  
      The HTTPS port used by Struts URLs ?{_dW=AQ1  
      设置https端口 [p4a\Qg0  
}qV4]*+{  
struts.url.includeParams o>U%3-+T^J  
      The default includeParams method to generate Struts URLs w^R5/#F_r  
      在url中产生 默认的includeParams s_`wLQ7e  
7jts;H=  
( }JX ]-  
struts.velocity.configfile XFK$p^qu  
      The Velocity configuration file path N@Slc 0  
      velocity配置文件路径 ODv)-J  
JEJ] '3  
struts.velocity.contexts ?_<ZCH  
      List of Velocity context names D ?,P\cp  
      velocity的context列表 |r0j>F  
/^/'9}7  
webT  
struts.velocity.manager.classname 1+#Vj#  
      org.apache.struts2.views.velocity.VelocityManager implementation class T^A:pL1  
      org.apache.struts2.views.velocity.VelocityManager接口名 /"iYEr%_  
)E6m}?H5  
struts.velocity.toolboxlocation wQ.ild  
      The location of the Velocity toolbox ;HqK^[1\  
      velocity工具盒的位置 f_raICO{R  
struts.xslt.nocache i>)Whr'e8  
      Whether or not XSLT templates should not be cached D\* raQ`n  
      是否XSLT模版应该被缓存 c$uV8_V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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