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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 nVxq72o@  
8rFaW  
struts.action.extension 3az$:[Und}  
      The URL extension to use to determine if the request is meant for a Struts action 4|nQ=bIau  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "hWJ3pi{o{  
0Tcz[$?  
struts.configuration 2;:lK":  
      The org.apache.struts2.config.Configuration implementation class {Q)dU-\  
        org.apache.struts2.config.Configuration接口名 ^:qD.h>&  
NMXnrvS&  
struts.configuration.files hUVk54~l  
      A list of configuration files automatically loaded by Struts i{8]'fM  
      struts自动加载的一个配置文件列表 16I&7=S,  
%=V"CJ$|  
struts.configuration.xml.reload R N@^j  
      Whether to reload the XML configuration or not 8N% z9b  
      是否加载xml配置(true,false) 7p^@;@V  
~<n(y-P^  
struts.continuations.package >;)2NrJV  
      The package containing actions that use Rife continuations h$70H^r  
      含有actions的完整连续的package名称 9b1?W?"  
Bi e?M  
struts.custom.i18n.resources ##H;Yb  
      Location of additional localization properties files to load Y}ng_c  
      加载附加的国际化属性文件(不包含.properties后缀) e RA7i  
dFQ o  
struts.custom.properties `gt:gx>a  
      Location of additional configuration properties files to load !"Qb}g  
      加载附加的配置文件的位置 7Rnm%8?T  
Yp*,Jp1  
: (gZgMT  
struts.devMode #+9rjq:v#]  
      Whether Struts is in development mode or not ]}kI)34/  
      是否为struts开发模式 \yNQQ$B  
lW p~t  
struts.dispatcher.parametersWorkaround EYkj@ .,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wf?u (3/%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) n@ 4@,  
4r\*@rq  
struts.enable.DynamicMethodInvocation eOt%xTx  
      Allows one to disable dynamic method invocation from the URL .`,F  
        允许动态方法调用 Uo2+:p  
Vvyj  
struts.freemarker.manager.classname QC{u|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |8H_-n  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U;g S[8,p  
Sk\n;mL:  
struts.i18n.encoding 4qt+uNe!  
      The encoding to use for localization messages -0$:|p?@^  
      国际化信息内码 'w(y J  
;K_}A4K  
struts.i18n.reload JWWYVl VC  
      Whether the localization messages should automatically be reloaded \PbvN\L  
      是否国际化信息自动加载 3?2<W EYr  
?q _^Rj$  
struts.locale zG#wu   
      The default locale for the Struts application Q&xjF@I  
      默认的国际化地区信息 zsDocR   
daslaa_A  
struts.mapper.class ;WD,x:>blO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f^p^Y F+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 EUy(T1Cl&&  
D+sQPymI  
struts.multipart.maxSize /Pvk),ca  
      The maximize size of a multipart request (file upload) y7z(&M@  
      multipart请求信息的最大尺寸(文件上传用) o'Wz*oY))\  
5;mRGY  
struts.multipart.parser KY$k`f6?P  
      The org.apache.struts2.dispatcher.multipart. '.(~  
      MultiPartRequest parser implementation for a multipart request (file upload) H<`\bej,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;3;2h+U*  
;L~p|sF  
}3Y <$YL"R  
struts.multipart.saveDir X4wH/q^  
      The directory to use for storing uploaded files ZQAO"huk]  
      设置存储上传文件的目录夹 ,[isib3  
6YmP[%  
struts.objectFactory T|;@ T^  
      The com.opensymphony.xwork2.ObjectFactory implementation class {~N3D4n^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Hz@h0+h  
2no$+4+z  
struts.objectFactory.spring.autoWire o5swH6Y.)J  
      Whether Spring should autoWire or not lpy:3`ti  
      是否自动绑定Spring bb;(gK;F  
bO3GVc+S  
struts.objectFactory.spring.useClassCache dU]/$7  
      Whether Spring should use its class cache or not H(|AH;?ou  
      是否spring应该使用自身的cache F_=1;,K%  
I{ ryD -!  
struts.objectTypeDeterminer 6Ps.E  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -\#lF?fzb  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &gn-Wb?  
"uKFOV?j&  
struts.serve.static.browserCache B+] D5K  
If static content served by the Struts filter should set browser caching header properties or not E!J=8C.:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8#X_#  
PLA#!$c7q  
struts.serve.static rp's  
      Whether the Struts filter should serve static content or not m\ S\3n  
      是否struts过滤器应该提供静态内容 JoZ(_Jh%m  
*fnvZw?  
struts.tag.altSyntax  $dQIs:  
      Whether to use the alterative syntax for the tags or not mR% FqaN_  
      是否可以用替代的语法替代tags }D*yr3b  
T\9~<"P^  
struts.ui.templateDir WOX}Sw"  
      The directory containing UI templates yZCX S  
      UI templates的目录夹 &Z;_TN9[  
T95t"g?p  
struts.ui.theme W .I\J<=V  
      The default UI template theme dNiH|-$an  
      默认的UI template主题 |3shc,7  
bgF^(T35  
struts.url.http.port BRS#Fl:  
      The HTTP port used by Struts URLs O_;Dk W  
      设置http端口 SZhOm  
h Dk)Qg  
struts.url.https.port ^/@jwZ  
      The HTTPS port used by Struts URLs w1 `QIv  
      设置https端口 T2FE+A]n9  
6C [E  
struts.url.includeParams sOBu7!G%  
      The default includeParams method to generate Struts URLs f>polxB%N  
      在url中产生 默认的includeParams K j3?ve~  
t"vRc4mf  
hyg8wI  
struts.velocity.configfile DM{ 4@*]  
      The Velocity configuration file path ,"\@fwy{  
      velocity配置文件路径 lv%9MW0 z  
D`yEwpV^  
struts.velocity.contexts J2VTo: In  
      List of Velocity context names ["3\eFg  
      velocity的context列表 i7*EbaYzUO  
4J0Rv od_  
LWnR?Qve<  
struts.velocity.manager.classname VT%:zf  
      org.apache.struts2.views.velocity.VelocityManager implementation class #_i`#d)  
      org.apache.struts2.views.velocity.VelocityManager接口名 #8XL :I  
k@dN$O%p  
struts.velocity.toolboxlocation 7f{=w, U  
      The location of the Velocity toolbox \ZI'|Ad  
      velocity工具盒的位置 ;# uZhd  
struts.xslt.nocache 5!X1G8h)uy  
      Whether or not XSLT templates should not be cached O|kOI?f  
      是否XSLT模版应该被缓存 9?<{_'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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