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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 a%JuC2  
s<<ooycBrQ  
struts.action.extension - M4J JV(  
      The URL extension to use to determine if the request is meant for a Struts action dO! kk"qn  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T $>&[f$6  
?]_$Dcmx  
struts.configuration iL-(O;n  
      The org.apache.struts2.config.Configuration implementation class vc;$-v$&  
        org.apache.struts2.config.Configuration接口名 KQ!8ks]  
)Q&(f/LT  
struts.configuration.files rr],DGg+B]  
      A list of configuration files automatically loaded by Struts /~%&vpF-L  
      struts自动加载的一个配置文件列表 6H.0vN&  
wDal5GJp  
struts.configuration.xml.reload }HYbS8'  
      Whether to reload the XML configuration or not 2lH&  
      是否加载xml配置(true,false) nS }<-s  
Fo5FNNiID  
struts.continuations.package {HltvO%8  
      The package containing actions that use Rife continuations XpB_N{v9w  
      含有actions的完整连续的package名称 5H<m$K4z  
6 $4[gcL'  
struts.custom.i18n.resources y}" O U  
      Location of additional localization properties files to load l*Gvf_UH  
      加载附加的国际化属性文件(不包含.properties后缀) M2,l7  
-A^_{4X  
struts.custom.properties %S960  
      Location of additional configuration properties files to load t&C1Oo}=3  
      加载附加的配置文件的位置 _7Ju  
] vHF~|/-  
> PRFWO  
struts.devMode JE "x  
      Whether Struts is in development mode or not q$d>(vb q  
      是否为struts开发模式 AUG#_HE]k  
EIP /V  
struts.dispatcher.parametersWorkaround t6 "%3#s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X:"i4i[}{9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Cn34b_Sbd  
|.: q  
struts.enable.DynamicMethodInvocation ^eY!U%.  
      Allows one to disable dynamic method invocation from the URL v!~fs)cdE|  
        允许动态方法调用 MS~(D.@ZS  
!GjQPAW  
struts.freemarker.manager.classname 'x#~'v*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f643#1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {I%cx Q#y  
? =Z?6fw  
struts.i18n.encoding J5K^^RUR  
      The encoding to use for localization messages @1roe G  
      国际化信息内码 pK>N-/?a  
XJ;57n-?  
struts.i18n.reload X]TG<r  
      Whether the localization messages should automatically be reloaded Tv,[DI +  
      是否国际化信息自动加载 O3,jg |,  
TQF| a\M'  
struts.locale EeE7#$l  
      The default locale for the Struts application D0-3eV -  
      默认的国际化地区信息 z#wkiCRYm  
T4Uev*A  
struts.mapper.class <44G]eb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hD 82tr  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 oWT3apGO  
n:?a$Ldgm  
struts.multipart.maxSize Z"xvh81P  
      The maximize size of a multipart request (file upload) r(TIw%L$  
      multipart请求信息的最大尺寸(文件上传用) =4YhG;%  
A:%`wX}  
struts.multipart.parser YoNDf39  
      The org.apache.struts2.dispatcher.multipart. Jq-]7N%k/  
      MultiPartRequest parser implementation for a multipart request (file upload) \;B iq`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y'q$ |  
AO4U}?  
1v2 7;Q<+Q  
struts.multipart.saveDir k(nW#*N_  
      The directory to use for storing uploaded files `Y$4 H,8L  
      设置存储上传文件的目录夹 l_d5oAh   
_ ]ip ajT  
struts.objectFactory  +SU8 +w  
      The com.opensymphony.xwork2.ObjectFactory implementation class iOghb*aW  
      com.opensymphony.xwork2.ObjectFactory接口(spring) p?OoC  
Dw.J2>uj  
struts.objectFactory.spring.autoWire k1~&x$G  
      Whether Spring should autoWire or not jvL[ JI,b  
      是否自动绑定Spring Ynj,pl  
TF\C@4Z  
struts.objectFactory.spring.useClassCache S9y}  
      Whether Spring should use its class cache or not b2Fe<~S{  
      是否spring应该使用自身的cache K($Npuu]  
6<QQ@5_  
struts.objectTypeDeterminer 4xje$/_d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *w\W/Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -G rE} L  
*L^,|   
struts.serve.static.browserCache .|70;  
If static content served by the Struts filter should set browser caching header properties or not |0b`fOS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i[3'ec3  
kgP0x-Ap  
struts.serve.static aB&&YlR=n<  
      Whether the Struts filter should serve static content or not f}P3O3Yv&  
      是否struts过滤器应该提供静态内容 !*N@ZL&X  
Bnxm HGP#&  
struts.tag.altSyntax F^;ez/Gl  
      Whether to use the alterative syntax for the tags or not V b?oJhR  
      是否可以用替代的语法替代tags ^\=`edN0  
^jZbo {  
struts.ui.templateDir m<Dy<((_I  
      The directory containing UI templates FTUv IbT  
      UI templates的目录夹 |/{=ww8|  
SY\ gXO8k  
struts.ui.theme ",; H`V  
      The default UI template theme ~B?y{  
      默认的UI template主题 8cIKvHx  
0S!K{xyR  
struts.url.http.port ,#9PxwrO  
      The HTTP port used by Struts URLs $%#!bV  
      设置http端口 (uE!+2C  
]{@-HTt  
struts.url.https.port uy$e?{Jf  
      The HTTPS port used by Struts URLs YU'E@t5  
      设置https端口 3F2w-+L  
?CPahU  
struts.url.includeParams bROLOf4S  
      The default includeParams method to generate Struts URLs {JMVV_}n  
      在url中产生 默认的includeParams 5U$0F$BBp  
]N?kG`[  
^u ~Q/ 4  
struts.velocity.configfile 0aB;p7~&  
      The Velocity configuration file path 9WyhZoPD*  
      velocity配置文件路径 W^l-Y %a/o  
oZ|\vA%4^  
struts.velocity.contexts oap4rHk}  
      List of Velocity context names `d}2O%P  
      velocity的context列表 ukyZes8o K  
/*mI<[xb  
/h3RmUy   
struts.velocity.manager.classname h S&R(m  
      org.apache.struts2.views.velocity.VelocityManager implementation class + cN8Y}V  
      org.apache.struts2.views.velocity.VelocityManager接口名 1mG-}  
2P0*NQ   
struts.velocity.toolboxlocation vl:KF7:#m  
      The location of the Velocity toolbox @\#td5'  
      velocity工具盒的位置 /PIcqg  
struts.xslt.nocache Gyc]?m   
      Whether or not XSLT templates should not be cached (f"4,b^]  
      是否XSLT模版应该被缓存 yY q,*<G  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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