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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 H.|#c^I  
FF(#]vz'  
struts.action.extension S.94 edQ  
      The URL extension to use to determine if the request is meant for a Struts action K6/Q}W   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 CR`Q#Yi  
RYQR(v  
struts.configuration t?-n*9,#S  
      The org.apache.struts2.config.Configuration implementation class 5z8d} I  
        org.apache.struts2.config.Configuration接口名 b"uu  
TA`1U;c{n  
struts.configuration.files ~"&|W'he[  
      A list of configuration files automatically loaded by Struts (ybI\UI  
      struts自动加载的一个配置文件列表 WwBOM~/`2  
;!mzyb*  
struts.configuration.xml.reload L:pYn_  
      Whether to reload the XML configuration or not qYjce]c  
      是否加载xml配置(true,false) L~rBAIdD  
vrhT<+q  
struts.continuations.package JPc+rfF  
      The package containing actions that use Rife continuations $%CF8\0  
      含有actions的完整连续的package名称 ]}-7_n#cC  
rq/yD,I,  
struts.custom.i18n.resources r6MMCJ|G  
      Location of additional localization properties files to load ;4^Rx  
      加载附加的国际化属性文件(不包含.properties后缀) kHghPn?8]  
2G67NC?+  
struts.custom.properties RXpw!  
      Location of additional configuration properties files to load rb2S7k0{  
      加载附加的配置文件的位置 g1/[eoZzk  
tqvN0vY5  
D9 CaFu  
struts.devMode {W =%U|f  
      Whether Struts is in development mode or not t7dt*D_YqK  
      是否为struts开发模式 Pw7]r<Q  
.9on@S  
struts.dispatcher.parametersWorkaround z0p*Z&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F3v !AvA|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x=hiQ>BIO0  
-aPg#ub  
struts.enable.DynamicMethodInvocation (cAIvgI  
      Allows one to disable dynamic method invocation from the URL h5{'Q$Erl  
        允许动态方法调用 1MP~dRZ$  
MSQEO4ge  
struts.freemarker.manager.classname VgG0VM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /og=IF2:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nA-.mWD_C  
]YnD  
struts.i18n.encoding _(W+S`7Z  
      The encoding to use for localization messages \}u Y'F  
      国际化信息内码 7 S#J>*  
UqFO|r"M  
struts.i18n.reload LEbB(x;@  
      Whether the localization messages should automatically be reloaded BOb">6C  
      是否国际化信息自动加载 JgKO|VO  
axv>6k  
struts.locale ENl)Ts`y  
      The default locale for the Struts application p*R;hU  
      默认的国际化地区信息 uB]7G0g:  
W7R<%?  
struts.mapper.class UN;H+gNnN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0U(@= 7V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {3>$[bT  
Ga-k  
struts.multipart.maxSize ~drS} V  
      The maximize size of a multipart request (file upload) zH?!  
      multipart请求信息的最大尺寸(文件上传用) VuhGx:Xl  
l[mWf  
struts.multipart.parser Gv!2f  
      The org.apache.struts2.dispatcher.multipart. 6"L cJ%o  
      MultiPartRequest parser implementation for a multipart request (file upload) U2tV4_ e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'NXN& {  
?/wm(uL  
)0.kv2o.  
struts.multipart.saveDir }>pknc?  
      The directory to use for storing uploaded files Sxt"B  
      设置存储上传文件的目录夹 7{e  4c  
r_)' Ps  
struts.objectFactory P%V'4p c  
      The com.opensymphony.xwork2.ObjectFactory implementation class GfxZ'VIn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) fa jGZyd0:  
:KSV4>X[%a  
struts.objectFactory.spring.autoWire .;y.]Z/;  
      Whether Spring should autoWire or not Z, zWuE3  
      是否自动绑定Spring #vz7y(v  
Q 04al=  
struts.objectFactory.spring.useClassCache e8>})  
      Whether Spring should use its class cache or not qTRsZz@  
      是否spring应该使用自身的cache lLX4Gq1  
=57>!)  
struts.objectTypeDeterminer oA7tE u   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n$MO4s8)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O40?{v'  
lK?uXr7^  
struts.serve.static.browserCache LiC*@W  
If static content served by the Struts filter should set browser caching header properties or not YiXk5B0Uh  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2RVN\?s:  
7X`g,b!  
struts.serve.static 0#7>o^2  
      Whether the Struts filter should serve static content or not n*R])=F@c  
      是否struts过滤器应该提供静态内容 YquI$PV _  
/QK6Rac-  
struts.tag.altSyntax uanhr)Ys  
      Whether to use the alterative syntax for the tags or not Q,,e+exbb5  
      是否可以用替代的语法替代tags i^/T  
bQzZy5,  
struts.ui.templateDir xeg/A}yE  
      The directory containing UI templates e@L=LW>  
      UI templates的目录夹 @+&LYy72  
x 77*c._3v  
struts.ui.theme !{+,B5 Hc  
      The default UI template theme yJ[0WY8<kC  
      默认的UI template主题 QGMV}y  
<O(4TO  
struts.url.http.port |%BOZT  
      The HTTP port used by Struts URLs e[{0)y>=  
      设置http端口 fF!Yp iI"  
`[y^ :mj  
struts.url.https.port NJ%P/\ C  
      The HTTPS port used by Struts URLs +C^nO=[E  
      设置https端口 _>o:R$ %}  
Hc;[Cs0  
struts.url.includeParams f$o_e90mu  
      The default includeParams method to generate Struts URLs vz@A;t  
      在url中产生 默认的includeParams {UX!go^J  
 g T6z9  
#>a\>iKQ2q  
struts.velocity.configfile J@/kIrx  
      The Velocity configuration file path [7:,?$tC  
      velocity配置文件路径 <.%4 ! }f8  
^)470K`%)  
struts.velocity.contexts /`Ug9,*  
      List of Velocity context names U"~>jZKk  
      velocity的context列表 s-NX o  
F;Spi  
`_6C {<O  
struts.velocity.manager.classname H-!,yte  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9sM!`Lz{  
      org.apache.struts2.views.velocity.VelocityManager接口名 (=FRmdeYl1  
&Gc9VF]o  
struts.velocity.toolboxlocation (fhb0i-  
      The location of the Velocity toolbox 4V"E8rUL(  
      velocity工具盒的位置 3 #n_?-  
struts.xslt.nocache O"+ gQXe  
      Whether or not XSLT templates should not be cached kl" hBK#D%  
      是否XSLT模版应该被缓存 "-M p_O]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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