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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?SUQk55w  
:?r*p>0$  
struts.action.extension BxX$5u  
      The URL extension to use to determine if the request is meant for a Struts action a|N0(C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5&4F,v[zp  
TIRHT`"i  
struts.configuration ^[M~K5Y  
      The org.apache.struts2.config.Configuration implementation class 8g5V,3_6  
        org.apache.struts2.config.Configuration接口名 135Par5v  
S+*cbA{J|  
struts.configuration.files iAz UaF  
      A list of configuration files automatically loaded by Struts @&/\r 7 '  
      struts自动加载的一个配置文件列表 ye r> x  
f Lk"tW  
struts.configuration.xml.reload 8 G?b.NE^  
      Whether to reload the XML configuration or not Rx. rj~  
      是否加载xml配置(true,false) <J#R3{  
^~I @ spR4  
struts.continuations.package 6bL"LM`s  
      The package containing actions that use Rife continuations `03<0L   
      含有actions的完整连续的package名称 !yCl(XT  
&8Wlps`  
struts.custom.i18n.resources *#ompm  
      Location of additional localization properties files to load iH _"W+dq  
      加载附加的国际化属性文件(不包含.properties后缀) 0e9A+&r  
.xv ^G?GG  
struts.custom.properties 19pND m2H1  
      Location of additional configuration properties files to load U`HXsq p}  
      加载附加的配置文件的位置 dY48S{  
:4Id7Ce  
UA1]o5K  
struts.devMode {IF}d*:  
      Whether Struts is in development mode or not h0&>GY;i  
      是否为struts开发模式 w+URCj  
;Hz`0V  
struts.dispatcher.parametersWorkaround vCYSm  0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8T!fGzHx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ym-lT|>Z  
j=!(F`/  
struts.enable.DynamicMethodInvocation IF,i^,  
      Allows one to disable dynamic method invocation from the URL QE`:jxyad  
        允许动态方法调用 )Gu0i7iN  
L<{OBuR  
struts.freemarker.manager.classname Dohl,d  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /\oyPD`((  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KqG/a  
o`JlXuG?o  
struts.i18n.encoding 8iII) +  
      The encoding to use for localization messages lN*1zM<6;  
      国际化信息内码 v#T?YK  
XSL t;zL:  
struts.i18n.reload YFC0KU  
      Whether the localization messages should automatically be reloaded 6qmo ZAg  
      是否国际化信息自动加载 hSLwiX~  
3.GdKP.%  
struts.locale P^uP$D  
      The default locale for the Struts application [E..VesrM  
      默认的国际化地区信息 g9 grfN  
zO7lsx2 =  
struts.mapper.class P_^ |KEz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  8E.5k@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Aspj*CDu  
nEa'e5 lg  
struts.multipart.maxSize l{D,O?`Av  
      The maximize size of a multipart request (file upload) +Y>cBSO  
      multipart请求信息的最大尺寸(文件上传用) b@Mng6R  
US*<I2ZLh  
struts.multipart.parser y<Z#my$`|n  
      The org.apache.struts2.dispatcher.multipart. \V!X& a  
      MultiPartRequest parser implementation for a multipart request (file upload) Jte:l:yjtA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WMdz+^\(  
4BUK5)B  
D^T7pO  
struts.multipart.saveDir k:HSB</}  
      The directory to use for storing uploaded files ^r?sgJ  
      设置存储上传文件的目录夹 VUg~[  
9< 0$mE^:  
struts.objectFactory y1jGf83  
      The com.opensymphony.xwork2.ObjectFactory implementation class H(*=9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) D+vl%(g  
=+sIX3  
struts.objectFactory.spring.autoWire .AmM%I4K  
      Whether Spring should autoWire or not zLIa! -C  
      是否自动绑定Spring xa%ktn  
si"mM>e  
struts.objectFactory.spring.useClassCache ( _F  
      Whether Spring should use its class cache or not J1v0 \  
      是否spring应该使用自身的cache 1SJHX1CxX  
~"4vd 3  
struts.objectTypeDeterminer 7`'fUhB!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K:mL%o2J  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  6O|\4c;  
(Q p] 0  
struts.serve.static.browserCache vM>`CZ  
If static content served by the Struts filter should set browser caching header properties or not !kk %;XSZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 NcY0pAR*  
^zluO   
struts.serve.static ,+5VeRyrV  
      Whether the Struts filter should serve static content or not (P52KD[A[  
      是否struts过滤器应该提供静态内容 D 5wR?O  
V/wc[p ~  
struts.tag.altSyntax "GC]E8&>H  
      Whether to use the alterative syntax for the tags or not i:N^:%  
      是否可以用替代的语法替代tags r1H['{$  
hZ /  
struts.ui.templateDir )k%drdY{J'  
      The directory containing UI templates Rb>RjHo S  
      UI templates的目录夹 kG7,1teMk  
1AEVZ@(j7  
struts.ui.theme E1 gTrMo  
      The default UI template theme Ru\Lr=9  
      默认的UI template主题 XTXo xZ#w  
N(/<qv  
struts.url.http.port :W<,iqSCm  
      The HTTP port used by Struts URLs ^3@a0J=F  
      设置http端口 dcTM02kEh  
oHFDg?Z`  
struts.url.https.port G?1V~6  
      The HTTPS port used by Struts URLs 7D_kkhN  
      设置https端口 FveK|-  
v2X0Px_  
struts.url.includeParams o*ED!y7  
      The default includeParams method to generate Struts URLs SIVLYi  
      在url中产生 默认的includeParams Zg f||,  
ITY!=>S-  
U;dt-3?=.h  
struts.velocity.configfile bh6wI%8H  
      The Velocity configuration file path <>/MKMq!  
      velocity配置文件路径 UNLNY,P/!)  
tZ24}~da  
struts.velocity.contexts QN8Hz/}\  
      List of Velocity context names V~"d`j  
      velocity的context列表 f9=X7"dzP  
n\al}KG  
tpzdYokh >  
struts.velocity.manager.classname "/h"Xg>q  
      org.apache.struts2.views.velocity.VelocityManager implementation class L"<Eov6  
      org.apache.struts2.views.velocity.VelocityManager接口名 h#;K9#x6  
<Y'YpH`l  
struts.velocity.toolboxlocation 5kZ yiC*  
      The location of the Velocity toolbox fx"+ZR  
      velocity工具盒的位置 Nmq5Tv  
struts.xslt.nocache R*#Q=_  
      Whether or not XSLT templates should not be cached P Y<V  
      是否XSLT模版应该被缓存 ~7lvY+k)<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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