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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8<!9mgh  
+%v4Ci"%y  
struts.action.extension Q2JjBV<  
      The URL extension to use to determine if the request is meant for a Struts action BW 7[JD  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 HfPeR8I%i  
7F\g3^ z9`  
struts.configuration * =l9gv&  
      The org.apache.struts2.config.Configuration implementation class 6}$cDk`dz  
        org.apache.struts2.config.Configuration接口名 GkFNLM5'  
3RUB2c4  
struts.configuration.files U"]i.J1  
      A list of configuration files automatically loaded by Struts f?6=H^_>  
      struts自动加载的一个配置文件列表 add-]2`  
7Wu2gky3  
struts.configuration.xml.reload NYeg,{q  
      Whether to reload the XML configuration or not (k~c]N)v  
      是否加载xml配置(true,false) J4i0+u  
psVRdluS   
struts.continuations.package qxx.f5 8H  
      The package containing actions that use Rife continuations aXagiz\;  
      含有actions的完整连续的package名称 /2@@v|QL  
 M > <   
struts.custom.i18n.resources iVcBD0 q)  
      Location of additional localization properties files to load ) LG/n  
      加载附加的国际化属性文件(不包含.properties后缀) Lsdu:+-  
C#R9Hlb  
struts.custom.properties \q>,c49a{  
      Location of additional configuration properties files to load M*N8p]3Cq  
      加载附加的配置文件的位置 $B2@mC([S  
MgekLP )&  
5cU8GgN`  
struts.devMode 53QP~[F8R]  
      Whether Struts is in development mode or not 5tL6R3  
      是否为struts开发模式 sMx\WTyz  
/<@tbZJ*8  
struts.dispatcher.parametersWorkaround xjYFTb}!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f8lww)^,v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1tDN$rM5  
Syk^7l  
struts.enable.DynamicMethodInvocation yT4|eHl  
      Allows one to disable dynamic method invocation from the URL Evc 9k  
        允许动态方法调用 ^RyrUb  
~EBZlTN  
struts.freemarker.manager.classname I zT%Kq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &V"&SV>}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #?9o A4Q  
v:chr$>j5  
struts.i18n.encoding Z& %61jGK  
      The encoding to use for localization messages ?6Gq &  
      国际化信息内码 w%ForDB>P  
a'Z"Yz^Eo  
struts.i18n.reload TsQMwV_h  
      Whether the localization messages should automatically be reloaded E=y#~W  
      是否国际化信息自动加载 6T-(GHzfHJ  
]O[f#lG  
struts.locale Q7C'O @  
      The default locale for the Struts application _ |; bh  
      默认的国际化地区信息 &zZSWNW  
,Y*f]  
struts.mapper.class *VH1(E`hl  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [# _ceg1G  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pO^ 6p%  
@*oi1_q  
struts.multipart.maxSize $j:0*Z=>  
      The maximize size of a multipart request (file upload) A1|:$tED+2  
      multipart请求信息的最大尺寸(文件上传用) . &e,8  
aU3&=aN+  
struts.multipart.parser &(K*TB|Om  
      The org.apache.struts2.dispatcher.multipart. PtHT>  
      MultiPartRequest parser implementation for a multipart request (file upload) 0<Y)yNsV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1G\ugLm  
.JzO f[g5  
GB -=DC6  
struts.multipart.saveDir {f!mm3'2v  
      The directory to use for storing uploaded files 1}(g=S  
      设置存储上传文件的目录夹 m,pDjf  
'K0Y@y  
struts.objectFactory @g{=f55  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;{>z\6N  
      com.opensymphony.xwork2.ObjectFactory接口(spring) A81kb  
k,r\^1h  
struts.objectFactory.spring.autoWire ?znSA >  
      Whether Spring should autoWire or not 9gFC]UVWh  
      是否自动绑定Spring 9 Hm!B )Y  
Y A;S'dxY  
struts.objectFactory.spring.useClassCache xQN](OKG  
      Whether Spring should use its class cache or not _h5@3>b3r  
      是否spring应该使用自身的cache  bSmRo  
q* m%Fv  
struts.objectTypeDeterminer %3q@\:s  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sI~{it#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *u-TNg  
nGRF< 2!  
struts.serve.static.browserCache tnp]wZ  
If static content served by the Struts filter should set browser caching header properties or not zRB1V99k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #fa~^]EM]  
j88H3bi0  
struts.serve.static A }dl@  
      Whether the Struts filter should serve static content or not NxNz(R $~  
      是否struts过滤器应该提供静态内容 d(h`bOjI  
}lWEbQ)(!  
struts.tag.altSyntax nkv zv  
      Whether to use the alterative syntax for the tags or not u{I)C0  
      是否可以用替代的语法替代tags Fm*O&6W\@A  
%GAEZH,2sG  
struts.ui.templateDir &!~q#w1W-5  
      The directory containing UI templates Wvcj\2'yd  
      UI templates的目录夹 C,K P!B{  
hMi[MB7~  
struts.ui.theme w2Pkw'a{  
      The default UI template theme  37{mhU  
      默认的UI template主题 _pW\F(+8  
G:f]z;Xdp  
struts.url.http.port W<kJ%42^j  
      The HTTP port used by Struts URLs (/c9v8Pr(7  
      设置http端口 BjJ+~R  
-p9|l%W  
struts.url.https.port is`le}$^y  
      The HTTPS port used by Struts URLs #Ey!?Z  
      设置https端口 Xa+ u>1"2"  
?/NxZ\  
struts.url.includeParams ^cd+W?  
      The default includeParams method to generate Struts URLs #m|AQr|  
      在url中产生 默认的includeParams y~;Kf0~  
Q-(twh  
|UE&M3S  
struts.velocity.configfile 1[/X$DyaK  
      The Velocity configuration file path K6_{AuL}4  
      velocity配置文件路径 <T<?7SE+  
&R>x;&Gj  
struts.velocity.contexts K@`F*^A}V  
      List of Velocity context names .\qZkk}2l  
      velocity的context列表 d+Pfi)+(I  
E[^66(KR  
z1_\P) M  
struts.velocity.manager.classname MHk\y2`/;  
      org.apache.struts2.views.velocity.VelocityManager implementation class 4mPCAA7  
      org.apache.struts2.views.velocity.VelocityManager接口名 (?D47^F &  
5 J61PuH   
struts.velocity.toolboxlocation cYq<.A(hVj  
      The location of the Velocity toolbox u-yQP@^H  
      velocity工具盒的位置 gVl%:Ra%  
struts.xslt.nocache C]p3,G,oN  
      Whether or not XSLT templates should not be cached v|"Nx42  
      是否XSLT模版应该被缓存 T[;O K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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