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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |^\ Hv5  
hu`L v  
struts.action.extension aslNlH6  
      The URL extension to use to determine if the request is meant for a Struts action _g^E%@'W  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rs^jk)Z:)  
"o~N42DLB%  
struts.configuration D'Jm!Ap  
      The org.apache.struts2.config.Configuration implementation class `8qT['`#R  
        org.apache.struts2.config.Configuration接口名 20S9/9ll  
D;K&  
struts.configuration.files Bl:{p>-q  
      A list of configuration files automatically loaded by Struts Nt?2USTs-  
      struts自动加载的一个配置文件列表 'bbV<? ):  
nDwq!LEx%5  
struts.configuration.xml.reload ,Uv{dG  
      Whether to reload the XML configuration or not {EZFx,@t  
      是否加载xml配置(true,false) {A !;W  
CAA tco5  
struts.continuations.package 6eW1<p  
      The package containing actions that use Rife continuations 7Q<Kha  
      含有actions的完整连续的package名称 ]wJ}-#Kx  
ZJ)3GF}4  
struts.custom.i18n.resources wCTcGsw W  
      Location of additional localization properties files to load )<m=YI ;<  
      加载附加的国际化属性文件(不包含.properties后缀) ~t1O]aO(  
{IF}d*:  
struts.custom.properties ~Tpe,juG_  
      Location of additional configuration properties files to load n$}R/*  
      加载附加的配置文件的位置 u)N2  
;Hz`0V  
sj?`7kg  
struts.devMode A8CIP:Z  
      Whether Struts is in development mode or not >;T$#LZ  
      是否为struts开发模式 "P>$=X~Zi  
1oXz[V  
struts.dispatcher.parametersWorkaround Ew)n~!s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &/z+A{Hi  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 401/33yBJ  
60.[t9pk6  
struts.enable.DynamicMethodInvocation Y#Sd2h,^X  
      Allows one to disable dynamic method invocation from the URL .rD#1)O  
        允许动态方法调用 q!u lE{ ^  
-k|g04Q?  
struts.freemarker.manager.classname FkB6*dm-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G "c&C  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )Gu0i7iN  
FB?q/ _  
struts.i18n.encoding Q>06dO~z8  
      The encoding to use for localization messages E.En$'BvB  
      国际化信息内码 Q 37V!  
ySPlyhGF  
struts.i18n.reload _>Pe]3  
      Whether the localization messages should automatically be reloaded c,{&  
      是否国际化信息自动加载 sM);gI14  
+aXMHT"U  
struts.locale wz|Q%.%?[  
      The default locale for the Struts application =DQdPA\K  
      默认的国际化地区信息 ly[\mGr  
wh7i G8jCz  
struts.mapper.class YFC0KU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k*zc5ev}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >F LdI  
5 O{Ip-  
struts.multipart.maxSize { c6DT  
      The maximize size of a multipart request (file upload) troy^H  
      multipart请求信息的最大尺寸(文件上传用) >qh>Qm8w  
[1Qk cR  
struts.multipart.parser "`8H:y  
      The org.apache.struts2.dispatcher.multipart. CIxVR  
      MultiPartRequest parser implementation for a multipart request (file upload) DLg`Q0`M5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ot4;,UZ  
uHujw.H/y  
a3(7{,Ew  
struts.multipart.saveDir "`V"2zZlj  
      The directory to use for storing uploaded files ^bY^x+d  
      设置存储上传文件的目录夹 K"t:B  
eKU@>5  
struts.objectFactory ,/[dmoe  
      The com.opensymphony.xwork2.ObjectFactory implementation class l{D,O?`Av  
      com.opensymphony.xwork2.ObjectFactory接口(spring) G*{u(x(  
f"Vm'0r  
struts.objectFactory.spring.autoWire b@Mng6R  
      Whether Spring should autoWire or not zd*W5~xKg  
      是否自动绑定Spring Fh3Dc 83~  
f6aT[Nw<  
struts.objectFactory.spring.useClassCache 56j/w[&8  
      Whether Spring should use its class cache or not OJC*|kN-#^  
      是否spring应该使用自身的cache E-7a`S  
D,m&^P=%e  
struts.objectTypeDeterminer X<@y*?D9D  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cr=FMfhB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )sz 2 9  
66Cj=n5  
struts.serve.static.browserCache VK@i#/jm  
If static content served by the Struts filter should set browser caching header properties or not 3gfV0C\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }GU6Q|s[u[  
sQ3ayB`  
struts.serve.static S:B- nI  
      Whether the Struts filter should serve static content or not ngH~4HyT  
      是否struts过滤器应该提供静态内容 c?3F9 w#  
ck4T#g;=  
struts.tag.altSyntax uq#h\p|  
      Whether to use the alterative syntax for the tags or not K:lT-*+S  
      是否可以用替代的语法替代tags vY+_tpuEH  
QVZ6;/  
struts.ui.templateDir [(.T%kJ  
      The directory containing UI templates   xhVq  
      UI templates的目录夹 JQvQm|\nc  
KWuj_.;  
struts.ui.theme xa%ktn  
      The default UI template theme 88+\mX;A#  
      默认的UI template主题 4- ?`#  
;^H+ |&$>  
struts.url.http.port QWQ6j#`  
      The HTTP port used by Struts URLs X0r#,u  
      设置http端口 lLwQridFXh  
\`iW__  
struts.url.https.port 4|o{_g[  
      The HTTPS port used by Struts URLs aR(Z~z;C  
      设置https端口 q0KXuMK  
]mLTF',5  
struts.url.includeParams ePcI^}{  
      The default includeParams method to generate Struts URLs }FdcbNsP  
      在url中产生 默认的includeParams p6k'Q  
; 0_J7  
~ dI&> CL  
struts.velocity.configfile pl^"1Z=*  
      The Velocity configuration file path uD*s^  
      velocity配置文件路径 rsIPI69qJ.  
d_?Zr`:  
struts.velocity.contexts }rAN2D]"}  
      List of Velocity context names ,+5VeRyrV  
      velocity的context列表 Z?j='/u>@  
R.WsC bU  
: 1f5;]%N  
struts.velocity.manager.classname :tS>D5dz(  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?}>Z_ ("  
      org.apache.struts2.views.velocity.VelocityManager接口名 Z=5}17kA  
a.*j8T  
struts.velocity.toolboxlocation hZ /  
      The location of the Velocity toolbox )k%drdY{J'  
      velocity工具盒的位置 y2hFUq  
struts.xslt.nocache ^1& LHrT  
      Whether or not XSLT templates should not be cached r+.4|u  
      是否XSLT模版应该被缓存 `0WA!(W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八