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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZQlja  
j;WZ[g#t  
struts.action.extension  ") q  
      The URL extension to use to determine if the request is meant for a Struts action dmgoVF_qR  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G\@ uj>Z  
 <]2X~+v  
struts.configuration 96fbMP+7R  
      The org.apache.struts2.config.Configuration implementation class l c?9B  
        org.apache.struts2.config.Configuration接口名 7y""#-}V[r  
)! Jo7SR  
struts.configuration.files yM`J+tq  
      A list of configuration files automatically loaded by Struts ]4^9Tw6 _b  
      struts自动加载的一个配置文件列表 ds}:t.3}6  
]+u`E  
struts.configuration.xml.reload g\[?U9qN  
      Whether to reload the XML configuration or not ABuK`(f.  
      是否加载xml配置(true,false) R7+3$F5B  
2? 9*V19yu  
struts.continuations.package LZG?M|(6D  
      The package containing actions that use Rife continuations 3MPmLV#f  
      含有actions的完整连续的package名称 k)U9 %Pr  
V^sZXdDNL  
struts.custom.i18n.resources dfAnOF"-  
      Location of additional localization properties files to load P-[6'mw`  
      加载附加的国际化属性文件(不包含.properties后缀) "j#;MOK  
j *B,b4  
struts.custom.properties i|?EgGFG  
      Location of additional configuration properties files to load ,UNCBnv1  
      加载附加的配置文件的位置 FZf{kWH  
}TI"j{(QJ  
E4idEQ}H  
struts.devMode 2K[Y|.u8>q  
      Whether Struts is in development mode or not U$-Gc[=|  
      是否为struts开发模式 Q"itV&d,  
Cak `}J 2  
struts.dispatcher.parametersWorkaround %#kml{I   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *DfwTbg|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) BC.~wNz6  
R~TzZ(Ah]  
struts.enable.DynamicMethodInvocation )(V|d$n  
      Allows one to disable dynamic method invocation from the URL lKKg n{R  
        允许动态方法调用 "jS @ug  
" iAwD8-  
struts.freemarker.manager.classname }22h)){n#Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V9  Z  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 W/e6O??O  
~U"puEftbs  
struts.i18n.encoding G(joamfM  
      The encoding to use for localization messages 'b1k0 9'  
      国际化信息内码 StZ GKY[Q  
QfPsF@+-`7  
struts.i18n.reload P`^3-X/  
      Whether the localization messages should automatically be reloaded Z'=:Bo{  
      是否国际化信息自动加载 PggjuPPh  
)zn`qaHK@e  
struts.locale Lmh4ezrdH  
      The default locale for the Struts application "Bn8WT2?  
      默认的国际化地区信息 CNU,\>J@$  
nbd-f6F6  
struts.mapper.class UaA1HZ1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w1>uD]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X$mCn#8m  
QAN :  
struts.multipart.maxSize `_"F7Czn  
      The maximize size of a multipart request (file upload) .l1uqCuB  
      multipart请求信息的最大尺寸(文件上传用) re}_+sv U  
AIN Fv;  
struts.multipart.parser EGJ d:>k  
      The org.apache.struts2.dispatcher.multipart. f0!i<9<  
      MultiPartRequest parser implementation for a multipart request (file upload) b&]_5 GGc  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r2!\Ts5v  
)c432).Z  
9W5~I9%  
struts.multipart.saveDir 5=cS5q@  
      The directory to use for storing uploaded files L F<{/c9,  
      设置存储上传文件的目录夹 vT1StOx<V  
SrVo0$5)  
struts.objectFactory =*2_B~`  
      The com.opensymphony.xwork2.ObjectFactory implementation class +hiskV@v  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^W8kt  
}(MI}o}  
struts.objectFactory.spring.autoWire qK=uSL o\+  
      Whether Spring should autoWire or not  Q6qIx=c4  
      是否自动绑定Spring 4zo^ b0v  
GQ -fEIi{  
struts.objectFactory.spring.useClassCache kn 5X:@{  
      Whether Spring should use its class cache or not gdr"34%vbM  
      是否spring应该使用自身的cache ^\"@r%|  
,/%@:Fh4  
struts.objectTypeDeterminer SHcFnxEAIH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cJ^{iOQ+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,ICn]Pdz@  
2?c##Izn  
struts.serve.static.browserCache ]:"<if gp$  
If static content served by the Struts filter should set browser caching header properties or not LZR x>q^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .R";2f3  
~9ZW~z'  
struts.serve.static z.vE RP56  
      Whether the Struts filter should serve static content or not Q vc$D{z  
      是否struts过滤器应该提供静态内容 rg5ZxN|g  
=(aA`:Nl  
struts.tag.altSyntax AT{rg/oSf  
      Whether to use the alterative syntax for the tags or not >v?&&FhHK<  
      是否可以用替代的语法替代tags nXRT%[o&  
\5 S^~(iL  
struts.ui.templateDir c;6[lv  
      The directory containing UI templates Nv[MU@Tv  
      UI templates的目录夹 s^\ *jZ6  
A.YXK%A%  
struts.ui.theme E&z`BPd  
      The default UI template theme &hnI0m=X  
      默认的UI template主题 @yImR+^.7  
Sdo mG?;kV  
struts.url.http.port NoAgZ{))  
      The HTTP port used by Struts URLs > a?K ![R  
      设置http端口 y]U]b G{  
gc6Zy|^V4`  
struts.url.https.port 4>t'4p6{  
      The HTTPS port used by Struts URLs yw@kh^L  
      设置https端口 NNgpDL*  
* a ?qV  
struts.url.includeParams |^09ny|  
      The default includeParams method to generate Struts URLs [aS<u`/g|  
      在url中产生 默认的includeParams R]LuZN  
]Y.GU7`  
.Ld{QPa  
struts.velocity.configfile _GbwyfA n#  
      The Velocity configuration file path ;07>ZH%  
      velocity配置文件路径 T1~G {@"  
ATG;*nIP  
struts.velocity.contexts 93[&'  
      List of Velocity context names '$q=r x  
      velocity的context列表 =:"wU  
gVscdg5  
je#OV,uHM  
struts.velocity.manager.classname UFSbu5 j  
      org.apache.struts2.views.velocity.VelocityManager implementation class UURYK~$K:  
      org.apache.struts2.views.velocity.VelocityManager接口名 `qs[a}%'>"  
}mdk+IEt  
struts.velocity.toolboxlocation ,'Sj:l  
      The location of the Velocity toolbox 63PSYj(y  
      velocity工具盒的位置 ^0tO2$  
struts.xslt.nocache }N0$DqP  
      Whether or not XSLT templates should not be cached '#eY4d<i]n  
      是否XSLT模版应该被缓存 Y n7z#bu  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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