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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 PUucYc  
Grkj @Q*  
struts.action.extension 7gPkg63  
      The URL extension to use to determine if the request is meant for a Struts action f<y""0L9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 s8 3_Bd  
[}+ MZ  
struts.configuration (bZ)pW/iw  
      The org.apache.struts2.config.Configuration implementation class GyT{p#l  
        org.apache.struts2.config.Configuration接口名 L5PN]<~T  
P 7gS M  
struts.configuration.files JYKaF6bx8  
      A list of configuration files automatically loaded by Struts h-#Glse<  
      struts自动加载的一个配置文件列表 } CQ GvH  
iF<VbQP=X^  
struts.configuration.xml.reload <A!v'Y  
      Whether to reload the XML configuration or not jcevpKkRG  
      是否加载xml配置(true,false) #  ,GpZ  
q.rnZU  
struts.continuations.package &9TG&~(+  
      The package containing actions that use Rife continuations g$$uf[A-SL  
      含有actions的完整连续的package名称 4Mnne'7  
J]Uki*s  
struts.custom.i18n.resources '{Iv?gh"  
      Location of additional localization properties files to load g+)T\_#u  
      加载附加的国际化属性文件(不包含.properties后缀) 54tpR6%3p  
N}zQ)]xz+r  
struts.custom.properties [@.%6aD  
      Location of additional configuration properties files to load Qt!l-/flh  
      加载附加的配置文件的位置 uKhfZSx0 w  
JCS$Tm6y<_  
Vb0hlJb  
struts.devMode _ @ \  
      Whether Struts is in development mode or not Wh 8fC(BE  
      是否为struts开发模式 |A}E/=HPU  
! QP~#a%  
struts.dispatcher.parametersWorkaround 2h u;N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zFwp$K>{QY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q%q_  
O"_FfwO a  
struts.enable.DynamicMethodInvocation [;#}BlbN  
      Allows one to disable dynamic method invocation from the URL k >U&Us0  
        允许动态方法调用  |o=eS&)  
\q%li)  
struts.freemarker.manager.classname %6dFACv  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class > : \lDz  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 D|6p rC%/  
!</5 )B`5:  
struts.i18n.encoding u;;]S!:M  
      The encoding to use for localization messages n%W~+  
      国际化信息内码 @yS  
uu]<R@!J  
struts.i18n.reload (fb&5=Wzw  
      Whether the localization messages should automatically be reloaded w\s$  
      是否国际化信息自动加载 ;R 'OdQ$o  
[ gx<7}[  
struts.locale B,, f$h!  
      The default locale for the Struts application h#'(UZ  
      默认的国际化地区信息 Kh'/Ne?  
.B_) w:oF  
struts.mapper.class |oC&;A  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bgL`FW i3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vgo-[^FiP$  
Gb~*[  
struts.multipart.maxSize *A;~~ SQ  
      The maximize size of a multipart request (file upload) TV0(uMZ0+'  
      multipart请求信息的最大尺寸(文件上传用) E(>RmPP=7  
8cF-kfbfZ  
struts.multipart.parser tDF6%RG  
      The org.apache.struts2.dispatcher.multipart. ``$At,m  
      MultiPartRequest parser implementation for a multipart request (file upload) *5.s@L( VU  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) xSug-  
 3m  
2*F["E  
struts.multipart.saveDir <eI7xifD  
      The directory to use for storing uploaded files f-tjMa /_  
      设置存储上传文件的目录夹 %'%r.  
U}_l]gNn  
struts.objectFactory WDW b 7  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?&pjP,a  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9)3ok#pQ/  
;WO/xA-#  
struts.objectFactory.spring.autoWire )CYSU(YTD  
      Whether Spring should autoWire or not W9t%:wF  
      是否自动绑定Spring 2.Th29]  
tB8XnO_c  
struts.objectFactory.spring.useClassCache K q: +{'  
      Whether Spring should use its class cache or not H&6lQ30/)  
      是否spring应该使用自身的cache _t 'Kj \  
6 80i?=z  
struts.objectTypeDeterminer `6?r.;wj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >-c;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 '9H7I! L@  
\[% [`m  
struts.serve.static.browserCache /}]X3ng  
If static content served by the Struts filter should set browser caching header properties or not FzXVNUMP  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @;"HslU\Q  
O}*[@uv/  
struts.serve.static ^mm:u<Yt  
      Whether the Struts filter should serve static content or not oJvF)d@gU  
      是否struts过滤器应该提供静态内容 =Bu d!  
-A[iTI"  
struts.tag.altSyntax #x" 4tI  
      Whether to use the alterative syntax for the tags or not r> eOq[z  
      是否可以用替代的语法替代tags 0jro0f'  
yOxJx7uD  
struts.ui.templateDir ]}<wS ]1  
      The directory containing UI templates V+W,# 5  
      UI templates的目录夹 ]Z&2  
ahU\(=  
struts.ui.theme .zAB)rNc |  
      The default UI template theme hS OAjS  
      默认的UI template主题 (B.J8`h }  
Q Bc\=}  
struts.url.http.port w[qWr@  
      The HTTP port used by Struts URLs sV@kQ:  
      设置http端口 k$9oUE,  
M@[{j  
struts.url.https.port CD:@OI  
      The HTTPS port used by Struts URLs q*SX.A>YR  
      设置https端口 "i<i.6|  
t \kI( G  
struts.url.includeParams 5 S$*YRp  
      The default includeParams method to generate Struts URLs ^sY ]N77  
      在url中产生 默认的includeParams 8j. 9Sk/  
79AOvh  
cxFfAk\,en  
struts.velocity.configfile iEux`CcJ.  
      The Velocity configuration file path L&+XFntR  
      velocity配置文件路径 "<SK=W  
X!2/cgU7  
struts.velocity.contexts H,9e<x#own  
      List of Velocity context names 1tHTjEG4^3  
      velocity的context列表 _fz-fG 1  
&]iX>m.  
7Q7z6p/\v  
struts.velocity.manager.classname m*tmmP4R  
      org.apache.struts2.views.velocity.VelocityManager implementation class O:"gJ4D  
      org.apache.struts2.views.velocity.VelocityManager接口名 &ok2Xw  
!U>711$  
struts.velocity.toolboxlocation BX;Z t9"*  
      The location of the Velocity toolbox Q7zg i  
      velocity工具盒的位置 =ltT6of@o  
struts.xslt.nocache ]e@'9`G-'  
      Whether or not XSLT templates should not be cached P(8zJk6h),  
      是否XSLT模版应该被缓存 %,Xs[[?i  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八