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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t_X=x`f  
h7\16j  
struts.action.extension 98l-  
      The URL extension to use to determine if the request is meant for a Struts action G`jJKiC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 QfU{W@!h  
R? ,XSJ  
struts.configuration ~rz%TDX0\  
      The org.apache.struts2.config.Configuration implementation class M059"X="  
        org.apache.struts2.config.Configuration接口名 SC0_ h(zb,  
O`0A#h&No  
struts.configuration.files oJ}$ /_  
      A list of configuration files automatically loaded by Struts f'M7x6W  
      struts自动加载的一个配置文件列表 *3Ci4\Ew  
!='&#@7u  
struts.configuration.xml.reload '%A*Z,f  
      Whether to reload the XML configuration or not `>}e 5  
      是否加载xml配置(true,false) z 4`H<Pn  
o{ \r1<D  
struts.continuations.package ?pF uV`Zm  
      The package containing actions that use Rife continuations DKf:0E8  
      含有actions的完整连续的package名称 4ze4{a^  
Wp$'#HhB  
struts.custom.i18n.resources yB^_dE  
      Location of additional localization properties files to load .3 T#:Hl  
      加载附加的国际化属性文件(不包含.properties后缀) L[:b\ O/p,  
3LD`Ep   
struts.custom.properties uzUZuJ  
      Location of additional configuration properties files to load 9 nPc>O$  
      加载附加的配置文件的位置 \.<V~d?  
]RJcY1  
IvyBK]{|  
struts.devMode /Z*XKIU6v/  
      Whether Struts is in development mode or not ,s,VOyr @F  
      是否为struts开发模式 n++L =&Wd  
qj5V<c;h%W  
struts.dispatcher.parametersWorkaround )N4_SA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3o=K?eOdg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) AG$S;)Yl9c  
^l4=/=RR  
struts.enable.DynamicMethodInvocation o4"7i 9+g  
      Allows one to disable dynamic method invocation from the URL ~)JNevLZ  
        允许动态方法调用 SGREpOlJ+  
m*MfGj(  
struts.freemarker.manager.classname QM }TPE  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Rx22W:S=C.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #;32(II  
q >|:mXR  
struts.i18n.encoding B9RB/vHH  
      The encoding to use for localization messages Qf|=xV,F  
      国际化信息内码 <I{)p;u1  
9o]h}Xc  
struts.i18n.reload S WYIQ7*  
      Whether the localization messages should automatically be reloaded 0P<bS?e<l  
      是否国际化信息自动加载 ^hhJ6E_W  
ix<sorR H  
struts.locale 8T:|~%Sw  
      The default locale for the Struts application X/_e#H0  
      默认的国际化地区信息 Jbud_.h9  
8v},&rhPQq  
struts.mapper.class n y7 G  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tTT./-*0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U}55;4^LX  
.~+I"V{y F  
struts.multipart.maxSize .`OyC'  
      The maximize size of a multipart request (file upload) ;hz"`{(JY  
      multipart请求信息的最大尺寸(文件上传用) >g ]S"ku|  
i{N?Y0YQs0  
struts.multipart.parser 9[\do@  
      The org.apache.struts2.dispatcher.multipart. XBX`L"0  
      MultiPartRequest parser implementation for a multipart request (file upload) 1O,5bi>t7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oMYFfnoAa  
1F>8#+B/W  
%w>3Fwj`z  
struts.multipart.saveDir \kV|S=~@  
      The directory to use for storing uploaded files 4sSw7`  
      设置存储上传文件的目录夹 xX<T5Ls  
bZUw^{~)D  
struts.objectFactory \H>Psv{  
      The com.opensymphony.xwork2.ObjectFactory implementation class id+EBVHAd  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #k/T\PQ0s  
D&K9!z"]  
struts.objectFactory.spring.autoWire q;QasAQS`p  
      Whether Spring should autoWire or not \;_tXb}F  
      是否自动绑定Spring W\0u[IV.x  
4VvE(f  
struts.objectFactory.spring.useClassCache $s ,g&7*-  
      Whether Spring should use its class cache or not r/':^Ex  
      是否spring应该使用自身的cache % &H^UxC  
9 4bDJy1  
struts.objectTypeDeterminer Z$c&Y>@)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +>eX1WoTy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R$IsP,Uw  
GNwFB)?j  
struts.serve.static.browserCache fUis_?!  
If static content served by the Struts filter should set browser caching header properties or not ;H8`^;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &xUCXj2-z  
jC:D>  
struts.serve.static xh<{lZ)KJ  
      Whether the Struts filter should serve static content or not ]X7_ji(l,  
      是否struts过滤器应该提供静态内容 opn6 C )  
WC_U'nTu4  
struts.tag.altSyntax $z)egh(z  
      Whether to use the alterative syntax for the tags or not kuLur)^  
      是否可以用替代的语法替代tags }h/7M  
Ed;!A(64r  
struts.ui.templateDir E.N>,N  
      The directory containing UI templates 1)~9Eku6K  
      UI templates的目录夹 o&k,aCQC  
e{4e<hd  
struts.ui.theme RxV " ,  
      The default UI template theme WHjJR   
      默认的UI template主题 Ln+.$ C  
.!2 u#A  
struts.url.http.port /IX555/dR1  
      The HTTP port used by Struts URLs i(e=  
      设置http端口 Xfb-< Q0A  
Wy1.nn[  
struts.url.https.port `x#}co  
      The HTTPS port used by Struts URLs Y)(w&E>1  
      设置https端口 0[uOKFgE  
zw5Ol%JF  
struts.url.includeParams |Q%nnN  
      The default includeParams method to generate Struts URLs F$|d#ny  
      在url中产生 默认的includeParams u]9 #d^%V  
/UR;,ts  
V!@6Nv  
struts.velocity.configfile |XQ\c.A  
      The Velocity configuration file path S5L0[SZ$!  
      velocity配置文件路径 6I _4{  
sQr M"i0Y>  
struts.velocity.contexts U: <  
      List of Velocity context names C,vc aC?  
      velocity的context列表 !&jgcw/E  
(G%gVk]  
@<yc .>  
struts.velocity.manager.classname Yf)|ws?!  
      org.apache.struts2.views.velocity.VelocityManager implementation class <L ( =  
      org.apache.struts2.views.velocity.VelocityManager接口名 XfK.Fj~-  
lT!$\E$1   
struts.velocity.toolboxlocation ]l7\Zq  
      The location of the Velocity toolbox Zi@+T  
      velocity工具盒的位置  Is6 _  
struts.xslt.nocache T1!Gr!=  
      Whether or not XSLT templates should not be cached `$a gM@"^  
      是否XSLT模版应该被缓存 yxWMatZ2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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