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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Xie dgy  
uy-Ncy  
struts.action.extension [ MXXY  
      The URL extension to use to determine if the request is meant for a Struts action ?QIQ,?.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <sFf'W_3{  
B l/e>@M  
struts.configuration z` ?xS  
      The org.apache.struts2.config.Configuration implementation class 2u;fT{(  
        org.apache.struts2.config.Configuration接口名 YIk6:W{  
jeBj   
struts.configuration.files @k #y-/~?  
      A list of configuration files automatically loaded by Struts oJu4vGy0  
      struts自动加载的一个配置文件列表 r~Ubgd ]U  
rMFZ#38d  
struts.configuration.xml.reload Y(yJ|y&  
      Whether to reload the XML configuration or not i\z0{;f|GX  
      是否加载xml配置(true,false) kuud0VWJ  
adE0oXQH"  
struts.continuations.package IlL   
      The package containing actions that use Rife continuations .&Gtw _  
      含有actions的完整连续的package名称 qmyZbo|8&  
@dKf]&h%%  
struts.custom.i18n.resources NGQIoKC  
      Location of additional localization properties files to load ]{U*+K%,J  
      加载附加的国际化属性文件(不包含.properties后缀) E|uXi)!.x  
\*"0wR;[K  
struts.custom.properties vHe.+XY  
      Location of additional configuration properties files to load F"#*8P  
      加载附加的配置文件的位置 WIl S^?5I<  
4wD^?S!p  
Q)X\VQcgj  
struts.devMode &J@ZF<Ib  
      Whether Struts is in development mode or not vlyNQ7"%  
      是否为struts开发模式 CKt~#$ I%  
*7V{yK$O|  
struts.dispatcher.parametersWorkaround {Om3fSk:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^g){)rz|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %LlKi5u]  
E :g ArQ  
struts.enable.DynamicMethodInvocation A"ph!* i{  
      Allows one to disable dynamic method invocation from the URL kRa$jD^?  
        允许动态方法调用 jtpNo~O  
.7Bav5 ;  
struts.freemarker.manager.classname kV%y%l(6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %a^!~qV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P3FpU<OBwp  
] r+I D  
struts.i18n.encoding 2xBGs9_Y  
      The encoding to use for localization messages JJOs L!@  
      国际化信息内码 |Qq'_4:  
^n5QK HD  
struts.i18n.reload vjWgR9 4/{  
      Whether the localization messages should automatically be reloaded g8@HAV^H  
      是否国际化信息自动加载 )tg*dE  
.shI% 'V  
struts.locale N5]68Fu'({  
      The default locale for the Struts application HY#("=9< h  
      默认的国际化地区信息 (P] ^5D  
V"p*Jd"w  
struts.mapper.class 8k% :w0H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^w}Ib']X  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 T js{ )r9  
52Ffle8  
struts.multipart.maxSize j*\MUR=  
      The maximize size of a multipart request (file upload) yG_.|%e  
      multipart请求信息的最大尺寸(文件上传用) ?& ^l8gE  
>%A=b}VS  
struts.multipart.parser Y{{,62D  
      The org.apache.struts2.dispatcher.multipart. Du4?n8 o  
      MultiPartRequest parser implementation for a multipart request (file upload) *Y>'v%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fkG"72 95A  
;yoq/  
r2`?Ta  
struts.multipart.saveDir |EU08b]P29  
      The directory to use for storing uploaded files wC@ U/?  
      设置存储上传文件的目录夹 9uo\&,,  
7En~~J3  
struts.objectFactory ]qQB+]WN  
      The com.opensymphony.xwork2.ObjectFactory implementation class Fd0FG A&L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) A[Xw|9  
!LESRh?  
struts.objectFactory.spring.autoWire cv&hT.1  
      Whether Spring should autoWire or not z`6KX93  
      是否自动绑定Spring xBd% e-r  
@}}1xP4Sr  
struts.objectFactory.spring.useClassCache ^U1 +D^AJ  
      Whether Spring should use its class cache or not $(hZw  
      是否spring应该使用自身的cache @g?z>n n  
A#\X-8/  
struts.objectTypeDeterminer D^4V"rq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t*$@QO  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I!%@|[ Ow  
`Q[$R&\  
struts.serve.static.browserCache e=C,`&s z  
If static content served by the Struts filter should set browser caching header properties or not \Bf{/r5x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ON^u|*kO  
V6o,}o&-  
struts.serve.static R'_[RHFC  
      Whether the Struts filter should serve static content or not }zLE*b,  
      是否struts过滤器应该提供静态内容 -#hl& ^u$  
d@~)Wlje  
struts.tag.altSyntax hTqJDP"&F  
      Whether to use the alterative syntax for the tags or not +%^xz 1m  
      是否可以用替代的语法替代tags EkPSG&6RZ  
Xp@OIn  
struts.ui.templateDir .- o,_eg1f  
      The directory containing UI templates E_#&L({|@  
      UI templates的目录夹 q9Wtu7/  
m{" zFD/  
struts.ui.theme fe,CY5B{  
      The default UI template theme w}0PtzOe  
      默认的UI template主题 Iu]P^8  
)oCF| 2qc  
struts.url.http.port U^S0H(>  
      The HTTP port used by Struts URLs gne c#j  
      设置http端口 qyC"}y-  
T!AQJ:;1  
struts.url.https.port A#{*A  
      The HTTPS port used by Struts URLs \>Q,AyL  
      设置https端口 ZGBcy}U(k  
_=p|"~rN$  
struts.url.includeParams #YV;Gp(2h  
      The default includeParams method to generate Struts URLs CK%W +";  
      在url中产生 默认的includeParams TlJF{ <E  
R2{X? 2|$  
LNW p$"  
struts.velocity.configfile  #Ki@=*  
      The Velocity configuration file path fNumY|%3  
      velocity配置文件路径 MDZb|1.AT  
-8: @xG2  
struts.velocity.contexts 7KLq-u-8  
      List of Velocity context names 5VS<I\o}  
      velocity的context列表 R8]bi|e)  
t `oP;  
aeIR}'H|  
struts.velocity.manager.classname x3 <Lx^;  
      org.apache.struts2.views.velocity.VelocityManager implementation class RdjUw#\33b  
      org.apache.struts2.views.velocity.VelocityManager接口名 ) eV]M~K:  
F ry5v?22  
struts.velocity.toolboxlocation yCVBG  
      The location of the Velocity toolbox B:SRHd{*Wu  
      velocity工具盒的位置 >3/<goXk7  
struts.xslt.nocache j  jQ=  
      Whether or not XSLT templates should not be cached ?uLqB@!2  
      是否XSLT模版应该被缓存 iW)Ou?aS  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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