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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 iQ~;to;Y  
IlN9IF\9L  
struts.action.extension 9l+'V0?`  
      The URL extension to use to determine if the request is meant for a Struts action 4'RyD<K\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GNgPf"}K  
|B./5 ,nSS  
struts.configuration BRi\&&<4  
      The org.apache.struts2.config.Configuration implementation class 0P3^#j  
        org.apache.struts2.config.Configuration接口名 s["8QCd"r  
4l<%Q2  
struts.configuration.files h2QoBGL5  
      A list of configuration files automatically loaded by Struts @6~r7/WD  
      struts自动加载的一个配置文件列表 WA \ P`'lg  
`07xW*K(\Y  
struts.configuration.xml.reload h;u8{t"  
      Whether to reload the XML configuration or not { r yv7G  
      是否加载xml配置(true,false) &"p7X>bd  
?h2!Z{[0b  
struts.continuations.package kn:X^mDXC/  
      The package containing actions that use Rife continuations ?>92OuG%W?  
      含有actions的完整连续的package名称 d %1j4JE{  
jgQn^  
struts.custom.i18n.resources 8' M4 3n  
      Location of additional localization properties files to load +fBbW::R^  
      加载附加的国际化属性文件(不包含.properties后缀) eG55[V<!  
kc Q~}uFB  
struts.custom.properties \fj* .[,  
      Location of additional configuration properties files to load Y@)/iwq  
      加载附加的配置文件的位置 omisfu_~E  
HRS^91aK  
/@h)IuW  
struts.devMode E4idEQ}H  
      Whether Struts is in development mode or not I?<5 %  
      是否为struts开发模式 GTgG0Ifeh  
8vpB(VxV+  
struts.dispatcher.parametersWorkaround JVy-Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~\B1\ G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DyhW_PH2J  
Tk\?$n  
struts.enable.DynamicMethodInvocation t@m!k+0  
      Allows one to disable dynamic method invocation from the URL v50w}w'  
        允许动态方法调用 < Ih)h$8`  
r {R879  
struts.freemarker.manager.classname lKKg n{R  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "jS @ug  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %xv }  
L+VqTt  
struts.i18n.encoding W/e6O??O  
      The encoding to use for localization messages \JjZ _R  
      国际化信息内码 G(joamfM  
'b1k0 9'  
struts.i18n.reload 1X. E:  
      Whether the localization messages should automatically be reloaded QfPsF@+-`7  
      是否国际化信息自动加载 P`^3-X/  
Z'=:Bo{  
struts.locale PggjuPPh  
      The default locale for the Struts application )zn`qaHK@e  
      默认的国际化地区信息 Lmh4ezrdH  
"Bn8WT2?  
struts.mapper.class CNU,\>J@$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class mcO/V-\5'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 UaA1HZ1  
K X0{dizZ  
struts.multipart.maxSize X$mCn#8m  
      The maximize size of a multipart request (file upload) QAN :  
      multipart请求信息的最大尺寸(文件上传用) V&e 9?5@  
.l1uqCuB  
struts.multipart.parser "L ,)4v/J  
      The org.apache.struts2.dispatcher.multipart. AIN Fv;  
      MultiPartRequest parser implementation for a multipart request (file upload) \; #T.@c5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f0!i<9<  
b&]_5 GGc  
r2!\Ts5v  
struts.multipart.saveDir )c432).Z  
      The directory to use for storing uploaded files 9W5~I9%  
      设置存储上传文件的目录夹 5=cS5q@  
L F<{/c9,  
struts.objectFactory vT1StOx<V  
      The com.opensymphony.xwork2.ObjectFactory implementation class SrVo0$5)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +hiskV@v  
A?)nLp&Y  
struts.objectFactory.spring.autoWire =Pj+^+UM  
      Whether Spring should autoWire or not ) oypl+y  
      是否自动绑定Spring z.d1>w  
)O}q{4,}  
struts.objectFactory.spring.useClassCache )SjhOvm  
      Whether Spring should use its class cache or not +wPXDN#R  
      是否spring应该使用自身的cache ,ICn]Pdz@  
]:"<if gp$  
struts.objectTypeDeterminer .R";2f3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E^K<b7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Fi!BXngbd  
=(aA`:Nl  
struts.serve.static.browserCache Mn> /\e  
If static content served by the Struts filter should set browser caching header properties or not sd m4zV]&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^osXM`  
E&z`BPd  
struts.serve.static Py72:;wn  
      Whether the Struts filter should serve static content or not 3bU(ea^e$  
      是否struts过滤器应该提供静态内容 'r 0kX||  
r `;_ #&b  
struts.tag.altSyntax yw@kh^L  
      Whether to use the alterative syntax for the tags or not #Ch*a.tI@  
      是否可以用替代的语法替代tags w! kWG,{C  
Tf*DFyr  
struts.ui.templateDir P$7i>(?(  
      The directory containing UI templates V$?@ z>7  
      UI templates的目录夹 9\ulS2d  
Q\moR^>  
struts.ui.theme ;}>g/lw  
      The default UI template theme fHV%.25  
      默认的UI template主题 Vu= e|A#  
!'qY  
struts.url.http.port ^!v{ >3  
      The HTTP port used by Struts URLs ,wYA_1$$H  
      设置http端口 Q1[3C(  
qP k`e}D  
struts.url.https.port `k;MGs)&  
      The HTTPS port used by Struts URLs ou\M}C`E  
      设置https端口 g15~+;33N  
YQ-!>3/)-  
struts.url.includeParams )W,.xP  
      The default includeParams method to generate Struts URLs @{q:179w^  
      在url中产生 默认的includeParams cF V[k'F  
+Y! P VMF  
% |^V)  
struts.velocity.configfile Rp0`%}2 o  
      The Velocity configuration file path q).[" fSV  
      velocity配置文件路径 +bDBc?HZ{$  
2L(\-]%f  
struts.velocity.contexts , G2( l  
      List of Velocity context names % B^BN|r  
      velocity的context列表 T B(K&3_D  
dJ(<zz+;b  
1@:BUE;jZ  
struts.velocity.manager.classname Ys@OgdS@:  
      org.apache.struts2.views.velocity.VelocityManager implementation class $<da<}b  
      org.apache.struts2.views.velocity.VelocityManager接口名 "$k rK7Z  
]tx/t^&/\u  
struts.velocity.toolboxlocation YAP,#a  
      The location of the Velocity toolbox IQ\5!e  
      velocity工具盒的位置 $n= w  
struts.xslt.nocache Y/<`C  
      Whether or not XSLT templates should not be cached (Go1@;5I  
      是否XSLT模版应该被缓存 (jp!q ,)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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