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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^FkB/j  
)rt%.`  
struts.action.extension SMJRoK3  
      The URL extension to use to determine if the request is meant for a Struts action E`<ou_0N@q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {K6Z.-.`  
R/*"N'nH-%  
struts.configuration &43c/T Sb  
      The org.apache.struts2.config.Configuration implementation class ~G-W|>  
        org.apache.struts2.config.Configuration接口名 9 wbQ$>G9  
BV }CmU&DA  
struts.configuration.files YOj&1ymBZ  
      A list of configuration files automatically loaded by Struts &/ED.K  
      struts自动加载的一个配置文件列表 RqP_^tB  
RyG6_ G}  
struts.configuration.xml.reload ^y KkWB*  
      Whether to reload the XML configuration or not Bz kfB:wr  
      是否加载xml配置(true,false) [#RFdn<  
5E1`qof  
struts.continuations.package ",J&UTUh  
      The package containing actions that use Rife continuations `b]wyP  
      含有actions的完整连续的package名称 &R?to>xr \  
%KkC1.yu<  
struts.custom.i18n.resources au/LoO#6Ro  
      Location of additional localization properties files to load hayJgkZ '  
      加载附加的国际化属性文件(不包含.properties后缀) }!R*Q`m  
-2>s#/%  
struts.custom.properties o 9/,@Ri\5  
      Location of additional configuration properties files to load '`. -75T  
      加载附加的配置文件的位置 v9Sk\9}S  
32?'jRN(ue  
/ o I 4&W  
struts.devMode G5K?Q+n   
      Whether Struts is in development mode or not "bF52lLu  
      是否为struts开发模式 QKB+mjMH#x  
II|;_j  
struts.dispatcher.parametersWorkaround HLG5SS7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \w>Rmf'|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .P/0 `A{&  
Ui"{0%  
struts.enable.DynamicMethodInvocation $I>]61l%  
      Allows one to disable dynamic method invocation from the URL $/tj<++W  
        允许动态方法调用 eq(h {*rC  
9H/R@i[E  
struts.freemarker.manager.classname v}a {nU'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wet[f{c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 kGo2R]Dd[  
Q"nw.FjUG  
struts.i18n.encoding YG8V\4 SQ  
      The encoding to use for localization messages I`rN+c:  
      国际化信息内码 !<HMMf,-D  
SQn.`0HT  
struts.i18n.reload [fV"tf;  
      Whether the localization messages should automatically be reloaded M j6,VD9L  
      是否国际化信息自动加载 !4=_l6kg~+  
^v'0\(H?P  
struts.locale yiI oqvP  
      The default locale for the Struts application {wj%WSQj/y  
      默认的国际化地区信息 B["+7\c<~  
/|i*'6*  
struts.mapper.class 8.N`^Nj 1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _ahp7-O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $p4e8j[EJ  
G9LWnyQt  
struts.multipart.maxSize 6kLy!QS  
      The maximize size of a multipart request (file upload) /j}Tv.'d  
      multipart请求信息的最大尺寸(文件上传用) *AQ3RA8  
: [328X2  
struts.multipart.parser @6tczU}ak  
      The org.apache.struts2.dispatcher.multipart. ;-@: }/  
      MultiPartRequest parser implementation for a multipart request (file upload) fpf,gb8[$n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5QuRwu_  
+y8Y@e}>  
WysWg7,r  
struts.multipart.saveDir fRLA;1va  
      The directory to use for storing uploaded files =xRD %Z  
      设置存储上传文件的目录夹 l!Xj UnRF  
+~aIT=i3  
struts.objectFactory `PL}8ydZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class N>"L2E=z$|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]= %qm;  
buN@O7\  
struts.objectFactory.spring.autoWire 2w8cJadT'p  
      Whether Spring should autoWire or not yq[/9PciA  
      是否自动绑定Spring 4:NMZ `~  
}u3|w0~c)  
struts.objectFactory.spring.useClassCache Nc{&AV8Y_v  
      Whether Spring should use its class cache or not fxoEK}TM  
      是否spring应该使用自身的cache :i?6#_2IC  
h8 N|m0W  
struts.objectTypeDeterminer Y z&!0Hfd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d7[^p N  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1G5AL2  
-d#08\  
struts.serve.static.browserCache  c1s&  
If static content served by the Struts filter should set browser caching header properties or not 0RMW>v/7kL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 43B0ynagN  
I[ \7Bf  
struts.serve.static xatq  
      Whether the Struts filter should serve static content or not lGWz  
      是否struts过滤器应该提供静态内容 U'(zKqC   
9t)Hi qj  
struts.tag.altSyntax *8?2+ )5"  
      Whether to use the alterative syntax for the tags or not g`S;xs  
      是否可以用替代的语法替代tags hx9t{Zi  
iJ^}{-  
struts.ui.templateDir rZ3ji(4HS  
      The directory containing UI templates rC_1f3A  
      UI templates的目录夹 pgh(~ [  
>4Tk#+%Jj  
struts.ui.theme DGb1_2ZQ  
      The default UI template theme E]/2 u3p  
      默认的UI template主题 .x,y[/[[)  
IJ2'  
struts.url.http.port {TpbUj0  
      The HTTP port used by Struts URLs 76@W:L*J$J  
      设置http端口 CZ u=/8?  
BQ Vro;#Jc  
struts.url.https.port XF)N_}X^  
      The HTTPS port used by Struts URLs vbeE}7 *2  
      设置https端口 >zX^*T#  
pMHl<HH  
struts.url.includeParams ]-{ fr+  
      The default includeParams method to generate Struts URLs e( @< /W  
      在url中产生 默认的includeParams 'vVWUK956  
5Ex[}y9L`  
JFX}))7  
struts.velocity.configfile Os$E,4,py  
      The Velocity configuration file path upaP,ik}~  
      velocity配置文件路径 V.*M;T\i  
Y0|){&PCt  
struts.velocity.contexts iY07lvG<  
      List of Velocity context names Qw2-Vv4!"  
      velocity的context列表 ;BH.,{*@B  
.G\](%  
:qbU@)p*  
struts.velocity.manager.classname $RY-yKmi  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5wx~QV=Hh  
      org.apache.struts2.views.velocity.VelocityManager接口名 7{O iV}]"  
Z8bg5%  
struts.velocity.toolboxlocation ^-q{:lx  
      The location of the Velocity toolbox <Qih&P9;>  
      velocity工具盒的位置 (i%bQZt^?  
struts.xslt.nocache Xzg >/w 8J  
      Whether or not XSLT templates should not be cached vkhPE(f  
      是否XSLT模版应该被缓存 Pa Q lQ#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八