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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #tsP  
wexX|B^u  
struts.action.extension N\.g+ W  
      The URL extension to use to determine if the request is meant for a Struts action {%k[Z9*tO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q)C Xu  
E'mT%@M OM  
struts.configuration z!b:|*m]w  
      The org.apache.struts2.config.Configuration implementation class GoX<d{  
        org.apache.struts2.config.Configuration接口名 1uKIO{d @  
u^^jt(j  
struts.configuration.files gG.+3=  
      A list of configuration files automatically loaded by Struts seAEv0YWz  
      struts自动加载的一个配置文件列表 WnOYU9 ;%  
?G!p4u?C  
struts.configuration.xml.reload #pW!(tfN^a  
      Whether to reload the XML configuration or not jg%mWiKwK7  
      是否加载xml配置(true,false) p^w)@^f  
L">jSZW[[  
struts.continuations.package :wRfk*Ly  
      The package containing actions that use Rife continuations T:K}mLSg  
      含有actions的完整连续的package名称 r+#g  
Vx5fQ mx  
struts.custom.i18n.resources ? ][/hL@[  
      Location of additional localization properties files to load lF46W  
      加载附加的国际化属性文件(不包含.properties后缀) vg X7B4  
Ji=`XsV  
struts.custom.properties L:@COy  
      Location of additional configuration properties files to load \f Kn} ]kG  
      加载附加的配置文件的位置 %)dp a  
kDRxu!/  
9Ou}8a?m"  
struts.devMode ##mBOdx  
      Whether Struts is in development mode or not xi ,fm  
      是否为struts开发模式 ]JmE(Y1(1  
;.$vDin6  
struts.dispatcher.parametersWorkaround #1}%=nAsi  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ag(JSVY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +Qzl-eN/+  
mdmJne.  
struts.enable.DynamicMethodInvocation $ 6r> Tc](  
      Allows one to disable dynamic method invocation from the URL Edcv>}PfE  
        允许动态方法调用 "_BWUY  
sUxEm}z  
struts.freemarker.manager.classname ZN'B @E=p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }+u<w{-7/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *U8,Q]gS  
&!'R'{/?X  
struts.i18n.encoding ,%V%g!6{  
      The encoding to use for localization messages _]3#C[1L  
      国际化信息内码 Rf=-Q %  
I>-1kFma;  
struts.i18n.reload g*4^HbVxt  
      Whether the localization messages should automatically be reloaded bG.`>   
      是否国际化信息自动加载 F 6+4Yy+  
G-vkkNj%e  
struts.locale ?g *.7Wc  
      The default locale for the Struts application H2+Ijn19E  
      默认的国际化地区信息 (v}l#M7w  
=6fJUy^M\  
struts.mapper.class {irl}EeyC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3Dj>U*fP  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (J(SwL|  
oHV!>K_D  
struts.multipart.maxSize (ze9-!%  
      The maximize size of a multipart request (file upload) a?W<<9]  
      multipart请求信息的最大尺寸(文件上传用) 1dy"  
z<. 6jx@  
struts.multipart.parser THCvcU?X  
      The org.apache.struts2.dispatcher.multipart. W<~u0AyO 3  
      MultiPartRequest parser implementation for a multipart request (file upload) mGw*6kOIS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4C;"4''L  
kidv^`.H$w  
=C^4nP-  
struts.multipart.saveDir nIUts?mB  
      The directory to use for storing uploaded files PvxU.  
      设置存储上传文件的目录夹 mJVru0  
]<_v;Q<t  
struts.objectFactory `@<)#9'A  
      The com.opensymphony.xwork2.ObjectFactory implementation class dA(+02U/.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) AC?a:{ ./  
)Tn(!.  
struts.objectFactory.spring.autoWire h{ EnS5~  
      Whether Spring should autoWire or not [F,s=,S'M  
      是否自动绑定Spring 1w 9zl}  
5N2`e3:I  
struts.objectFactory.spring.useClassCache 4%SA%]a L1  
      Whether Spring should use its class cache or not  I$fm"N  
      是否spring应该使用自身的cache lO1]P&@  
u6*0% Km  
struts.objectTypeDeterminer +OO my  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x^YsXzu  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 FJ|JXH*  
(Ii+}Mfp  
struts.serve.static.browserCache m9$lOk4/  
If static content served by the Struts filter should set browser caching header properties or not z) "(&__  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !WD^To  
AIM<mU  
struts.serve.static ?r.U5}PBI  
      Whether the Struts filter should serve static content or not % hRH80W|  
      是否struts过滤器应该提供静态内容 Rw!_j!  
Y0o{@)Y:  
struts.tag.altSyntax lMjeq.5nP  
      Whether to use the alterative syntax for the tags or not *Ud P1?Y  
      是否可以用替代的语法替代tags ^ `[T0X  
s)kr=zdyo  
struts.ui.templateDir 6{[ uCxxl  
      The directory containing UI templates p!`S]\XEB  
      UI templates的目录夹 edfb7prfTl  
VO,F[E~_  
struts.ui.theme `M,Gsy1h  
      The default UI template theme !<5Wi)*  
      默认的UI template主题 TmLfH d  
E qt\It9  
struts.url.http.port @F!oRm5  
      The HTTP port used by Struts URLs mFuHZ)iQG  
      设置http端口 w+{ o^ O  
9G{#a#Z.  
struts.url.https.port %u*HNo  
      The HTTPS port used by Struts URLs _j\ 8u`^n  
      设置https端口 na] 9-~4  
|h2=9\:]  
struts.url.includeParams f/^T:F6  
      The default includeParams method to generate Struts URLs ?s9f}>  
      在url中产生 默认的includeParams #9]O92t2UV  
J L2g!n= K  
Ev1gzHd!i  
struts.velocity.configfile BVxk}#d  
      The Velocity configuration file path 6JE_rAab  
      velocity配置文件路径 wl%I(Cw{]  
_16r8r$V  
struts.velocity.contexts RWXN  
      List of Velocity context names Y]+KsiOL  
      velocity的context列表 IMHt#M`  
Z" dU$ ,n  
p 8lm1;  
struts.velocity.manager.classname \S)cVp)h  
      org.apache.struts2.views.velocity.VelocityManager implementation class \m~Oaf;$  
      org.apache.struts2.views.velocity.VelocityManager接口名 2%~+c|TH.)  
%[k"A  
struts.velocity.toolboxlocation &*o{-kw  
      The location of the Velocity toolbox 4-W~ 1  
      velocity工具盒的位置 @eN,m {b  
struts.xslt.nocache U/>l>J5  
      Whether or not XSLT templates should not be cached r.v.y[u  
      是否XSLT模版应该被缓存 ffem7eQ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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