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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %Gh!h4Pv  
cT-XF  
struts.action.extension U2\zl  
      The URL extension to use to determine if the request is meant for a Struts action ['e8Xz0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e%u1O -*  
9!}&&]Q`  
struts.configuration >Y!5c 2~`;  
      The org.apache.struts2.config.Configuration implementation class mO(m%3  
        org.apache.struts2.config.Configuration接口名 -}4<P}.5T  
K9 :I8E<  
struts.configuration.files +)dQd T0Fq  
      A list of configuration files automatically loaded by Struts 2:Zb'Mj  
      struts自动加载的一个配置文件列表 H<Ed"-n$I<  
IEmtt^C  
struts.configuration.xml.reload ":tQYo]d  
      Whether to reload the XML configuration or not BMgiXdv.B  
      是否加载xml配置(true,false) ~f;d3dJ]/  
58ev (f  
struts.continuations.package v=RQ"iv8  
      The package containing actions that use Rife continuations ^dM,K p  
      含有actions的完整连续的package名称 mtOCk 5E  
E0o=  
struts.custom.i18n.resources ? L|m:A`  
      Location of additional localization properties files to load gk1I1)p  
      加载附加的国际化属性文件(不包含.properties后缀) &>XIK8*  
@Q 8E)k@  
struts.custom.properties ]Wa.k  
      Location of additional configuration properties files to load 5~5d%C^3k  
      加载附加的配置文件的位置 Mnn\y Tblp  
g!,>.  
A|Up >`QH  
struts.devMode KD11<&4_x  
      Whether Struts is in development mode or not n3da@ClBt  
      是否为struts开发模式 'P3CgpF<Z2  
I&,gCZ#  
struts.dispatcher.parametersWorkaround * _)xlpy  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Tky\W%Ag  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /\q1,}M  
7`9J.L&,;  
struts.enable.DynamicMethodInvocation WyF1Fw  
      Allows one to disable dynamic method invocation from the URL /=).)<&|R  
        允许动态方法调用 }lvD 5  
G];5'd~C;d  
struts.freemarker.manager.classname 1O"7%Pvw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dj3}Tjt  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _3i.o$GO  
xlg6cO  
struts.i18n.encoding k z"F4?,  
      The encoding to use for localization messages B{hP#bYK  
      国际化信息内码 Ei2hI  
*G"L]Nq#  
struts.i18n.reload +] s"*'V$  
      Whether the localization messages should automatically be reloaded hN=YC\l  
      是否国际化信息自动加载 QVA)&k'T,  
eo.y,Uh  
struts.locale 38ChS.(  
      The default locale for the Struts application %9cu(yc*}  
      默认的国际化地区信息 _ +q.R  
kC"lO'  
struts.mapper.class z%Pbs[*C  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (,z0V+ !  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 = Bz yI  
G}<%%U D  
struts.multipart.maxSize 3GqvL_  
      The maximize size of a multipart request (file upload) U bUl]  
      multipart请求信息的最大尺寸(文件上传用) ~M7 J{hK  
?=}~]A5N  
struts.multipart.parser ]A+q:kP  
      The org.apache.struts2.dispatcher.multipart. f?}~$agc  
      MultiPartRequest parser implementation for a multipart request (file upload) ,<!_MNw[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^vw? 4O  
V4@ HIM  
wH&[Tg  
struts.multipart.saveDir ,Wtod|vx\U  
      The directory to use for storing uploaded files n%yMf!M .:  
      设置存储上传文件的目录夹 |E/U(VS3l~  
<!gq9  
struts.objectFactory WP{!|d&  
      The com.opensymphony.xwork2.ObjectFactory implementation class Xk8+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) zX *+J"x  
Q}.zE+  
struts.objectFactory.spring.autoWire f4eLnY  
      Whether Spring should autoWire or not gB BS}HF  
      是否自动绑定Spring DlIy'@ .  
Pp.qDkT  
struts.objectFactory.spring.useClassCache YaI8hj@}  
      Whether Spring should use its class cache or not Ry2rQM`  
      是否spring应该使用自身的cache #!!Ea'3Iq  
jLRUWg  
struts.objectTypeDeterminer |O =Fz3)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class O {u^&V]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vl+vzAd  
K.'II9-{  
struts.serve.static.browserCache X-[_g!pV  
If static content served by the Struts filter should set browser caching header properties or not U,q ]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0kEz i  
I`"B<=zi  
struts.serve.static ANgfG8>  
      Whether the Struts filter should serve static content or not  (o`"s~)  
      是否struts过滤器应该提供静态内容 $#E?`At{I  
CDOqdBQ  
struts.tag.altSyntax 0tV"X  
      Whether to use the alterative syntax for the tags or not doM}vh)6  
      是否可以用替代的语法替代tags ,I# X[^/  
~Mu=,OT  
struts.ui.templateDir (9R;a np  
      The directory containing UI templates ~{MmUp rS  
      UI templates的目录夹 U6SgV 8  
l{OU \  
struts.ui.theme mqPV Eo  
      The default UI template theme e}e|??'(\  
      默认的UI template主题 :"BZK5{8  
V-rzn171Q)  
struts.url.http.port I|@'2z2  
      The HTTP port used by Struts URLs TXx%\V_6  
      设置http端口 >:7W.QLRU  
--Dd'  
struts.url.https.port T 9lk&7W  
      The HTTPS port used by Struts URLs V$e\84<  
      设置https端口 :$eg{IXC"  
haj\Dm  
struts.url.includeParams G+Vlaa/7  
      The default includeParams method to generate Struts URLs O%:EPdoU  
      在url中产生 默认的includeParams 1~X~"M  
h!#!}|Q'  
+Ja9p  
struts.velocity.configfile 38(Cj~u=3  
      The Velocity configuration file path LZC)vF5  
      velocity配置文件路径 F@=)jrO=$  
|/LCwq%  
struts.velocity.contexts V *2 =S  
      List of Velocity context names QvB]?D#h  
      velocity的context列表 tTa" JXG  
,1>ABz  
X[pk9mha  
struts.velocity.manager.classname qSj$0Hq5XI  
      org.apache.struts2.views.velocity.VelocityManager implementation class "n'LF?/H'  
      org.apache.struts2.views.velocity.VelocityManager接口名 K.CwtUt`54  
#)im9LLC#  
struts.velocity.toolboxlocation 6OeRBD&  
      The location of the Velocity toolbox 6@ `'}  
      velocity工具盒的位置 >C|/%$kk:f  
struts.xslt.nocache WHh=ht s\  
      Whether or not XSLT templates should not be cached +;nADl+Q  
      是否XSLT模版应该被缓存 n|,kL!++.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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