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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E^? 3P'%^  
mOntc6&]  
struts.action.extension Lrq e:\  
      The URL extension to use to determine if the request is meant for a Struts action Ti$_V_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XvIY=~  
Zb$P`~(%  
struts.configuration `!y/$7p  
      The org.apache.struts2.config.Configuration implementation class f[-$##S.~  
        org.apache.struts2.config.Configuration接口名 2q ~y\fe  
V11 XI<V  
struts.configuration.files Eg4_kp0Lq  
      A list of configuration files automatically loaded by Struts }ZJ*N Y  
      struts自动加载的一个配置文件列表 G3j'A{  
VvTi>2(.  
struts.configuration.xml.reload ='Yg^:n  
      Whether to reload the XML configuration or not K(rWM>Jv  
      是否加载xml配置(true,false) b=XHE1^rM  
f{)nxd >#  
struts.continuations.package YcN&\(  
      The package containing actions that use Rife continuations f}cCnJK  
      含有actions的完整连续的package名称 y=LN| vkQ  
B~2M/&rM\  
struts.custom.i18n.resources 'Xu3]'m*  
      Location of additional localization properties files to load j.+ }Z |  
      加载附加的国际化属性文件(不包含.properties后缀) s=hao4v7z  
pMzlpmW;P  
struts.custom.properties Aaz2._:/-m  
      Location of additional configuration properties files to load KN".0WU  
      加载附加的配置文件的位置 Bb.U4#  
liPaT  
+^ `n- m  
struts.devMode JzmX~|=Xi  
      Whether Struts is in development mode or not ?[2>x{5Z  
      是否为struts开发模式 gbziEjRe  
v0KJKrliGO  
struts.dispatcher.parametersWorkaround k1~? }+<e  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ="de+S8W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F[*/D/y(  
S#nW )=   
struts.enable.DynamicMethodInvocation B!((N{4H+  
      Allows one to disable dynamic method invocation from the URL 6rMNp"!  
        允许动态方法调用 o8fY!C)  
 }A&I@2d  
struts.freemarker.manager.classname q,>4#J[2;s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @bZ,)R  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @k)[p+)E  
YR u#JYti  
struts.i18n.encoding ,$Xhwr  
      The encoding to use for localization messages uLSuY}K0  
      国际化信息内码 \e~5Dx1  
WkDXWv\{,{  
struts.i18n.reload W^)'rH  
      Whether the localization messages should automatically be reloaded <aQ5chf7  
      是否国际化信息自动加载 O3tw@ &k  
id [caP=`  
struts.locale '3fN2[(  
      The default locale for the Struts application f7:}t+d  
      默认的国际化地区信息 ;lf$)3%[  
lPw`KW  
struts.mapper.class Z6 E_Y?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kY{;(b3Q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 KO[,C[;|j  
\ `R8s_S  
struts.multipart.maxSize Fb6d1I^wR  
      The maximize size of a multipart request (file upload) rDv`E^\  
      multipart请求信息的最大尺寸(文件上传用) =b#:j:r  
8/R9YiY5*  
struts.multipart.parser `o?PLE;)p  
      The org.apache.struts2.dispatcher.multipart. H7}f[4S%  
      MultiPartRequest parser implementation for a multipart request (file upload) ^9 ^DA!'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ! =*k+gpF  
:M8y 2f h  
009Q#[A  
struts.multipart.saveDir 3EH7H W  
      The directory to use for storing uploaded files RO[6PlrRN  
      设置存储上传文件的目录夹 P4fnBH4OQ  
mI5!rrRD|  
struts.objectFactory PxA OKUpI  
      The com.opensymphony.xwork2.ObjectFactory implementation class +#9 4 X)*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) E_\V^  
+!)_[ zo  
struts.objectFactory.spring.autoWire 1AQy 8n*  
      Whether Spring should autoWire or not ?{\h`+A  
      是否自动绑定Spring i':a|#e>  
Mb-AzGsV  
struts.objectFactory.spring.useClassCache fWyXy%Qq  
      Whether Spring should use its class cache or not Mk}*ze0%  
      是否spring应该使用自身的cache +asO4'r  
!o\e/HGc!  
struts.objectTypeDeterminer !,R=6b$E5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class RLfB]\w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Xn02p,,  
pO)5NbU  
struts.serve.static.browserCache 9ePom'1f1  
If static content served by the Struts filter should set browser caching header properties or not 77-G*PI*I  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p$mt&,p  
~.CmiG.7  
struts.serve.static N v6=[_D  
      Whether the Struts filter should serve static content or not 5]K2to)>`  
      是否struts过滤器应该提供静态内容 !\!j?z=O8  
hGRHuJ  
struts.tag.altSyntax Nka 3H7 `  
      Whether to use the alterative syntax for the tags or not d<[L^s9  
      是否可以用替代的语法替代tags f$qkb$?]}  
}6gum  
struts.ui.templateDir s7,D}Zz  
      The directory containing UI templates 1rON8=E  
      UI templates的目录夹 rTqGtmulG  
&r2\P6J  
struts.ui.theme 73JrK_h  
      The default UI template theme yB|1?L#  
      默认的UI template主题 85lcd4&~  
"[0.a\ d<  
struts.url.http.port C8D`:k  
      The HTTP port used by Struts URLs SGu`vN]  
      设置http端口  Z>pZ|  
iXL?ic  
struts.url.https.port xNjWo*y v  
      The HTTPS port used by Struts URLs ?C']R(fQ\  
      设置https端口 /@&#U bN\  
|,tKw4  
struts.url.includeParams }s[`T   
      The default includeParams method to generate Struts URLs vRH2[{KQ9  
      在url中产生 默认的includeParams 7&u$^c S(  
G&08Qb ,N  
ZEso2|   
struts.velocity.configfile Hwcmt!y  
      The Velocity configuration file path J,\e@  
      velocity配置文件路径 M0$E_*  
je%D&ci$  
struts.velocity.contexts z\$(@:{A  
      List of Velocity context names )y{:Uc\4!  
      velocity的context列表 dWdD^>8Ef  
r1 b"ta  
6 [?5hmc"w  
struts.velocity.manager.classname {C0Y8:"`  
      org.apache.struts2.views.velocity.VelocityManager implementation class -A zOujSS  
      org.apache.struts2.views.velocity.VelocityManager接口名 UG[r /w5(F  
~K"nm{.  
struts.velocity.toolboxlocation _fSBb<  
      The location of the Velocity toolbox MjWxfW/  
      velocity工具盒的位置 J|vg<[  
struts.xslt.nocache kK/XYC 0D  
      Whether or not XSLT templates should not be cached $9@AwS@Uu  
      是否XSLT模版应该被缓存 ;]@Pm<f  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五