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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AMw#_8Y  
}T5 E^  
struts.action.extension 5%_aN_1?ef  
      The URL extension to use to determine if the request is meant for a Struts action 22T\ -g{  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h-f`as"d  
Sx0/Dm  
struts.configuration hCOCX_  
      The org.apache.struts2.config.Configuration implementation class }@y(-7t  
        org.apache.struts2.config.Configuration接口名 oH,{'S@q  
gTS} 'w{  
struts.configuration.files W ZT) LYA  
      A list of configuration files automatically loaded by Struts YYN'LF#j  
      struts自动加载的一个配置文件列表 4St-Q]Y _  
BXb=N E  
struts.configuration.xml.reload fTOGW`s^  
      Whether to reload the XML configuration or not kR+7JUq]  
      是否加载xml配置(true,false) 68?> #o865  
+SB>>  
struts.continuations.package YMU2^,3  
      The package containing actions that use Rife continuations %/4_|.8u  
      含有actions的完整连续的package名称 ]vflx^<?  
qs%UJ0tR  
struts.custom.i18n.resources Yyr qO^9m  
      Location of additional localization properties files to load k-N}tk/5  
      加载附加的国际化属性文件(不包含.properties后缀) !X[P)/?b0+  
,Y4>$:#n/  
struts.custom.properties UhKd o  
      Location of additional configuration properties files to load Vb8Qh601  
      加载附加的配置文件的位置 q'Nafa&a)  
H%bc.c  
L>Y3t1=  
struts.devMode ;u-[%(00S  
      Whether Struts is in development mode or not 2<T/N  
      是否为struts开发模式 (e_z*o)\T  
-N'wKT5  
struts.dispatcher.parametersWorkaround A>ve|us$  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w:pPd;nz0Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .(&w/jR  
FVxORQI  
struts.enable.DynamicMethodInvocation -q]5@s/  
      Allows one to disable dynamic method invocation from the URL 2lCgUe)N  
        允许动态方法调用 b/w5K2  
G=F_{z\}  
struts.freemarker.manager.classname SajG67  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L)n_  Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 TVM19)9  
.0rTk$B  
struts.i18n.encoding S,s#D9NU  
      The encoding to use for localization messages M2$Hb_S{  
      国际化信息内码 8B(=Y;w  
?Dl;DE1  
struts.i18n.reload 1u8hnG  
      Whether the localization messages should automatically be reloaded +MqJJuWB  
      是否国际化信息自动加载 sU+8'&vBp  
0v,fY2$c  
struts.locale zM(-f|wVI)  
      The default locale for the Struts application 8OMMV,QF  
      默认的国际化地区信息 (;;.[4,y  
zsLMROo3  
struts.mapper.class 9X&=?+f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >"+ ho  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q;s {M{u  
]8htL#C  
struts.multipart.maxSize kTcW=AXu  
      The maximize size of a multipart request (file upload) |[0Ijm2  
      multipart请求信息的最大尺寸(文件上传用) [1Aoj|  
73_=CP" t  
struts.multipart.parser =A*a9c2  
      The org.apache.struts2.dispatcher.multipart. N^M6*,F,J  
      MultiPartRequest parser implementation for a multipart request (file upload) 1% C EUE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1cc~UQ  
id9XwWV  
>,QCKZH  
struts.multipart.saveDir lGt:.p{NG  
      The directory to use for storing uploaded files %^d<go^  
      设置存储上传文件的目录夹 VJP#  
h;#046-7  
struts.objectFactory +\*b?x  
      The com.opensymphony.xwork2.ObjectFactory implementation class QVJpX;u  
      com.opensymphony.xwork2.ObjectFactory接口(spring) B'Jf&v  
4:S]n19nq  
struts.objectFactory.spring.autoWire &ds+9A  
      Whether Spring should autoWire or not xJAQ'ANr  
      是否自动绑定Spring kI9I{ &J&  
n.qT7d(  
struts.objectFactory.spring.useClassCache IU5T5p  
      Whether Spring should use its class cache or not Yi,`uJKh  
      是否spring应该使用自身的cache V9SL96'[I  
S-}c_zbl;  
struts.objectTypeDeterminer ,*dLE   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1pg#@h[|t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \q*-9_M  
3[y$$qXI  
struts.serve.static.browserCache jl>TZ)4}V  
If static content served by the Struts filter should set browser caching header properties or not Qu,R6G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +lfO4^V  
z?Ok'LX  
struts.serve.static |pv$],&&:  
      Whether the Struts filter should serve static content or not gKl9Nkd!R  
      是否struts过滤器应该提供静态内容 Sgv_YoD?-  
l*OR{!3H$  
struts.tag.altSyntax S9r?= K  
      Whether to use the alterative syntax for the tags or not P9qIq]M  
      是否可以用替代的语法替代tags I*^t!+q$  
[*5]NNB  
struts.ui.templateDir 8B &EH+  
      The directory containing UI templates ^"D^D`$@  
      UI templates的目录夹 {Q37a=;,  
NN2mOJ:-  
struts.ui.theme W6}>iB  
      The default UI template theme UimofFmI%  
      默认的UI template主题 J _dgP[  
{J izCUo_'  
struts.url.http.port 3N-pND0>p  
      The HTTP port used by Struts URLs $[Z~BfSQ  
      设置http端口 2"?DaX  
SepwMB4@  
struts.url.https.port J'sa{/ #  
      The HTTPS port used by Struts URLs #+p-  
      设置https端口 P`{$7ST'Hh  
14 ,t  
struts.url.includeParams U;WwEta ]  
      The default includeParams method to generate Struts URLs Q.$Rhjb  
      在url中产生 默认的includeParams .MG83Si  
KUYwc@si\  
=f y|Dm74  
struts.velocity.configfile ` 6*]cn#(  
      The Velocity configuration file path lH`TF_  
      velocity配置文件路径 h2T\%V_j  
_J!&R:]$  
struts.velocity.contexts 2aCf?l(  
      List of Velocity context names jk&xzJH.  
      velocity的context列表 l*z% Jw  
|u?VlRt  
8ta @@h  
struts.velocity.manager.classname C0/^6Lu"o  
      org.apache.struts2.views.velocity.VelocityManager implementation class K$Vu[!l`  
      org.apache.struts2.views.velocity.VelocityManager接口名 *|g[Mn  
,>rvl P  
struts.velocity.toolboxlocation {R-o8N  
      The location of the Velocity toolbox X*@ tp,t  
      velocity工具盒的位置 `j@1]%&z  
struts.xslt.nocache m N}szW,  
      Whether or not XSLT templates should not be cached {eI'0==  
      是否XSLT模版应该被缓存 t4#gW$+^?H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五