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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /1ZRjf^  
3B#qQ#  
struts.action.extension 9fr LYJz"  
      The URL extension to use to determine if the request is meant for a Struts action R7u&`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o.IJ4'}aN  
SoX\S|}%6[  
struts.configuration +6tj w 6  
      The org.apache.struts2.config.Configuration implementation class  ,83%18b  
        org.apache.struts2.config.Configuration接口名 %fB]N  
U^iNOMs?  
struts.configuration.files P%M Yr"<$E  
      A list of configuration files automatically loaded by Struts IzPnbnS}  
      struts自动加载的一个配置文件列表 cKt=_4Lf  
34S0W]V  
struts.configuration.xml.reload xwK{}==U  
      Whether to reload the XML configuration or not &`+tWL6L  
      是否加载xml配置(true,false) +?r,Nn  
lezX-5Z  
struts.continuations.package E(]39B"i  
      The package containing actions that use Rife continuations .!|\Y!]^r  
      含有actions的完整连续的package名称 KQGdV{VFs  
@I_!q*  
struts.custom.i18n.resources /BEE.`6yI5  
      Location of additional localization properties files to load i+rh&,  
      加载附加的国际化属性文件(不包含.properties后缀) o~<ith$A*  
x_Y03__/  
struts.custom.properties (55k70>i3  
      Location of additional configuration properties files to load H,8HGL[l  
      加载附加的配置文件的位置 EjxzX1:  
j{QzD^t  
H!N`hEEj>  
struts.devMode Lg6;FbY?  
      Whether Struts is in development mode or not .8[*`%K>  
      是否为struts开发模式 p1}umDb%  
FFC"rG  
struts.dispatcher.parametersWorkaround nh"8on]M~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '0ks`a4q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q`= ,&;T>  
D1G9^7:^E  
struts.enable.DynamicMethodInvocation =(]yl_  
      Allows one to disable dynamic method invocation from the URL ,u.G6"<  
        允许动态方法调用 +"P!es\q  
|azdFf6A:[  
struts.freemarker.manager.classname -!Ov{GHr0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nC6 ;:uM  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~;)H |R5kV  
J_-K"T|f  
struts.i18n.encoding 7 &O 0  
      The encoding to use for localization messages 5`>%{ o  
      国际化信息内码 {wK| C<K  
n,Gvgf  
struts.i18n.reload 5EX Ghc'  
      Whether the localization messages should automatically be reloaded AQ)DiH  
      是否国际化信息自动加载 PS:"mP7n  
'lWgHmE  
struts.locale pB;8yz=  
      The default locale for the Struts application hBRcI0R  
      默认的国际化地区信息 tX.fbL@ T  
u%24% Q  
struts.mapper.class >{1 i8 b@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @h E7F}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VRQD  
o=)["V  
struts.multipart.maxSize @3v[L<S{  
      The maximize size of a multipart request (file upload) bAwFC2jO[  
      multipart请求信息的最大尺寸(文件上传用) 7*>(C*q=  
W*WSjuFr2  
struts.multipart.parser \Y$@$)   
      The org.apache.struts2.dispatcher.multipart. P.Gmj;  
      MultiPartRequest parser implementation for a multipart request (file upload) OhW o  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  %G>  
2qDyb]9  
L43]0k  
struts.multipart.saveDir 6}JW- sA  
      The directory to use for storing uploaded files rp_Aw  
      设置存储上传文件的目录夹 VlFhfOR6t  
iPK:gK3Q  
struts.objectFactory b{(= C 3  
      The com.opensymphony.xwork2.ObjectFactory implementation class L IN$Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) W8N__  
%(ms74R+  
struts.objectFactory.spring.autoWire %T,cR>lw  
      Whether Spring should autoWire or not Xmv^O  
      是否自动绑定Spring Z@gEJ^"yA"  
|0$7{nQ  
struts.objectFactory.spring.useClassCache z|v/h UrD  
      Whether Spring should use its class cache or not !n`Y^  
      是否spring应该使用自身的cache >p>B-m  
2B[I- K s  
struts.objectTypeDeterminer <G /a-Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H]PEE!C;xC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LPS]TG\  
;t \C!A6  
struts.serve.static.browserCache HImQ.y!B  
If static content served by the Struts filter should set browser caching header properties or not 5 NN`tv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rd ,5 &X$  
=q<t,UP8  
struts.serve.static +qee8QH  
      Whether the Struts filter should serve static content or not I9hZ&ed16  
      是否struts过滤器应该提供静态内容  `s~[q  
aB2t/ua  
struts.tag.altSyntax N'=b8J-fF  
      Whether to use the alterative syntax for the tags or not <4RP:2#  
      是否可以用替代的语法替代tags {8w,{p`  
[z r2\(  
struts.ui.templateDir e6 a]XO^  
      The directory containing UI templates p&W{g $D>  
      UI templates的目录夹 VdF<#(X+  
}q=uI`  
struts.ui.theme B; r` 1 G  
      The default UI template theme :nn(Ndlz9  
      默认的UI template主题 ?xYoCn}Z  
"q3W& @  
struts.url.http.port !xz{X?  
      The HTTP port used by Struts URLs fB`7f $[  
      设置http端口 \KkAU6  
%]fi;Z  
struts.url.https.port -b'a-?  
      The HTTPS port used by Struts URLs Mo0pN\A}h  
      设置https端口 Hi#f Qji  
;)'  
struts.url.includeParams ^8{:RiN6e~  
      The default includeParams method to generate Struts URLs qTrb)95  
      在url中产生 默认的includeParams 1LonYAHF  
YHfk; FI  
BOWR}n!g  
struts.velocity.configfile S%2qX"8  
      The Velocity configuration file path ,]Q i/m  
      velocity配置文件路径 M}qrF~   
a:}&v^v  
struts.velocity.contexts < SvjvV  
      List of Velocity context names /rZ`e'}  
      velocity的context列表 (cdtUE8  
BiCC72oig  
QRAw#  
struts.velocity.manager.classname z P=3B%$  
      org.apache.struts2.views.velocity.VelocityManager implementation class B| .8+Q  
      org.apache.struts2.views.velocity.VelocityManager接口名 CyV(+KBe_  
e2vL UlL8  
struts.velocity.toolboxlocation #/2W RN1L  
      The location of the Velocity toolbox g"|Z1iy|9  
      velocity工具盒的位置 z3(:a'  
struts.xslt.nocache P=PVOt@ b  
      Whether or not XSLT templates should not be cached w5R?9"d@  
      是否XSLT模版应该被缓存 t+%tN^87:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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