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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?qHW"0Tjn  
CYEqH2"3  
struts.action.extension YXg:cXE8e  
      The URL extension to use to determine if the request is meant for a Struts action u&STGc[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 < hZA$.W3  
6@wnF>'/\  
struts.configuration 6.EfM^[  
      The org.apache.struts2.config.Configuration implementation class )UI T'*ow  
        org.apache.struts2.config.Configuration接口名 nDiD7:e7=  
Y_p   
struts.configuration.files M7eO5  
      A list of configuration files automatically loaded by Struts VMad ]bEf  
      struts自动加载的一个配置文件列表 )!|K3%9  
w/d9S(  
struts.configuration.xml.reload kkyn>Wxv  
      Whether to reload the XML configuration or not V*5:Vt7N  
      是否加载xml配置(true,false) RT)0I;  
WQv~<]1J F  
struts.continuations.package @-kzSm  
      The package containing actions that use Rife continuations iq5h[  
      含有actions的完整连续的package名称 UmiW_JB  
>f'n l  
struts.custom.i18n.resources ^-~.L: }q  
      Location of additional localization properties files to load .Ky<9h.K  
      加载附加的国际化属性文件(不包含.properties后缀) fT[6Cw5w`  
H^K(1  
struts.custom.properties 'RQZU*8  
      Location of additional configuration properties files to load &I:X[=;g  
      加载附加的配置文件的位置 Gd%6lab  
8BE OE<  
RW,ew!Z  
struts.devMode z\_q`43U7  
      Whether Struts is in development mode or not 15iCJ p  
      是否为struts开发模式 vFL3eu#  
,":"Op61  
struts.dispatcher.parametersWorkaround T oy~\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :n0(gB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >]T(}S~  
+3s i=x\=/  
struts.enable.DynamicMethodInvocation ]pB0bJAt  
      Allows one to disable dynamic method invocation from the URL :&6QKTX  
        允许动态方法调用 &5(|a"5+G  
gLl?e8[F  
struts.freemarker.manager.classname |]+m<Dpyr2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Arir=q^2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %+gze|J  
{'"A hiR/  
struts.i18n.encoding 73Mh65  
      The encoding to use for localization messages r$k *:A$%  
      国际化信息内码 .N_0rPO,Kw  
"SLN8x49(  
struts.i18n.reload )\`TZLR  
      Whether the localization messages should automatically be reloaded R!*UU'se  
      是否国际化信息自动加载 bt%k;Z]  
f:Nfw+/q  
struts.locale F m h;d*IT  
      The default locale for the Struts application w,eYrxR|N  
      默认的国际化地区信息 UQ'D-eK  
%CF(SK2w  
struts.mapper.class -T4?5T_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :/~`"`#1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Haj`mc!<D0  
>bz}IcZP  
struts.multipart.maxSize e<~uU9 lg1  
      The maximize size of a multipart request (file upload) }`5%2iG  
      multipart请求信息的最大尺寸(文件上传用) fAUtqkB  
(}4tj4d  
struts.multipart.parser \dIIZSN  
      The org.apache.struts2.dispatcher.multipart. "h$A.S  
      MultiPartRequest parser implementation for a multipart request (file upload) P8DJv-f`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8@6:UR.)  
mEz&:A  
0J@)?,V-.  
struts.multipart.saveDir k W/3 Aq7r  
      The directory to use for storing uploaded files ORcl=Eo>  
      设置存储上传文件的目录夹 =zqOkC h$  
PS`)6yn{_  
struts.objectFactory ?h1]s&^| 2  
      The com.opensymphony.xwork2.ObjectFactory implementation class hP3I_I[qF}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) a3HT1!M)  
UgSSZ05Lq  
struts.objectFactory.spring.autoWire W qci51y>#  
      Whether Spring should autoWire or not MCL?J,1?r  
      是否自动绑定Spring Y_Ej-u+>{  
#96E^%:zL  
struts.objectFactory.spring.useClassCache [m3G%PO@Da  
      Whether Spring should use its class cache or not ^:{l~~9iKp  
      是否spring应该使用自身的cache 5y}}?6n+  
.[= 0(NO  
struts.objectTypeDeterminer -M%n<,XN0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |;OM,U2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ZN%$k-2  
'V 1QuSd  
struts.serve.static.browserCache :'1ePq  
If static content served by the Struts filter should set browser caching header properties or not hJhdHy=U  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 FK@rZP  
?*[t'D9f-  
struts.serve.static wd..{j0&  
      Whether the Struts filter should serve static content or not 9Hlu%R  
      是否struts过滤器应该提供静态内容 6dC!&leNi  
9p2"5x  
struts.tag.altSyntax ,8+SQo #3  
      Whether to use the alterative syntax for the tags or not j,EE`g&  
      是否可以用替代的语法替代tags  PovPO  
_)2N Fq  
struts.ui.templateDir cU%#oEMf<  
      The directory containing UI templates uZm<:d2%)  
      UI templates的目录夹 A-ir   
^L]+e  
struts.ui.theme 2NIK0%6  
      The default UI template theme ;oob TW{  
      默认的UI template主题 9zi/z_G  
<MT_zET  
struts.url.http.port ~u,g5  
      The HTTP port used by Struts URLs g 4Vt"2|  
      设置http端口 1swh7  
/~J#c=  
struts.url.https.port lNqXx{!k  
      The HTTPS port used by Struts URLs S3)JEZi  
      设置https端口 S U2`H7C*  
1tQZyHc42;  
struts.url.includeParams #3kR}Amow  
      The default includeParams method to generate Struts URLs =J0FT2 d  
      在url中产生 默认的includeParams |=jgrm1yj  
p_B,7@Jl  
gOgG23 x  
struts.velocity.configfile $'?CY)h{  
      The Velocity configuration file path jpm}EOq<%  
      velocity配置文件路径 VaVKWJg$  
rIW`(IG_  
struts.velocity.contexts ;X|;/@@  
      List of Velocity context names zr84%_^  
      velocity的context列表 *v l_3S5_  
dr,j~s  
3~s0ux[  
struts.velocity.manager.classname m]7Y )&3  
      org.apache.struts2.views.velocity.VelocityManager implementation class U NQup;#h  
      org.apache.struts2.views.velocity.VelocityManager接口名 9XobTi3+'  
Ujq)h:`  
struts.velocity.toolboxlocation FE/&<g0,:  
      The location of the Velocity toolbox 6st(s@>  
      velocity工具盒的位置 2r PKZ|  
struts.xslt.nocache 1hi^  
      Whether or not XSLT templates should not be cached Ls*.=ARq  
      是否XSLT模版应该被缓存 @_N -> l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五