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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7x''V5*j  
oYmLJzCf  
struts.action.extension i_{b *o_an  
      The URL extension to use to determine if the request is meant for a Struts action j3Ps<<eA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E[a|.lnV  
igO,Ge8}  
struts.configuration ZnNl3MKV  
      The org.apache.struts2.config.Configuration implementation class 1m4Xl%KS>  
        org.apache.struts2.config.Configuration接口名 t3 rQ5m  
;r3Xh)k;  
struts.configuration.files <$@*'i^7Ez  
      A list of configuration files automatically loaded by Struts U][\|8i  
      struts自动加载的一个配置文件列表 7^FJ+gN8b  
!v\ _<8  
struts.configuration.xml.reload ),rd7GB>  
      Whether to reload the XML configuration or not w!--K9  
      是否加载xml配置(true,false) :406Oa  
WlHK  
struts.continuations.package X:kr$  
      The package containing actions that use Rife continuations > }fw7X  
      含有actions的完整连续的package名称 Bm$(4  
_j sJS<21  
struts.custom.i18n.resources x_oiPu.V  
      Location of additional localization properties files to load ?B['8ju  
      加载附加的国际化属性文件(不包含.properties后缀) ~cH3RFV  
5DS'22GW`  
struts.custom.properties htu(R$GSM  
      Location of additional configuration properties files to load 8<:.DFq  
      加载附加的配置文件的位置 J e"~/+  
PC)aVr?@@  
c`O(||UZT  
struts.devMode krMO<(x+  
      Whether Struts is in development mode or not Ba#wW E  
      是否为struts开发模式 vw)lD9-"  
k];NTALOG  
struts.dispatcher.parametersWorkaround |w+N(wcJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q4h6K 7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @<ILF69b  
k0@*Up3{7  
struts.enable.DynamicMethodInvocation BN%;AQV  
      Allows one to disable dynamic method invocation from the URL [Ol~}@gV  
        允许动态方法调用 YmPNaL  
/Bs42uJ3  
struts.freemarker.manager.classname %U?1Gf e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G7N Rpr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 []l2 `fS#  
.C\##   
struts.i18n.encoding *Y`c.n"  
      The encoding to use for localization messages vhd+A  
      国际化信息内码 o"j$*o=  
(~N[j;W,_W  
struts.i18n.reload ~-2Gx HO`  
      Whether the localization messages should automatically be reloaded L0X/  
      是否国际化信息自动加载 %4,v2K  
#5X535'ze  
struts.locale gZ@z}CIw'  
      The default locale for the Struts application N%Uk/ c'  
      默认的国际化地区信息 n^iq?u  
y Q-{ CJ,  
struts.mapper.class rsn^Y C  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LTw.w:"J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 d;hv_h  
s2`Qh9R  
struts.multipart.maxSize H&So Vi_V  
      The maximize size of a multipart request (file upload) o2rL&  
      multipart请求信息的最大尺寸(文件上传用) S!8gy,7<J  
G$A=Tu~  
struts.multipart.parser 0sfb$3y  
      The org.apache.struts2.dispatcher.multipart. zVvL!  
      MultiPartRequest parser implementation for a multipart request (file upload) KdXqW0nm  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wV^c@.ga  
0vZ49}mb)  
S LU$DW;t  
struts.multipart.saveDir CK9FAuU  
      The directory to use for storing uploaded files G\(cnqHk  
      设置存储上传文件的目录夹 7m4*dBTr  
%:}o\ _w  
struts.objectFactory 3 =-V!E  
      The com.opensymphony.xwork2.ObjectFactory implementation class Mq jdW   
      com.opensymphony.xwork2.ObjectFactory接口(spring) L%HFsuIO-  
@p<tJR"M  
struts.objectFactory.spring.autoWire {Jc.49  
      Whether Spring should autoWire or not Om_- #S  
      是否自动绑定Spring ; <l#k7/  
<Uc?#;% Y}  
struts.objectFactory.spring.useClassCache fM`.v+  
      Whether Spring should use its class cache or not  P0 9f  
      是否spring应该使用自身的cache 2rxz<ck(  
Q<>b3X>O  
struts.objectTypeDeterminer G| b I$   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Sjp ]TWj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \b*z<Odv  
"A]#KTP  
struts.serve.static.browserCache yJ4ZB/ZQ  
If static content served by the Struts filter should set browser caching header properties or not L*FQ`:lZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y.$Ae1a=  
8/k"A-m  
struts.serve.static t76B0L{  
      Whether the Struts filter should serve static content or not ^X;p8uBo  
      是否struts过滤器应该提供静态内容  k`w /  
G@zJf)u}  
struts.tag.altSyntax Xp[xO0  
      Whether to use the alterative syntax for the tags or not Z;y(D_;_  
      是否可以用替代的语法替代tags HCw,bRxm  
NXX/JJ+w  
struts.ui.templateDir z/,&w_8,:  
      The directory containing UI templates L+8{%\UPd  
      UI templates的目录夹 SW}?y%~  
`\$EPUM  
struts.ui.theme IU;a$  
      The default UI template theme \V#fl  
      默认的UI template主题 oA?EJ~%  
|:]} u|O  
struts.url.http.port m5v IS  
      The HTTP port used by Struts URLs ;;|.qgxc~  
      设置http端口 RPdFLC/  
:%>)S  
struts.url.https.port 3 sD|R{  
      The HTTPS port used by Struts URLs 1:!H`*DU&  
      设置https端口 *yv@B!r  
Bo$dIn2_  
struts.url.includeParams rK\9#[?x  
      The default includeParams method to generate Struts URLs F+ %l= fs  
      在url中产生 默认的includeParams :DrF)1C  
C55Av%-=  
xp}M5|   
struts.velocity.configfile wJC F"e  
      The Velocity configuration file path erh ez  
      velocity配置文件路径 &z#`Qa3NI  
U$ 46=F|  
struts.velocity.contexts uUb`Fy9  
      List of Velocity context names x\oSD1t,  
      velocity的context列表 ;!A=YXB  
O(6j:XD  
Y/sZPG}4  
struts.velocity.manager.classname nH<#MG BS  
      org.apache.struts2.views.velocity.VelocityManager implementation class U!(es0rX  
      org.apache.struts2.views.velocity.VelocityManager接口名 t.#ara{  
U C_$5~8p  
struts.velocity.toolboxlocation GvZ[3GT  
      The location of the Velocity toolbox {isL<  
      velocity工具盒的位置 !;;7:!)P  
struts.xslt.nocache < 0YoZSNGj  
      Whether or not XSLT templates should not be cached f] _'icP  
      是否XSLT模版应该被缓存 0xY</S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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