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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >n$E e J  
:uT fhr  
struts.action.extension DMK"Q#Vw  
      The URL extension to use to determine if the request is meant for a Struts action %~B)~|h  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XDrlJvrPL  
Yn[EI7D  
struts.configuration =CG!"&T  
      The org.apache.struts2.config.Configuration implementation class |$.sB|_ N  
        org.apache.struts2.config.Configuration接口名 xy z\;3  
VxPTh\O*[  
struts.configuration.files 8eS@<[[F#  
      A list of configuration files automatically loaded by Struts fUL{c,7xda  
      struts自动加载的一个配置文件列表 nI|Lx`*v  
X('Q;^`  
struts.configuration.xml.reload -?%{A%'  
      Whether to reload the XML configuration or not YVZSKU  
      是否加载xml配置(true,false) P60]ps!M  
8&2gM  
struts.continuations.package H~_^w.P  
      The package containing actions that use Rife continuations /k3n{ ?$/  
      含有actions的完整连续的package名称 <2TB9]2. g  
V"2AN3~&  
struts.custom.i18n.resources qed!C  
      Location of additional localization properties files to load z hR_qW+  
      加载附加的国际化属性文件(不包含.properties后缀) >ihe|WN  
UQji7K }  
struts.custom.properties `M pC<sit  
      Location of additional configuration properties files to load k.? T.9  
      加载附加的配置文件的位置 @h7GTA \  
z5o9\.y({  
(PT?h>|St  
struts.devMode ("P mB?20  
      Whether Struts is in development mode or not L/ICFa.G  
      是否为struts开发模式 n4r( Vg1GS  
7"CH\*%  
struts.dispatcher.parametersWorkaround ["#A-S  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic z7l;|T  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ss*2TE7  
tpx3:|  
struts.enable.DynamicMethodInvocation {'wU&!  
      Allows one to disable dynamic method invocation from the URL T=f;n;/>  
        允许动态方法调用 h>5~ (n8  
f@. Q%+!4  
struts.freemarker.manager.classname ~cg+BAfu  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $qyM X[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <hF~L k ,  
- 5-SlQu  
struts.i18n.encoding I3E8vi%B.  
      The encoding to use for localization messages y3o4%K8  
      国际化信息内码 CyBM4qyH  
nu<!2xs,  
struts.i18n.reload koWb@V]  
      Whether the localization messages should automatically be reloaded [Ey%uh 6*  
      是否国际化信息自动加载 A'AWuj\r2R  
PK`(qK9  
struts.locale [q+ 39  
      The default locale for the Struts application CR<pB)F?a  
      默认的国际化地区信息 j BQqpFH9  
y88}f&z#5  
struts.mapper.class 7!yF5 +_d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Nxs%~ wZ   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 w-Q 6 -  
Ef*.}gcU  
struts.multipart.maxSize uA}FuOE6  
      The maximize size of a multipart request (file upload) +sbacMfq  
      multipart请求信息的最大尺寸(文件上传用) vhe Ah`u^&  
! {o+B^^  
struts.multipart.parser h}:5hi Jw  
      The org.apache.struts2.dispatcher.multipart. ?yM/j7Xn  
      MultiPartRequest parser implementation for a multipart request (file upload) b yreleWo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Nm:<rI,^  
:)V0zHo&(  
eEZlVHM;O  
struts.multipart.saveDir md +`#-D\O  
      The directory to use for storing uploaded files fF]&{b~wk  
      设置存储上传文件的目录夹  F-\8f(\  
z^HlDwsbm  
struts.objectFactory !J?=nSu  
      The com.opensymphony.xwork2.ObjectFactory implementation class p YvF}8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) te4"+[ $|  
wm`"yNbD  
struts.objectFactory.spring.autoWire F1[ [fH  
      Whether Spring should autoWire or not |/Q."d  
      是否自动绑定Spring ~4X!8b_  
4Jy,IKPp  
struts.objectFactory.spring.useClassCache xcRrI|?eC  
      Whether Spring should use its class cache or not ~S{\wL53  
      是否spring应该使用自身的cache !<^j!'2  
t:@A)ip  
struts.objectTypeDeterminer 8;BwzRtgT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D~?*Xv]s ~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "ZB`fNE  
ej53O/hP  
struts.serve.static.browserCache x3F L/^S  
If static content served by the Struts filter should set browser caching header properties or not jP6G.aiO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0$h$7'a  
[goPmVe+  
struts.serve.static kT=|tQ@  
      Whether the Struts filter should serve static content or not WG=r? xE  
      是否struts过滤器应该提供静态内容 @y2Bq['  
{ZI6!zh'  
struts.tag.altSyntax WjxBNk'f  
      Whether to use the alterative syntax for the tags or not F88SV6  
      是否可以用替代的语法替代tags \ bmboNe  
^ /eSby  
struts.ui.templateDir Ps5wQaS  
      The directory containing UI templates NW Qu-]P  
      UI templates的目录夹 Vx8.FNJh  
TK?N^ly  
struts.ui.theme `X03Q[:q"[  
      The default UI template theme *jSc&{s~  
      默认的UI template主题 S5 vMP N  
I{UB!0H  
struts.url.http.port (:k`wh&  
      The HTTP port used by Struts URLs QN5N h s  
      设置http端口 RwHXn]1  
g[)hm`{?  
struts.url.https.port u<r('IW0  
      The HTTPS port used by Struts URLs (?wKBUi  
      设置https端口 Z+Zh;Ms  
rxA)&  
struts.url.includeParams ^Iq.0E9_  
      The default includeParams method to generate Struts URLs aV#;o9H{  
      在url中产生 默认的includeParams 5 : >  
:WTvP$R  
wWswuhq<  
struts.velocity.configfile a m%{M7":7  
      The Velocity configuration file path *#9kFz-  
      velocity配置文件路径 I4ct``Di  
mw.aavB  
struts.velocity.contexts }eK*)  
      List of Velocity context names v xZUtyJfe  
      velocity的context列表 @TG~fJSA12  
`G{t<7[[;  
^?`,f>`M  
struts.velocity.manager.classname 'v)+S;oB  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0$uS)J\;K  
      org.apache.struts2.views.velocity.VelocityManager接口名 @2O\M ,g5  
(G'ddZAJV  
struts.velocity.toolboxlocation .v8=zi:7Y  
      The location of the Velocity toolbox v65r@)\`  
      velocity工具盒的位置 l8li@K  
struts.xslt.nocache ~<R~Q:T  
      Whether or not XSLT templates should not be cached 5< nK.i,  
      是否XSLT模版应该被缓存 5n#&Hjb*F0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五