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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0- ><q  
(E/lIou  
struts.action.extension 9Kg21-?  
      The URL extension to use to determine if the request is meant for a Struts action rX*H)3F  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 CQZgMY1{  
J~%K_~Li  
struts.configuration 79nG|Yj|\  
      The org.apache.struts2.config.Configuration implementation class np%\&CVhN  
        org.apache.struts2.config.Configuration接口名 (&&4J{`W9  
(*1v\Q  
struts.configuration.files RZ6xdq}>  
      A list of configuration files automatically loaded by Struts "~=mG--I  
      struts自动加载的一个配置文件列表 Ib|Rf;J~-  
6UevpDB  
struts.configuration.xml.reload ,B08i o-  
      Whether to reload the XML configuration or not f} Np/  
      是否加载xml配置(true,false) PN0VQ/..  
a,3j,(3  
struts.continuations.package #Pw2Q  
      The package containing actions that use Rife continuations {*[\'!d--.  
      含有actions的完整连续的package名称 'D6T8B4  
/D5`   
struts.custom.i18n.resources klQC2drS  
      Location of additional localization properties files to load H_EB1"C;\  
      加载附加的国际化属性文件(不包含.properties后缀) k4,BNJt'Z  
?I/qE='*  
struts.custom.properties -6Oz^  
      Location of additional configuration properties files to load 3= DNb+D!  
      加载附加的配置文件的位置 Glxuz0]  
cZH-"  
|l&vkRrN  
struts.devMode \ {qI4=  
      Whether Struts is in development mode or not Na$Is'F &p  
      是否为struts开发模式 TlI<1/fP}  
pAb.c  
struts.dispatcher.parametersWorkaround @mE)|.f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <c)+Fno[E_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F^N82  
h@:TpE+N  
struts.enable.DynamicMethodInvocation +j(d| L\  
      Allows one to disable dynamic method invocation from the URL [cTe54n  
        允许动态方法调用 !O.[PH(,*  
2-=\~<)  
struts.freemarker.manager.classname Zq,9&y~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 56e r`=ms  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 YLwnhy>dD  
.!1S[  
struts.i18n.encoding aO@ 7O*  
      The encoding to use for localization messages oY1';&BO9  
      国际化信息内码 AK= h[2(  
V$"ujRp  
struts.i18n.reload >N;F8v  
      Whether the localization messages should automatically be reloaded JYrY[',u  
      是否国际化信息自动加载 {r> .G7P6  
MZTx:EN!  
struts.locale 5DXR8mLoaJ  
      The default locale for the Struts application /;7y{(o  
      默认的国际化地区信息 y" 6y!  
s[K^9wz  
struts.mapper.class +2K:qvzZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !ALKSiSl  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 i `s|,"0o  
&?uz`pv2  
struts.multipart.maxSize  *[r!  
      The maximize size of a multipart request (file upload) `6[I^qG".  
      multipart请求信息的最大尺寸(文件上传用) S#-wl2z  
kloR#?8A  
struts.multipart.parser HJ2*y|u  
      The org.apache.struts2.dispatcher.multipart. X=6y_^  
      MultiPartRequest parser implementation for a multipart request (file upload) h)6GaJ=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) kaxvP v1  
i.xXb [M+  
1VF    
struts.multipart.saveDir BnCKSg7V  
      The directory to use for storing uploaded files Fi. aC;sx  
      设置存储上传文件的目录夹 RrhT'':[  
op"$E1+  
struts.objectFactory 9prU+9  
      The com.opensymphony.xwork2.ObjectFactory implementation class %*o8L6Hn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ui "3ak+F  
.fi/I  
struts.objectFactory.spring.autoWire 7_wJpTz  
      Whether Spring should autoWire or not jYVE8Y)my  
      是否自动绑定Spring Z2Zq'3*  
FVB;\'/  
struts.objectFactory.spring.useClassCache 7QVuc!V  
      Whether Spring should use its class cache or not aZet0?Qr  
      是否spring应该使用自身的cache H{?9CxYa  
6AvHavA^Y  
struts.objectTypeDeterminer K7e4_ZGI  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ckjrk  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4Hb $0l  
*9 Q^5;y  
struts.serve.static.browserCache '.Ym!r~wL  
If static content served by the Struts filter should set browser caching header properties or not BPqGJ7@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Nwc!r (  
LhzMAW<L4  
struts.serve.static sVoW =4V8  
      Whether the Struts filter should serve static content or not <&pKc6+{  
      是否struts过滤器应该提供静态内容 Q}*y$se!  
Sd))vS^g  
struts.tag.altSyntax IN7<@OS7  
      Whether to use the alterative syntax for the tags or not >Z Ke  
      是否可以用替代的语法替代tags aV`&L,Q)7E  
J4 tcQ  
struts.ui.templateDir z[#Fog  
      The directory containing UI templates 02JoA+  
      UI templates的目录夹 kax\h  
K"<*a"1I  
struts.ui.theme `Zz uo16  
      The default UI template theme %8)W0WMe  
      默认的UI template主题 G{x[uE2X&f  
.5> 20\b2  
struts.url.http.port Y'`"9Db  
      The HTTP port used by Struts URLs Q0_>'sEM  
      设置http端口 |%D%0TR&Q  
Rt(J/%;  
struts.url.https.port LS.r%:$mb  
      The HTTPS port used by Struts URLs rrs"N3!aT  
      设置https端口 Vv*NFJ|  
x`Fjf/1T*m  
struts.url.includeParams JmOW~W  
      The default includeParams method to generate Struts URLs "DSPPE&[c  
      在url中产生 默认的includeParams Di=9mHC  
dl l%4Sd  
N<JHjq  
struts.velocity.configfile VY'Q|[  
      The Velocity configuration file path W7UtA.2LT  
      velocity配置文件路径 $zkH|] zZ  
2H[)1|]l  
struts.velocity.contexts Sl~x$9`  
      List of Velocity context names \gccQig1CJ  
      velocity的context列表 3@5p"X  
LxJ6M/".  
w@]jpH;WX  
struts.velocity.manager.classname h(xP_Svj>  
      org.apache.struts2.views.velocity.VelocityManager implementation class CJNG) p  
      org.apache.struts2.views.velocity.VelocityManager接口名 's@MQ! *  
,EhVSrh)_4  
struts.velocity.toolboxlocation #=#$b_6*  
      The location of the Velocity toolbox _NnO mwK7  
      velocity工具盒的位置 WA\f`SRF  
struts.xslt.nocache >qvD3 9w  
      Whether or not XSLT templates should not be cached ZxPAu%Y  
      是否XSLT模版应该被缓存 BmF>IQ`M?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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