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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2IUd?i3~l  
p+d O w #  
struts.action.extension b[:{\ !I  
      The URL extension to use to determine if the request is meant for a Struts action aK 7 }}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Kx?8 HA[5  
v-/vj/4>  
struts.configuration %E"Z &_3{  
      The org.apache.struts2.config.Configuration implementation class Ba** S8{/`  
        org.apache.struts2.config.Configuration接口名 c]/S<w<  
f[ia0w5 m  
struts.configuration.files E]=>@EX  
      A list of configuration files automatically loaded by Struts |"+Uf w^  
      struts自动加载的一个配置文件列表 14 (sp  
h[Uo6`  
struts.configuration.xml.reload ?GW}:'z  
      Whether to reload the XML configuration or not yrd1J$  
      是否加载xml配置(true,false) M}Xf<:g)  
4S[UJ%  
struts.continuations.package /'b7q y  
      The package containing actions that use Rife continuations n 8 K6m(  
      含有actions的完整连续的package名称 W+$G{XSr5C  
Qkhor-f0  
struts.custom.i18n.resources .t/@d(R  
      Location of additional localization properties files to load 1Kd6tnX  
      加载附加的国际化属性文件(不包含.properties后缀) V Ew| N)  
8m=O408Q  
struts.custom.properties beSU[  
      Location of additional configuration properties files to load GR4DxlX  
      加载附加的配置文件的位置 yxU9W,D v  
sx}S,aIU  
SvrUXf  
struts.devMode JbQY{z!  
      Whether Struts is in development mode or not 5$+ssR_?k  
      是否为struts开发模式 $L?KNXHAF!  
't5`Ni  
struts.dispatcher.parametersWorkaround _l"nwEs  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T[#q0bv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]vP}K   
_A] )q  
struts.enable.DynamicMethodInvocation QR_h#N2h  
      Allows one to disable dynamic method invocation from the URL UGj |)/  
        允许动态方法调用 I~&9c/&  
${eV3LSC  
struts.freemarker.manager.classname i];P!Gm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  Ip:54  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #<ST.f@*  
y@<2`h  
struts.i18n.encoding -a&<Un/  
      The encoding to use for localization messages %:zu68Q[  
      国际化信息内码 l;L_A@B<  
7 )r L<+  
struts.i18n.reload T~(Sc'8  
      Whether the localization messages should automatically be reloaded RHMXPsj  
      是否国际化信息自动加载 ^_<|~  
"H<us?r{  
struts.locale CxZh^V8LP  
      The default locale for the Struts application L+(ng  
      默认的国际化地区信息 [ ~2imS  
%dv?n#Uf  
struts.mapper.class %yu =,J j  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7.6L1srV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xLDD;Qm,  
K +3=gBU*w  
struts.multipart.maxSize q$mc{F($D  
      The maximize size of a multipart request (file upload) #/f~LTE  
      multipart请求信息的最大尺寸(文件上传用) IA({RE  
)1KyUQ\e  
struts.multipart.parser XclTyUGoK+  
      The org.apache.struts2.dispatcher.multipart. -!:5jfT"  
      MultiPartRequest parser implementation for a multipart request (file upload) ,^97Ks ;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .\glNH1d  
G0Qw& mqF  
});Rjg  
struts.multipart.saveDir UNff &E-  
      The directory to use for storing uploaded files e)g &q'O  
      设置存储上传文件的目录夹 _gI1rXI  
hW< v5!,  
struts.objectFactory I4{xQI  
      The com.opensymphony.xwork2.ObjectFactory implementation class HOF$(86zqA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) wz*iwd-  
mV$ebFco0  
struts.objectFactory.spring.autoWire 5;UIz@BJ  
      Whether Spring should autoWire or not a[(OeVQ5  
      是否自动绑定Spring .'gm2  
>m,hna]RZ  
struts.objectFactory.spring.useClassCache \`2'W1O  
      Whether Spring should use its class cache or not <78|~SKAV  
      是否spring应该使用自身的cache ]f0'YLG  
P<<+;']  
struts.objectTypeDeterminer wG3b{0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aQtd6L+ J  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b j`\;_oo  
kz7FQE  
struts.serve.static.browserCache 7|DG1p9C  
If static content served by the Struts filter should set browser caching header properties or not H.@$#D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ehr-o7](  
>8>!wi9U  
struts.serve.static o8 JOpD  
      Whether the Struts filter should serve static content or not QL WnP-  
      是否struts过滤器应该提供静态内容 'z(Y9%+a  
&uK(. @  
struts.tag.altSyntax <46&R[17M  
      Whether to use the alterative syntax for the tags or not =cS&>MT  
      是否可以用替代的语法替代tags K8;SE !  
ERpAV-Zf  
struts.ui.templateDir .ybmJU*Hg  
      The directory containing UI templates usB*Wn8  
      UI templates的目录夹 nn_O"fZi  
c\{N:S>  
struts.ui.theme Q&eyqk   
      The default UI template theme EfrQ~`\  
      默认的UI template主题 lFjz*g2'  
?e$&=FC0;  
struts.url.http.port ](w)e p~;3  
      The HTTP port used by Struts URLs p"ZvA^d\   
      设置http端口 b&:v6#i  
!C#oZU]P  
struts.url.https.port d_yvG.#C  
      The HTTPS port used by Struts URLs t0m;tb bg  
      设置https端口 :> 0ywg  
da7"Q{f+  
struts.url.includeParams 79v+ze  
      The default includeParams method to generate Struts URLs 8tx*z"2S  
      在url中产生 默认的includeParams S hI1f  
-tj#BEC[H(  
)@NFV*@I  
struts.velocity.configfile nqj(V  
      The Velocity configuration file path 2/&=:,"t,B  
      velocity配置文件路径 An. A1y  
Z<nNk.G  
struts.velocity.contexts 1K#>^!?M  
      List of Velocity context names ; llPM`)  
      velocity的context列表 EN!C5/M{&  
.l1x~(  
[ohLG_9  
struts.velocity.manager.classname r1L@p[>  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8z`ZHn3=  
      org.apache.struts2.views.velocity.VelocityManager接口名 ieZ$@3#&z  
{rc3`<%  
struts.velocity.toolboxlocation hIe.Mv-I)  
      The location of the Velocity toolbox ^4n#''wJ  
      velocity工具盒的位置 ip-X r|Bq  
struts.xslt.nocache Msqqjhoy  
      Whether or not XSLT templates should not be cached q\EYsN</;  
      是否XSLT模版应该被缓存 4z<c8 E8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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