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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $m>( kd1  
jMWTNZ  
struts.action.extension OvdBUcp[  
      The URL extension to use to determine if the request is meant for a Struts action n}%_H4t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *>iJ=H  
1\-lAk!   
struts.configuration ~>]Ie~E: (  
      The org.apache.struts2.config.Configuration implementation class MAqETjB  
        org.apache.struts2.config.Configuration接口名 z 4. |N  
WZA1nzRc  
struts.configuration.files 9%k4Ic%P  
      A list of configuration files automatically loaded by Struts B$ =1@  
      struts自动加载的一个配置文件列表 !N:w?zsp  
T}p|_)&y  
struts.configuration.xml.reload `h'Ab63  
      Whether to reload the XML configuration or not M9Z9s11{H  
      是否加载xml配置(true,false) V[44aN  
ctgH/SU  
struts.continuations.package :'H}b*VWx  
      The package containing actions that use Rife continuations ieEt C,U  
      含有actions的完整连续的package名称 /$8& r  
qsN}KgTjg  
struts.custom.i18n.resources I`{=[.c  
      Location of additional localization properties files to load @uxg;dyI~  
      加载附加的国际化属性文件(不包含.properties后缀) ' z^v}~  
T/L\|_:'  
struts.custom.properties 6jal5<H  
      Location of additional configuration properties files to load +ZwTi!W  
      加载附加的配置文件的位置 BH^cR<<j  
N:^4On VR  
T2T?)_f /  
struts.devMode  Mv%B#J  
      Whether Struts is in development mode or not |<YF.7r;  
      是否为struts开发模式 ,E(M<n|.  
E&vCzQ  
struts.dispatcher.parametersWorkaround jN+2+P%OL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2JHF*zvO-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) + L 5  
3z 5"Ckzb  
struts.enable.DynamicMethodInvocation S@L%X<Vm  
      Allows one to disable dynamic method invocation from the URL =:RNpi,  
        允许动态方法调用 \iwUsv>SB  
G~lnX^46"  
struts.freemarker.manager.classname 9 Xh<vh8&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e+MsFXnB8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 uvD*]zX  
G#^6H]`[J:  
struts.i18n.encoding RCGpZyl  
      The encoding to use for localization messages MIv,$  
      国际化信息内码 t1l4mdp  
3A b_Z  
struts.i18n.reload No/D"S#  
      Whether the localization messages should automatically be reloaded i;+<5_   
      是否国际化信息自动加载 }Oy/F  
0?g&<q  
struts.locale aOW~! f/M  
      The default locale for the Struts application OdJ=4 x>  
      默认的国际化地区信息 n22OPvp  
PurY_  
struts.mapper.class M<)Vtn  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &4F iYZ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <daBP[  
?rwHkPJ{*  
struts.multipart.maxSize 2f0_Xw_V_  
      The maximize size of a multipart request (file upload) e]d\S] 5  
      multipart请求信息的最大尺寸(文件上传用) 52Q~` t7F  
1w?DSHe  
struts.multipart.parser /%^^hr  
      The org.apache.struts2.dispatcher.multipart. Luh*+l-nO  
      MultiPartRequest parser implementation for a multipart request (file upload) y{qKb:~wv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  2Y9@[  
g>Kh? (  
Il s^t  
struts.multipart.saveDir ) ]]PhGX~  
      The directory to use for storing uploaded files }D#[yE,=\  
      设置存储上传文件的目录夹 (<5&<JC{  
V^p XbDRl  
struts.objectFactory yCye3z.  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1A 9Gf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |G>Lud  
o7 X5{  
struts.objectFactory.spring.autoWire W#[3a4%m  
      Whether Spring should autoWire or not Q92hI"  
      是否自动绑定Spring FkIT/H  
+QFY. >KH  
struts.objectFactory.spring.useClassCache A&;Pt/#'  
      Whether Spring should use its class cache or not so\8.(7n  
      是否spring应该使用自身的cache X1~ B  
qgLj^{  
struts.objectTypeDeterminer _M}}H3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fyt`$y_E[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Uv /?/;si  
ig,v6lqhM  
struts.serve.static.browserCache ,1-#Z"~c  
If static content served by the Struts filter should set browser caching header properties or not c`G~.paY|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |h1 Y3  
0--0+?  
struts.serve.static C")NN s =  
      Whether the Struts filter should serve static content or not RjCEo4b-.H  
      是否struts过滤器应该提供静态内容 O0#9D'{  
be{tyV  
struts.tag.altSyntax g JMv  
      Whether to use the alterative syntax for the tags or not ;*EPAC+  
      是否可以用替代的语法替代tags 'uA$$~1  
6P*2Kg`  
struts.ui.templateDir ,;wc$-Z!8  
      The directory containing UI templates Lv?e[GA  
      UI templates的目录夹 'gwh:8Xc  
`]:&h'  
struts.ui.theme [ 6t!}q  
      The default UI template theme B&)o:P7h  
      默认的UI template主题 v5o@ls  
,=kQJ|  
struts.url.http.port WKPuIE:  
      The HTTP port used by Struts URLs q+-Bl  
      设置http端口 DN;An0 {MK  
u0& dDZ  
struts.url.https.port )D q/fW  
      The HTTPS port used by Struts URLs {n>W8sN<  
      设置https端口 0<T/P+|  
i.`RQZ$,/  
struts.url.includeParams 7 V+rQ  
      The default includeParams method to generate Struts URLs ()v{HB i  
      在url中产生 默认的includeParams Xz, sL  
c,I|O' &k  
*aF<#m v  
struts.velocity.configfile .AgD`wba  
      The Velocity configuration file path f}>S"fFI  
      velocity配置文件路径 ;eeu 9_$  
M%8:  
struts.velocity.contexts #I.Wmfz  
      List of Velocity context names  /P/S0  
      velocity的context列表 " Q~-C|x  
p$cSES>r:  
UE9r1g`z  
struts.velocity.manager.classname U0:tE>3`  
      org.apache.struts2.views.velocity.VelocityManager implementation class )cy_d!  
      org.apache.struts2.views.velocity.VelocityManager接口名 Qm\VZ<6/5  
h[O!kwE  
struts.velocity.toolboxlocation t~0}Emgp<(  
      The location of the Velocity toolbox %r*zd0*<n1  
      velocity工具盒的位置 'j+J?Y^  
struts.xslt.nocache LAwl9YnG:  
      Whether or not XSLT templates should not be cached jpCQ2XD:  
      是否XSLT模版应该被缓存 M/,jHG8v  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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