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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9q0,K" x)  
C Sk  
struts.action.extension >{LJ#Dc6  
      The URL extension to use to determine if the request is meant for a Struts action m|?" k38  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5@%=LPV  
4~pO>6P   
struts.configuration /kviO@jm4(  
      The org.apache.struts2.config.Configuration implementation class 8 *(W |J  
        org.apache.struts2.config.Configuration接口名 R2H\;N  
wHN` - 5%  
struts.configuration.files onJ[&f  
      A list of configuration files automatically loaded by Struts M'!!EQo  
      struts自动加载的一个配置文件列表 hc p'+:  
sVm'9k  
struts.configuration.xml.reload u):Rw  
      Whether to reload the XML configuration or not 1rm$@L  
      是否加载xml配置(true,false) omUl2C  
;ZqD60%\  
struts.continuations.package CsST-qxg  
      The package containing actions that use Rife continuations ][$$  =  
      含有actions的完整连续的package名称 8`LLHX1|  
!f]3Riw-=,  
struts.custom.i18n.resources J\,e/{,X  
      Location of additional localization properties files to load hoD[wAC  
      加载附加的国际化属性文件(不包含.properties后缀) 5-QvQ&eH.  
'$L= sH5  
struts.custom.properties fY+ .#V  
      Location of additional configuration properties files to load px(1Ppb9  
      加载附加的配置文件的位置 |#k hwH  
bl=*3qB  
MgK(gL/&[  
struts.devMode Dil4ut- $  
      Whether Struts is in development mode or not HjF'~n  
      是否为struts开发模式 NYV0<z@M2M  
GL0':LsZ  
struts.dispatcher.parametersWorkaround { G>+.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y @ ,e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ])ZJ1QL1  
h|/*yTuN.y  
struts.enable.DynamicMethodInvocation VT~ ^:-]  
      Allows one to disable dynamic method invocation from the URL cB])A57<  
        允许动态方法调用 QX~72X=(  
Hd@T8 D*A  
struts.freemarker.manager.classname cJE>;a  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Xk fUPbU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 f.xSr!  
r@V(w`  
struts.i18n.encoding qaSv]k.  
      The encoding to use for localization messages 1p5q}">z  
      国际化信息内码 93p9?4;n-  
[.#$hOsNR  
struts.i18n.reload 'w$we6f  
      Whether the localization messages should automatically be reloaded b8-^wJH!  
      是否国际化信息自动加载 1nM?>j%k  
j~j V`>A  
struts.locale 1~ZHC[ `  
      The default locale for the Struts application By"ul:.D  
      默认的国际化地区信息 H(ftOd.y  
HvfTC<+H  
struts.mapper.class f*H}eu3/j  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |c+N)F B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nv|y@! (  
<h>fip3o  
struts.multipart.maxSize "kuBjj2  
      The maximize size of a multipart request (file upload) W;x LuKIG  
      multipart请求信息的最大尺寸(文件上传用) kd2'-9  
[z t&8g  
struts.multipart.parser D `3yv R  
      The org.apache.struts2.dispatcher.multipart. &(U=O?r7  
      MultiPartRequest parser implementation for a multipart request (file upload) Ita!07  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M(f*hOG{Y  
7^}Z%c  
ea;c\84_N  
struts.multipart.saveDir Tf]VcEF  
      The directory to use for storing uploaded files X/D9%[{&  
      设置存储上传文件的目录夹 Dg4^ C  
bX1! fa  
struts.objectFactory #[ rFep  
      The com.opensymphony.xwork2.ObjectFactory implementation class u6&Ixi/s'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j:<T<8 .o  
sU3V)7"  
struts.objectFactory.spring.autoWire Yy:sZJ  
      Whether Spring should autoWire or not = |zyi|  
      是否自动绑定Spring us *l+Jw,m  
K?<Odw'k  
struts.objectFactory.spring.useClassCache ov.rHVeI  
      Whether Spring should use its class cache or not L7'X7WYf&  
      是否spring应该使用自身的cache ]V7hl#VO  
*>H'@gS  
struts.objectTypeDeterminer 4>eg@sN  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8k}CR)3@C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \A"a>e  
vb2O4%7tw  
struts.serve.static.browserCache |"&4"nwa  
If static content served by the Struts filter should set browser caching header properties or not .:Xe*Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N@ tb^M  
r,@|Snv)  
struts.serve.static t#Yh!L6>  
      Whether the Struts filter should serve static content or not {.'g!{SHp  
      是否struts过滤器应该提供静态内容 E*]L]vR  
:EAfD(D{)  
struts.tag.altSyntax B ~bU7.Cd  
      Whether to use the alterative syntax for the tags or not 3gXUfv2ID  
      是否可以用替代的语法替代tags &%51jM<  
A)0m~+?{J  
struts.ui.templateDir G`K7P`m  
      The directory containing UI templates KUV{]?'  
      UI templates的目录夹 dKG<"  
j>=".^J  
struts.ui.theme (.t:sn"P  
      The default UI template theme `l@t3/  
      默认的UI template主题 h.%Qn vL  
: .eS|  
struts.url.http.port *J- jr8&  
      The HTTP port used by Struts URLs #!<s& f|O  
      设置http端口 A}}t86T  
BbhdGFG1  
struts.url.https.port 6iS+3+  
      The HTTPS port used by Struts URLs gU$3Y#R  
      设置https端口 Z.19v>-c  
SaScP  
struts.url.includeParams rV{e[fGd  
      The default includeParams method to generate Struts URLs N1+]3kt ~  
      在url中产生 默认的includeParams N1t:i? q&  
je0 ?iovY  
pfIvBU?  
struts.velocity.configfile KWkT 9[H  
      The Velocity configuration file path ~#xRoBy3  
      velocity配置文件路径 RozsRt;i  
!T1i_  
struts.velocity.contexts $ :P~21,  
      List of Velocity context names cA^7}}?e  
      velocity的context列表 XBBRB<l)  
TMs\#  
[r~l O@  
struts.velocity.manager.classname 4iPg_+  
      org.apache.struts2.views.velocity.VelocityManager implementation class T{Q&}`D)r  
      org.apache.struts2.views.velocity.VelocityManager接口名 <i?-x&Q?=  
Sa(r l^qZ2  
struts.velocity.toolboxlocation 7tnzgtal  
      The location of the Velocity toolbox `fHiY.-  
      velocity工具盒的位置 :"^$7  
struts.xslt.nocache |8rJqtf +&  
      Whether or not XSLT templates should not be cached Y`RfE  
      是否XSLT模版应该被缓存 F:U_gW?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五