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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )1o<}7  
}<g- 0&GLm  
struts.action.extension |!"qz$8fB  
      The URL extension to use to determine if the request is meant for a Struts action @]X5g8h  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $gysy!2}.  
H:.l:PJ  
struts.configuration MNd[Xzm  
      The org.apache.struts2.config.Configuration implementation class (5Sv$Xt  
        org.apache.struts2.config.Configuration接口名 \#q|.d$ u  
CC.ri3+.  
struts.configuration.files OmAa$L,'w  
      A list of configuration files automatically loaded by Struts AIw<5lW  
      struts自动加载的一个配置文件列表 >^ zbDU1wT  
%mMPALN]{  
struts.configuration.xml.reload w}r~Wk^dLI  
      Whether to reload the XML configuration or not K#4Toc#=V  
      是否加载xml配置(true,false) {x<yDDIv_  
0:q R,NW^#  
struts.continuations.package xoyH5ZK@  
      The package containing actions that use Rife continuations Wd]MwDcO  
      含有actions的完整连续的package名称 *1CZRfWI  
q1vsvL9Q  
struts.custom.i18n.resources JFh_3r'  
      Location of additional localization properties files to load KIYs[0*k  
      加载附加的国际化属性文件(不包含.properties后缀) #Iwxt3K  
<-F[q'!C1  
struts.custom.properties ^>m"j6`h,  
      Location of additional configuration properties files to load QV9 z81[  
      加载附加的配置文件的位置 ,'>O#kD  
tLo_lLn*~%  
Bd>a"3fA  
struts.devMode ,BE4z2a  
      Whether Struts is in development mode or not %rq/&#jC  
      是否为struts开发模式 =Bw2{]w  
zt/N)5\V  
struts.dispatcher.parametersWorkaround 8N9X1Mb|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <U~at+M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?"L ^ 0%  
 NH0uK  
struts.enable.DynamicMethodInvocation ~(K{D D7[N  
      Allows one to disable dynamic method invocation from the URL =uD^#AX  
        允许动态方法调用 ?<6yKxn  
0t(js_  
struts.freemarker.manager.classname XG}9) fT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =9L1Z \f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 go B'C  
'rDai [  
struts.i18n.encoding p-JGDjR0G  
      The encoding to use for localization messages 6"<q{K  
      国际化信息内码 tl+ 9SBl  
f&NXWo/  
struts.i18n.reload 9q_c`  
      Whether the localization messages should automatically be reloaded Ji7<UJ30x  
      是否国际化信息自动加载 D'<'"kUd  
MyaJhA6c  
struts.locale V3c7F4\  
      The default locale for the Struts application yrQf PR  
      默认的国际化地区信息 s0*@zn>h  
j-TRa,4bN  
struts.mapper.class #gSLFM{p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class YG J)_y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {{@*  
G*%:"qleT$  
struts.multipart.maxSize <db>~@;X!  
      The maximize size of a multipart request (file upload) `PS>"-AY2  
      multipart请求信息的最大尺寸(文件上传用) w'7=CzfYn  
Lf+"Gp  
struts.multipart.parser B\Uocn  
      The org.apache.struts2.dispatcher.multipart. lL"ANlX-P  
      MultiPartRequest parser implementation for a multipart request (file upload) *^[j6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /a?qtRw  
-~v1@  
G- eSHv  
struts.multipart.saveDir ndS8p]P&o(  
      The directory to use for storing uploaded files /M Z^;XG  
      设置存储上传文件的目录夹 Ri;_ 8v[H|  
Aqo90(jffx  
struts.objectFactory )SyU  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7mtX/w9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O#?@' 1  
IA680^  
struts.objectFactory.spring.autoWire VCQo3k5 {  
      Whether Spring should autoWire or not z4{ :X Da  
      是否自动绑定Spring 5]~4 51  
 4}F~h  
struts.objectFactory.spring.useClassCache yZkS   
      Whether Spring should use its class cache or not j9~lf  
      是否spring应该使用自身的cache iB#*XJ;q  
cV:Ak~PKl  
struts.objectTypeDeterminer Kjt\A]R%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +0g L!r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tR(nD UHV5  
~Xz?H=}U+  
struts.serve.static.browserCache 9nS fFGu  
If static content served by the Struts filter should set browser caching header properties or not bk:mk[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KvXF zx|A  
SVBo0wvz-  
struts.serve.static }56WAP}Z 4  
      Whether the Struts filter should serve static content or not >)+N$EN  
      是否struts过滤器应该提供静态内容 58P[EMhL  
il% u)NN  
struts.tag.altSyntax |H.ARLS  
      Whether to use the alterative syntax for the tags or not d r$E:kr  
      是否可以用替代的语法替代tags o>\o=%D.a  
pD;fFLvN  
struts.ui.templateDir ;b!qt-;.<  
      The directory containing UI templates pv]" 2'aQ  
      UI templates的目录夹 SM\qd4  
i>e?$H,/  
struts.ui.theme %S/?Ci  
      The default UI template theme EO%"[k  
      默认的UI template主题 '9!J' [W  
a'(B}B=h  
struts.url.http.port Vrs?VA`v$  
      The HTTP port used by Struts URLs qyP={E9A  
      设置http端口 {r'+icvLX  
X}H?*'-  
struts.url.https.port -tfUkGdx;l  
      The HTTPS port used by Struts URLs yt<h!k$ _P  
      设置https端口 +`tk LvM  
9_fbl:qk;\  
struts.url.includeParams p0h E`!  
      The default includeParams method to generate Struts URLs bE?X?[K  
      在url中产生 默认的includeParams &O#,"u/q`  
|#yH,f  
)3k?{1:  
struts.velocity.configfile <QD[hO^/  
      The Velocity configuration file path JJK-+a6cX  
      velocity配置文件路径 Z@} qL1  
bvS6xU- J  
struts.velocity.contexts ?AK`M #M  
      List of Velocity context names J4u>77I  
      velocity的context列表 [0vqm:P  
O L 9(~p  
" =6kH,  
struts.velocity.manager.classname )]kxLf#  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3S" /l  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,B'fOJ.2  
.y<u+)  
struts.velocity.toolboxlocation 6V*,nocL_+  
      The location of the Velocity toolbox ,Oe:SZJ>  
      velocity工具盒的位置 -iL:D<!Cb_  
struts.xslt.nocache ~;#sj&~  
      Whether or not XSLT templates should not be cached :Iuc H%6V  
      是否XSLT模版应该被缓存 OY8P  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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