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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (d-j/v*4  
+e) RT<  
struts.action.extension mWU*}-M  
      The URL extension to use to determine if the request is meant for a Struts action 0Y\7A  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =Y5*J#  
tA9(N>[ *  
struts.configuration 1;9  %L@  
      The org.apache.struts2.config.Configuration implementation class CYC6:g|)  
        org.apache.struts2.config.Configuration接口名 Ox f,2r  
qzu%Pp6If  
struts.configuration.files }u'O<d~z?  
      A list of configuration files automatically loaded by Struts Uf-`g>  
      struts自动加载的一个配置文件列表 DYCXzFAa  
(9D,Ukw  
struts.configuration.xml.reload 3yIC@>&y(8  
      Whether to reload the XML configuration or not ,6a }l;lv  
      是否加载xml配置(true,false) {%z}CTf#  
hH@pA:`s  
struts.continuations.package +yu^Z*_  
      The package containing actions that use Rife continuations h>K%Ox R  
      含有actions的完整连续的package名称 .e2 K\o  
;?:X_C  
struts.custom.i18n.resources h2edA#bub  
      Location of additional localization properties files to load o8S)8_3  
      加载附加的国际化属性文件(不包含.properties后缀) UjQi9ELoJ  
f5QJj<@  
struts.custom.properties g/m%A2M&aH  
      Location of additional configuration properties files to load ,h$j%->U  
      加载附加的配置文件的位置 ]6EXaf#  
atWAhN  
g,cl|]/\d  
struts.devMode } g[(h=Qi  
      Whether Struts is in development mode or not ?\Z-3l%M  
      是否为struts开发模式 y-CVyl  
%+Khj@aX  
struts.dispatcher.parametersWorkaround 4U1"F 7'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <ba+7CK] w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) u<{uUui}$v  
b."1p7'  
struts.enable.DynamicMethodInvocation We,~P\g  
      Allows one to disable dynamic method invocation from the URL jR&AQ-H&  
        允许动态方法调用 gL;tyf1P  
r`(U3EgP  
struts.freemarker.manager.classname sp$W=Wu7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class GPnSdGLC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FzGla})  
ZN?UkFnE  
struts.i18n.encoding ;}gS8I|  
      The encoding to use for localization messages tvG/oe .1'  
      国际化信息内码 FqK2[]8  
ZX!u\O|w  
struts.i18n.reload L`{EXn[  
      Whether the localization messages should automatically be reloaded &O.S ;b*+  
      是否国际化信息自动加载 v><uHjP  
o\YF_235  
struts.locale nANoy6z:  
      The default locale for the Struts application gRdg3qvU  
      默认的国际化地区信息 h47l;`kD-#  
#0j,1NpL  
struts.mapper.class ROHr%'owgL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,4%'~8'3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 yjP;o`z%  
MM%c   
struts.multipart.maxSize nf MQ3K P  
      The maximize size of a multipart request (file upload) 8"g.Z*  
      multipart请求信息的最大尺寸(文件上传用) #5x[Z[m  
N;6WfdA-  
struts.multipart.parser {?9s~{Dl  
      The org.apache.struts2.dispatcher.multipart. ! G+/8Q^  
      MultiPartRequest parser implementation for a multipart request (file upload) Tfl4MDZb  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7)Rx-  
Y-WY Q{  
-*EK-j  
struts.multipart.saveDir KwiTnP!Dca  
      The directory to use for storing uploaded files VJeN m3WNb  
      设置存储上传文件的目录夹 xFY;aK  
v+|N7  
struts.objectFactory =NzA2td  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8y{<M"v+/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @"#W\m8  
6"W~%FSJX  
struts.objectFactory.spring.autoWire 43Yav+G(+  
      Whether Spring should autoWire or not <j.bG 7  
      是否自动绑定Spring oA&V,r  
\i=,[8t[r  
struts.objectFactory.spring.useClassCache }GCt)i_  
      Whether Spring should use its class cache or not Oj*3'?<7=  
      是否spring应该使用自身的cache &V&0kp@+  
0iX;%SPYz  
struts.objectTypeDeterminer /*bS~7f1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?b~Vuo  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /)PD+18  
)vK %LmP  
struts.serve.static.browserCache B&`hvR  
If static content served by the Struts filter should set browser caching header properties or not B{SzC=4f}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RYaf{i`  
8JUUK(&Z  
struts.serve.static !RnO{FL  
      Whether the Struts filter should serve static content or not p_jDnb#  
      是否struts过滤器应该提供静态内容 !ldb_*)h  
zZ|Si  
struts.tag.altSyntax r c7"sIkV  
      Whether to use the alterative syntax for the tags or not  wNW9xmS  
      是否可以用替代的语法替代tags \dbjh{  
8_K22]c5  
struts.ui.templateDir 1TKOvy_  
      The directory containing UI templates vb}; _/ #?  
      UI templates的目录夹 sSi1;9^o  
por[p\M.  
struts.ui.theme F}A@H<?  
      The default UI template theme O=#FpPHrdw  
      默认的UI template主题 PQsqi;=)  
#s1O(rLRl  
struts.url.http.port Qcz7IA  
      The HTTP port used by Struts URLs Poacd;*  
      设置http端口 N(@'L43$V  
S"UFT-N  
struts.url.https.port +!V*{<K  
      The HTTPS port used by Struts URLs /)xG%J7H  
      设置https端口 [BHf>  
})|+tZ  
struts.url.includeParams qDO4&NO  
      The default includeParams method to generate Struts URLs n}qHt0N  
      在url中产生 默认的includeParams H'$g!Pg  
 XGEAcN  
K^k1]!W=  
struts.velocity.configfile s,Cm}4L6  
      The Velocity configuration file path SQ)$>3>C  
      velocity配置文件路径 \c+)Y}:D  
IBWUeB:b  
struts.velocity.contexts #{GUu ',?&  
      List of Velocity context names Z xLjh  
      velocity的context列表 l,*v/95h  
3C8'0DB  
A?3hNvfx  
struts.velocity.manager.classname lkV% k1w  
      org.apache.struts2.views.velocity.VelocityManager implementation class y5.Z<Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 G|yX9C]R   
/b20!3  
struts.velocity.toolboxlocation pK#Ze/!  
      The location of the Velocity toolbox SG8H~]CO)  
      velocity工具盒的位置 hNXPm~OK\  
struts.xslt.nocache @YP\!#"8  
      Whether or not XSLT templates should not be cached f8)D|  
      是否XSLT模版应该被缓存 \@Gyl_6^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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