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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2 lj'"nm  
+z9Q-d%O  
struts.action.extension Q4+gAS9  
      The URL extension to use to determine if the request is meant for a Struts action d/[; `ZD+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }s(N6a&(  
~\Hc,5G  
struts.configuration EdlTdn@A  
      The org.apache.struts2.config.Configuration implementation class <kGU,@6PF  
        org.apache.struts2.config.Configuration接口名 3QG7C{  
%kS(LlL+6  
struts.configuration.files +89*)pk   
      A list of configuration files automatically loaded by Struts 1guJG_;z  
      struts自动加载的一个配置文件列表 | N[<x@  
g/P+ZXJ  
struts.configuration.xml.reload -(  
      Whether to reload the XML configuration or not bYEy<7)x  
      是否加载xml配置(true,false) ,1[q^-9  
'}fzX2Q#  
struts.continuations.package )n2 re?S  
      The package containing actions that use Rife continuations %Z):>'  
      含有actions的完整连续的package名称 | #47O  
\QYFAa  
struts.custom.i18n.resources +kzo*zW$L  
      Location of additional localization properties files to load j@SQ~AS  
      加载附加的国际化属性文件(不包含.properties后缀) $npT[~U5  
-_1>C\h"  
struts.custom.properties 8=NM|i  
      Location of additional configuration properties files to load gj*+\3KO@a  
      加载附加的配置文件的位置 1JztFix  
aX5 z&r:{  
.(^ ,z&  
struts.devMode f33l$pOp  
      Whether Struts is in development mode or not -'t)=YJ  
      是否为struts开发模式 "Y~:|?(@-  
(oEC6F  
struts.dispatcher.parametersWorkaround IOqwCD[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hw= Ft4L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3HcQ(+Z  
nlW +.a[  
struts.enable.DynamicMethodInvocation Zc W:6po>  
      Allows one to disable dynamic method invocation from the URL j2QmxTa!  
        允许动态方法调用 /SrCElabP  
1Cv-  
struts.freemarker.manager.classname ?u" 4@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7f0lQ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 K`u(/kz/<  
`HZ;NRr  
struts.i18n.encoding |}(`kW  
      The encoding to use for localization messages k'Sp.  
      国际化信息内码 |wH5sjT  
0{,Z{&E  
struts.i18n.reload de p=&  
      Whether the localization messages should automatically be reloaded EfCx`3~EX  
      是否国际化信息自动加载 Hn5|B 3vN  
A Q'J9  
struts.locale (9Ux{@$o[  
      The default locale for the Struts application u>kN1kQ8  
      默认的国际化地区信息 YoBPLS`K  
{q `jDDM  
struts.mapper.class +yk24 ` >  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g*03{l#P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6L"%e!be6  
Z0Vl+  
struts.multipart.maxSize |mGFts}0o'  
      The maximize size of a multipart request (file upload) , udTvI  
      multipart请求信息的最大尺寸(文件上传用) }bdmomV  
2O.i\cH  
struts.multipart.parser ] 6TATPIr  
      The org.apache.struts2.dispatcher.multipart. ms*(9l.hOK  
      MultiPartRequest parser implementation for a multipart request (file upload) _kU:Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) o<COm9)i  
0K`#>}W#X  
amOnqH-(  
struts.multipart.saveDir :,'wVS8"]  
      The directory to use for storing uploaded files BG6B :  
      设置存储上传文件的目录夹 OY;*zk  
Gd-'Z_b  
struts.objectFactory ~Y|*`C_)  
      The com.opensymphony.xwork2.ObjectFactory implementation class @mw5~+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) DU5c=rxW  
[AYOYENp-  
struts.objectFactory.spring.autoWire k1{K*O$e  
      Whether Spring should autoWire or not [lWQ'DZ  
      是否自动绑定Spring lDYyqG4  
i rU 6D  
struts.objectFactory.spring.useClassCache Y }$/e  
      Whether Spring should use its class cache or not +nXK-g;)'  
      是否spring应该使用自身的cache =&ks)MH-  
;<Ar=?  
struts.objectTypeDeterminer Jk7|{W\OA  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {`LU+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Sjv dirr  
`$,GzS(  
struts.serve.static.browserCache y9q8i(E0  
If static content served by the Struts filter should set browser caching header properties or not LBM ^9W  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 nbm&wa[  
1FlX'[vh  
struts.serve.static U+:m4a  
      Whether the Struts filter should serve static content or not ]x RM&=)<  
      是否struts过滤器应该提供静态内容 \m(VdE  
K{|p~B  
struts.tag.altSyntax &cxRD  
      Whether to use the alterative syntax for the tags or not Y9uC&/_C  
      是否可以用替代的语法替代tags Pv_Jm  
9N@W\DT  
struts.ui.templateDir tzZ`2pSh  
      The directory containing UI templates &O9 |#YUq  
      UI templates的目录夹 )Im#dVQs=  
bM{s T"  
struts.ui.theme *=]&&<  
      The default UI template theme ^(vs.U^U<  
      默认的UI template主题 mRL"nC  
B@&4i?yJ  
struts.url.http.port C G0 M  
      The HTTP port used by Struts URLs DI:]GED" =  
      设置http端口 NdMb)l)m  
nuk*.Su  
struts.url.https.port =Xi07_8Ic<  
      The HTTPS port used by Struts URLs 3Dng 1}  
      设置https端口 :~2vJzp@?  
';3{T:I  
struts.url.includeParams "P 7nNa  
      The default includeParams method to generate Struts URLs ; <&*rnH  
      在url中产生 默认的includeParams ar__ Pf6r  
JmxH"7hTE  
uJzG|$;  
struts.velocity.configfile ^ DaBz\  
      The Velocity configuration file path ^hc!FD  
      velocity配置文件路径 OGK}EI  
,]9P{k]O  
struts.velocity.contexts 9oYgl1}d  
      List of Velocity context names * @ 3Ag(  
      velocity的context列表 w,#>G07D  
em,u(#)&  
"iy  
struts.velocity.manager.classname %zG;Q@  
      org.apache.struts2.views.velocity.VelocityManager implementation class vB.E3r=  
      org.apache.struts2.views.velocity.VelocityManager接口名 K^1oDP  
2bJQTk_S  
struts.velocity.toolboxlocation tSc Pa,(  
      The location of the Velocity toolbox rp3V3]EE  
      velocity工具盒的位置 "W6uV!  
struts.xslt.nocache OLyf8&AU@  
      Whether or not XSLT templates should not be cached gG0!C))8  
      是否XSLT模版应该被缓存 BXtCSfY $  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五