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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 x8x8T $  
&B ?TX.  
struts.action.extension B?n 6o|8  
      The URL extension to use to determine if the request is meant for a Struts action {| ~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Kcf1$`F24  
tQ~vLPi$  
struts.configuration goBl~fqy0  
      The org.apache.struts2.config.Configuration implementation class IC"lsNq52  
        org.apache.struts2.config.Configuration接口名 r:;nv D  
2MY-9(no  
struts.configuration.files F/O5Z?C?  
      A list of configuration files automatically loaded by Struts &BTgISYi  
      struts自动加载的一个配置文件列表 i82sMN1jl7  
9BR/zQ2  
struts.configuration.xml.reload R. :~e  
      Whether to reload the XML configuration or not $.HZz  
      是否加载xml配置(true,false) ,'!x 9 `  
Rn?Yz^ 1q  
struts.continuations.package 3lr9nBR  
      The package containing actions that use Rife continuations u*}[fQ`aF  
      含有actions的完整连续的package名称 I "Qf};n  
|p_\pa1&  
struts.custom.i18n.resources ^V6cx2M  
      Location of additional localization properties files to load 76 nrDE  
      加载附加的国际化属性文件(不包含.properties后缀)  \EI<1B  
J34/rL/s  
struts.custom.properties 3QSA|  
      Location of additional configuration properties files to load ,jH<i.2R  
      加载附加的配置文件的位置 3T1t !q4/5  
m{#?fR=9  
;|yd}q=p  
struts.devMode X;:qnnO  
      Whether Struts is in development mode or not :)JIKP%$\)  
      是否为struts开发模式 C?dQ QB$  
Odn`q=  
struts.dispatcher.parametersWorkaround )T0%<(J  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \iL{q^Im  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) py|ORVN(Z  
z3Id8G&>  
struts.enable.DynamicMethodInvocation =#=<%HPT  
      Allows one to disable dynamic method invocation from the URL @kh:o\  
        允许动态方法调用 &<dC3o!  
)}!Z^ND*  
struts.freemarker.manager.classname oz8z%*9 (  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #Sg< 9xsW  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [p Y1\$,  
dMd2a4  
struts.i18n.encoding b6(LoN.  
      The encoding to use for localization messages h95a61a,Vy  
      国际化信息内码 W0-KFo.'  
1 sJtkge:  
struts.i18n.reload v[l={am{/  
      Whether the localization messages should automatically be reloaded meF.`fh  
      是否国际化信息自动加载 ,]Gi942  
};{Qx  
struts.locale CU`yi.)T{  
      The default locale for the Struts application ]9A@iA  
      默认的国际化地区信息 SH ow~wxw  
vQH 6CB"  
struts.mapper.class  C\`*_t  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |(eRv?Qy@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U3 t$h  
]S0tK  
struts.multipart.maxSize ioW&0?,Ym  
      The maximize size of a multipart request (file upload) Z:(Zy  
      multipart请求信息的最大尺寸(文件上传用) ]nIH0k3y  
;9&#Sb/  
struts.multipart.parser ;6)Onwx  
      The org.apache.struts2.dispatcher.multipart. 2#jBh   
      MultiPartRequest parser implementation for a multipart request (file upload) MA`.&MA.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B+VD53 V  
aw\0\'}  
)swu~Wb}U@  
struts.multipart.saveDir X;/5Niv32q  
      The directory to use for storing uploaded files e0Jz|?d=  
      设置存储上传文件的目录夹 `*Ju0)g1  
qrr[QEFW  
struts.objectFactory [z[<onFIq  
      The com.opensymphony.xwork2.ObjectFactory implementation class /LK,:6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2%Mgg,/~  
$-w&<U$E  
struts.objectFactory.spring.autoWire "7z1V{ ;Y  
      Whether Spring should autoWire or not /_(q7:<ZF  
      是否自动绑定Spring e)M)q!nG  
O3JBS^;V2  
struts.objectFactory.spring.useClassCache >OxSrc@A  
      Whether Spring should use its class cache or not ).$q9G  
      是否spring应该使用自身的cache ;h~v,h  
EP'I  
struts.objectTypeDeterminer (5/>arDn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xJ rKH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Spm0DqqR?  
}!_ofe  
struts.serve.static.browserCache wZnv*t_  
If static content served by the Struts filter should set browser caching header properties or not Wm^RfxgN/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KD=W(\  
o4t6NDa  
struts.serve.static UJ?qGOM3x>  
      Whether the Struts filter should serve static content or not w,x'FZD  
      是否struts过滤器应该提供静态内容 P1_ZGeom*  
S x0QPX  
struts.tag.altSyntax 8! X K[zL  
      Whether to use the alterative syntax for the tags or not 5jey%)=  
      是否可以用替代的语法替代tags s(0"r.  
Hx?OCGj=S*  
struts.ui.templateDir !;, Dlq-}  
      The directory containing UI templates M5Q7izM  
      UI templates的目录夹 d:!A`sk7  
oMeIXb)z  
struts.ui.theme Oz1S*<]=,~  
      The default UI template theme b haYbiX?  
      默认的UI template主题 U6xs'0  
;&} rO.0  
struts.url.http.port ^Q9!DF m  
      The HTTP port used by Struts URLs Sg+0w7:2  
      设置http端口 b[Qe} `W  
^ rh{  
struts.url.https.port 0-at#r:  
      The HTTPS port used by Struts URLs 2tqj]i  
      设置https端口 ;^DG P  
a,ZmDkzuv  
struts.url.includeParams %1Nank!Zj  
      The default includeParams method to generate Struts URLs 7 (kC|q\4M  
      在url中产生 默认的includeParams _O;2.M%@  
hd N[wC]  
p*C|kEqk  
struts.velocity.configfile ;7*R;/  
      The Velocity configuration file path G?dxLRy.do  
      velocity配置文件路径 nXJG4$G  
We)l_>G  
struts.velocity.contexts a+=.(g  
      List of Velocity context names DFM~jlH  
      velocity的context列表 (N^tg8Z<  
6d{&1-@>  
(iJ9ekB  
struts.velocity.manager.classname 3aUWQP2  
      org.apache.struts2.views.velocity.VelocityManager implementation class J.Fy0W@+k4  
      org.apache.struts2.views.velocity.VelocityManager接口名 [4 y7tjar^  
$2/v8  
struts.velocity.toolboxlocation ]L/AW  
      The location of the Velocity toolbox krMO<(x+  
      velocity工具盒的位置 Ba#wW E  
struts.xslt.nocache chakp!S=  
      Whether or not XSLT templates should not be cached Vk:] aveW  
      是否XSLT模版应该被缓存 .8dlf7* ,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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