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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,A&`WE  
T X iu/g(  
struts.action.extension @3y >|5 Y  
      The URL extension to use to determine if the request is meant for a Struts action mzCd@<T,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZbiC=uh  
ySI}Nm>&=  
struts.configuration S|xwYaoy%  
      The org.apache.struts2.config.Configuration implementation class M@l|n  
        org.apache.struts2.config.Configuration接口名 dDSb1TM  
}.(DQwC}1k  
struts.configuration.files h oO847  
      A list of configuration files automatically loaded by Struts Ml9m#c  
      struts自动加载的一个配置文件列表 kL8 E#  
P l!E$   
struts.configuration.xml.reload ju5o).!bg  
      Whether to reload the XML configuration or not ^62z\Y  
      是否加载xml配置(true,false) E7i/gY  
fN@ZJ~F%j  
struts.continuations.package Buso `G  
      The package containing actions that use Rife continuations [MQ* =*  
      含有actions的完整连续的package名称 ~Ad2L*5S  
~3-"1E>Rgy  
struts.custom.i18n.resources b)x0;8<  
      Location of additional localization properties files to load urE7ZKdI  
      加载附加的国际化属性文件(不包含.properties后缀) tK@7t0  
R:(i}g<3  
struts.custom.properties ?(U;T!n  
      Location of additional configuration properties files to load St(jrZb  
      加载附加的配置文件的位置 S(U9Dlyarg  
3M(*q4A$"  
YD@Z}NE v"  
struts.devMode F Z RnIg  
      Whether Struts is in development mode or not [3sZ=)G  
      是否为struts开发模式 E<}sGzMc  
ev0>j4Q  
struts.dispatcher.parametersWorkaround ~(^pGL3<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6;\1bP?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Kxa1F,dZ  
$m~&| s  
struts.enable.DynamicMethodInvocation *5 9|  
      Allows one to disable dynamic method invocation from the URL */JYP +  
        允许动态方法调用 ji>LBbnHdE  
gvc/Z <Y  
struts.freemarker.manager.classname mn=b&{')e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {}8C/4iP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ywv\9KL  
YjnQ@IfIH  
struts.i18n.encoding - f ^ ! R  
      The encoding to use for localization messages (]\p'%A)  
      国际化信息内码 TQKcPVlE  
wdf;LM  
struts.i18n.reload wsQ],ZE  
      Whether the localization messages should automatically be reloaded ,C"6@/:l  
      是否国际化信息自动加载 }:YL'$:5!  
?<BI)[B  
struts.locale %'i_iF8.  
      The default locale for the Struts application Q\}-MiI/  
      默认的国际化地区信息 QcX\z\'vg  
xo?'L&%  
struts.mapper.class JIw?]xa*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '(C+qwdRv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2HSFMgy  
U}DE9e{/!  
struts.multipart.maxSize k!z<=WA  
      The maximize size of a multipart request (file upload) ]Jm\k'u[  
      multipart请求信息的最大尺寸(文件上传用) S[q:b .  
9d^m 7}2  
struts.multipart.parser ;]0d{  
      The org.apache.struts2.dispatcher.multipart. pnE]B0e  
      MultiPartRequest parser implementation for a multipart request (file upload) M ;b3- i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =H8FV09x}  
4h_YVG]ur  
:j .:t  
struts.multipart.saveDir tY]?2u%)  
      The directory to use for storing uploaded files N>YSXh`W`y  
      设置存储上传文件的目录夹 /n(0w`   
i/n ee_  
struts.objectFactory Lfcy#3!  
      The com.opensymphony.xwork2.ObjectFactory implementation class nA_'j l  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /YUW)?o!^N  
i ]8bj5j{  
struts.objectFactory.spring.autoWire T [xIn+w  
      Whether Spring should autoWire or not 3Mm_xYDud  
      是否自动绑定Spring 62,dFM7  
RCYv2=m>Q  
struts.objectFactory.spring.useClassCache L7aVj&xM  
      Whether Spring should use its class cache or not ~GX ]K H  
      是否spring应该使用自身的cache <QFayZ$  
D@9 +yu=S  
struts.objectTypeDeterminer Xe_djy'8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f OR9N/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %z1^  
xRgdU+,Mj  
struts.serve.static.browserCache I<sUB4T>#W  
If static content served by the Struts filter should set browser caching header properties or not lb}RPvQE  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ggrYf*  
"OYD9Q''  
struts.serve.static |>xuH#Q  
      Whether the Struts filter should serve static content or not 41d+z>a]  
      是否struts过滤器应该提供静态内容 <z2.A/L  
6'N_bNW  
struts.tag.altSyntax gCPH>8JwS0  
      Whether to use the alterative syntax for the tags or not 9O-~Ws ;  
      是否可以用替代的语法替代tags M&hNkJK*G  
'R'hRMD9o  
struts.ui.templateDir d7G@Z|R3p  
      The directory containing UI templates 0fBwy/:  
      UI templates的目录夹 SPdEO3  
2jC:uk  
struts.ui.theme ogQfzk  
      The default UI template theme RD)Vb$.B:  
      默认的UI template主题 u0arJU_.)  
CUG"2K9  
struts.url.http.port /bo=,%wJ[  
      The HTTP port used by Struts URLs R31Z(vY  
      设置http端口 Yb<:1?76L  
1aIGC9xQ`  
struts.url.https.port :Ch XzZ  
      The HTTPS port used by Struts URLs a}f /<-L  
      设置https端口 7?uDh'utt  
+x`pWH]2  
struts.url.includeParams =oh%-Sh:  
      The default includeParams method to generate Struts URLs XKZsX1=@R  
      在url中产生 默认的includeParams i~v[3e9y7  
s#aj5_G  
U`EOun ,  
struts.velocity.configfile W?aP%D"(i  
      The Velocity configuration file path R\&z3<-S  
      velocity配置文件路径 #"!ga)a%L  
z8"1*V  
struts.velocity.contexts )h 6w@TF  
      List of Velocity context names gy,)% {,G  
      velocity的context列表 ;a@riPqx!  
ohx$;j  
vxk0@k_  
struts.velocity.manager.classname z\UXn RL  
      org.apache.struts2.views.velocity.VelocityManager implementation class ge?or]T1S  
      org.apache.struts2.views.velocity.VelocityManager接口名 8N"WKBj|_d  
UcB&p t&  
struts.velocity.toolboxlocation <+q`Dk  
      The location of the Velocity toolbox ~/JS_>e#6P  
      velocity工具盒的位置 ~F,Y BX  
struts.xslt.nocache oxeu%wj_  
      Whether or not XSLT templates should not be cached AhA&=l i;  
      是否XSLT模版应该被缓存 +HUy,@^ Pa  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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