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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f+x ;:  
=dzWmL<~8  
struts.action.extension Nxk(mec"  
      The URL extension to use to determine if the request is meant for a Struts action $6h*l T<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7 [d ?  
~_>cM c  
struts.configuration M;jcUX_{  
      The org.apache.struts2.config.Configuration implementation class m%QSapV  
        org.apache.struts2.config.Configuration接口名 B=n[)"5fBO  
SV.z>p  
struts.configuration.files 5u$D/* Eb  
      A list of configuration files automatically loaded by Struts n2f6 p<8A  
      struts自动加载的一个配置文件列表 #HAC*n  
/_t|Dry015  
struts.configuration.xml.reload $*f?&U]k  
      Whether to reload the XML configuration or not 0[T,O,y  
      是否加载xml配置(true,false) ]Gv!M?:  
; s|w{.<:  
struts.continuations.package +G*JrwJ&=  
      The package containing actions that use Rife continuations ""% A'TZ  
      含有actions的完整连续的package名称 3qaMO#{M  
.Z\Q4x#!Z  
struts.custom.i18n.resources YoKs:e2/:  
      Location of additional localization properties files to load $f$|6jM  
      加载附加的国际化属性文件(不包含.properties后缀) sy/nESZs  
sOBu7!G%  
struts.custom.properties f>polxB%N  
      Location of additional configuration properties files to load pOT7;-#n  
      加载附加的配置文件的位置 ' cBBt  
CnISe^h  
uw AwWgl  
struts.devMode @1-F^G%p8  
      Whether Struts is in development mode or not z6*<V5<7  
      是否为struts开发模式 3j Z6kfj  
Y32 "N[yw  
struts.dispatcher.parametersWorkaround R=]d%L8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M.q=p[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a5jL7a?6]  
-WJ?:?'  
struts.enable.DynamicMethodInvocation F$V/K&&W  
      Allows one to disable dynamic method invocation from the URL !do?~$Og  
        允许动态方法调用 hK|j6x f.o  
#%lo;W~IY  
struts.freemarker.manager.classname +4))/` DA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class o0bM=njok  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5!X1G8h)uy  
O|kOI?f  
struts.i18n.encoding T,%j\0  
      The encoding to use for localization messages K`g7$r)U[  
      国际化信息内码 3g~'5Ao  
Cbm\h/PXl  
struts.i18n.reload `aC){&AP(  
      Whether the localization messages should automatically be reloaded . pzC5Ah  
      是否国际化信息自动加载 #,d I$gY  
c;2#,m^  
struts.locale vBcq_sbo  
      The default locale for the Struts application Pe;Y1Qq>>  
      默认的国际化地区信息 3qL>-%):*  
vy9 w$ls  
struts.mapper.class jszK7$]^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [ic870_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V)(R]BK{  
AlXNg!j;5K  
struts.multipart.maxSize J aTp} #  
      The maximize size of a multipart request (file upload) 457\&  
      multipart请求信息的最大尺寸(文件上传用) ` Ag{)  
**3 z;58i  
struts.multipart.parser 'Ft0Ry<OL  
      The org.apache.struts2.dispatcher.multipart. vw,rF`LjZ  
      MultiPartRequest parser implementation for a multipart request (file upload) p Z: F:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) TS2ZF{m  
Uu 8,@W+  
#Lv2Zoi>G  
struts.multipart.saveDir 4db(<h  
      The directory to use for storing uploaded files *z*uEcitW  
      设置存储上传文件的目录夹 c2t=_aAIPQ  
j>-gO,v, y  
struts.objectFactory 4%nE*H%  
      The com.opensymphony.xwork2.ObjectFactory implementation class F8:vDv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Zwz&rIQpT  
",7Q   
struts.objectFactory.spring.autoWire *!s;"U  
      Whether Spring should autoWire or not i.D3'l  
      是否自动绑定Spring aI^/X {d  
}G4 z tiuG  
struts.objectFactory.spring.useClassCache *t[. =_v  
      Whether Spring should use its class cache or not T&4qw(\G  
      是否spring应该使用自身的cache Ez|oN,  
(3J$>Na  
struts.objectTypeDeterminer Szbb_i{_ `  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }J">}j]/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tg]x0#@s  
26&'X+n&  
struts.serve.static.browserCache l&iq5}[n&  
If static content served by the Struts filter should set browser caching header properties or not s7Ub@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6f')6X'x  
"j;4 k.`h  
struts.serve.static +gtrt^:]l  
      Whether the Struts filter should serve static content or not <:SZAAoIV  
      是否struts过滤器应该提供静态内容 ={K`4BD  
b2b^1{@h;v  
struts.tag.altSyntax o(DOQGl  
      Whether to use the alterative syntax for the tags or not h 3]wL.V  
      是否可以用替代的语法替代tags I)A`)5="5  
n2)q}_d  
struts.ui.templateDir 3s/H2f z  
      The directory containing UI templates F a'k0/_j  
      UI templates的目录夹 T!Hb{Cg*  
[0"'T[ok  
struts.ui.theme Llr>9(|  
      The default UI template theme +qh[N@F  
      默认的UI template主题 Ut2y;2)a  
H,Z;=N_  
struts.url.http.port rE}%KsZ  
      The HTTP port used by Struts URLs 1pArZzm>  
      设置http端口 ZovW0Q)m  
4"gM<z  
struts.url.https.port {}3${  
      The HTTPS port used by Struts URLs !O`(JSoG  
      设置https端口 dZi"$ g  
0T Q$C-%  
struts.url.includeParams (h >-&.`&  
      The default includeParams method to generate Struts URLs cSXwYZDx?  
      在url中产生 默认的includeParams q Y#n'&  
?>I;34tL(  
I 'V4D[H5  
struts.velocity.configfile 0NS<?p~_S  
      The Velocity configuration file path gb H<]?  
      velocity配置文件路径 xlhG,bb7  
$GlWf  
struts.velocity.contexts b )B? F  
      List of Velocity context names {q"OM*L(  
      velocity的context列表 "?V0$-DR  
i_j[?.?X}  
&YF^j2  
struts.velocity.manager.classname &*+'>UEe5  
      org.apache.struts2.views.velocity.VelocityManager implementation class &l!4mxwr`  
      org.apache.struts2.views.velocity.VelocityManager接口名 <YdE1{fm  
z^'gx@YD*v  
struts.velocity.toolboxlocation S:h{2{  
      The location of the Velocity toolbox ~`aa5;Ab_  
      velocity工具盒的位置 .Y&)4+ckL  
struts.xslt.nocache : Zlwp6  
      Whether or not XSLT templates should not be cached ;M)QwF1  
      是否XSLT模版应该被缓存 z6*X%6,8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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