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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 PBFpV8P,  
6X?:mn'%QF  
struts.action.extension D&G?Klq  
      The URL extension to use to determine if the request is meant for a Struts action Uq{$j5p8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @#-\ BQ;  
-Lb7=98  
struts.configuration i: jB  
      The org.apache.struts2.config.Configuration implementation class Dsc0 ;7~6  
        org.apache.struts2.config.Configuration接口名 njO~^Hl7  
G!G:YVWXP  
struts.configuration.files :2/ jI:L~  
      A list of configuration files automatically loaded by Struts .}Ys+d1b9c  
      struts自动加载的一个配置文件列表 E`hR(UL ?  
euRKYGW  
struts.configuration.xml.reload GRVF/hPn  
      Whether to reload the XML configuration or not BSB&zp  
      是否加载xml配置(true,false) q bCU&G|)  
f1elzANy  
struts.continuations.package PlK3;  
      The package containing actions that use Rife continuations 7zA+UWr  
      含有actions的完整连续的package名称 [u^ fy<jdp  
{.[EXMX  
struts.custom.i18n.resources G -K{  
      Location of additional localization properties files to load ^;9l3P{  
      加载附加的国际化属性文件(不包含.properties后缀) =n_z`I  
,oSn<$%/q  
struts.custom.properties qN9 ?$\  
      Location of additional configuration properties files to load F7nwV Dc*  
      加载附加的配置文件的位置 }A;YM1^$  
jt: *Y  
4<)*a]\c5M  
struts.devMode Z#(Y%6[u  
      Whether Struts is in development mode or not i "X" -)#  
      是否为struts开发模式 #3{}(T7  
~x+'-2A46  
struts.dispatcher.parametersWorkaround fkImX:|q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h x8pg,X  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Tp.]{*  
.3VL  
struts.enable.DynamicMethodInvocation e>.^RtDF  
      Allows one to disable dynamic method invocation from the URL |cp_V  
        允许动态方法调用 a#[gNT~[  
LpSF*xm  
struts.freemarker.manager.classname }|N88PN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "!7Hu7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 V"2 G  
+RR6gAma}<  
struts.i18n.encoding :RJo#ape  
      The encoding to use for localization messages j6$@vA)  
      国际化信息内码 _3wK: T{:  
b`j9}t Z  
struts.i18n.reload MLM/!N 7  
      Whether the localization messages should automatically be reloaded yJO Jw o^  
      是否国际化信息自动加载 $cwmfF2C  
!$ii*}  
struts.locale =h +SZXe<r  
      The default locale for the Struts application }Qe(6'l_  
      默认的国际化地区信息 A:2CP&*  
XqhrQU|wM  
struts.mapper.class e6tU8`z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8t, &dq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 RW1+y/#%P  
v6Y[_1  
struts.multipart.maxSize rz-61A) _  
      The maximize size of a multipart request (file upload) K`uPPyv  
      multipart请求信息的最大尺寸(文件上传用) Nq\)o{<1  
`.3.n8V  
struts.multipart.parser &y|PseH"  
      The org.apache.struts2.dispatcher.multipart. 8g-Z~~0W1  
      MultiPartRequest parser implementation for a multipart request (file upload) v<)&JlR  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C.LAr~P  
M5dEZ  
-MsL>F.]  
struts.multipart.saveDir FwHqID_!:l  
      The directory to use for storing uploaded files "lC>_A  
      设置存储上传文件的目录夹 Tz.okCo]z  
j)@{_tv6;  
struts.objectFactory ;;XY&J  
      The com.opensymphony.xwork2.ObjectFactory implementation class bwP@}(K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [cZ/)tm  
) R5j?6}xF  
struts.objectFactory.spring.autoWire .0gfP4{1{  
      Whether Spring should autoWire or not \w1',"l`  
      是否自动绑定Spring ?OoI6 3&  
Z)=S>06X Q  
struts.objectFactory.spring.useClassCache ePIN<F;I  
      Whether Spring should use its class cache or not ydY 7 :D  
      是否spring应该使用自身的cache $UK m[:7  
|22vNt_  
struts.objectTypeDeterminer `' EG7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qdKqc,R1{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3XQe? 2:<  
5 $$Cav  
struts.serve.static.browserCache X%JyC_~<  
If static content served by the Struts filter should set browser caching header properties or not ].aFdy  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0kls/^0,  
$)PS#ND&  
struts.serve.static |r?0!;bN0  
      Whether the Struts filter should serve static content or not P O0Od z  
      是否struts过滤器应该提供静态内容 m$(OQ,E  
Mw-L?j0o[k  
struts.tag.altSyntax W?P4oKsql*  
      Whether to use the alterative syntax for the tags or not 4${3e Sg_  
      是否可以用替代的语法替代tags DTo"{!  
w L>*WLfR  
struts.ui.templateDir #2:?N8vz*  
      The directory containing UI templates Lp@Al#X55  
      UI templates的目录夹 !TY0;is  
*b 0z/ 6  
struts.ui.theme z j#<X  
      The default UI template theme S Te8*=w  
      默认的UI template主题  F0zaA  
YPq:z"`-y4  
struts.url.http.port M2d&7>N  
      The HTTP port used by Struts URLs qTwl\dcncC  
      设置http端口 n@"<NKzh  
mvt-+K?U  
struts.url.https.port _LfbEv<,T  
      The HTTPS port used by Struts URLs 3$:F/H  
      设置https端口 }aXSMxCd  
,WnZ^R/n  
struts.url.includeParams '/9MN;_  
      The default includeParams method to generate Struts URLs wxj}k7_(`A  
      在url中产生 默认的includeParams QfPw50N;  
g+QIhur  
v3t<rv  
struts.velocity.configfile KU0Ad);e  
      The Velocity configuration file path q(hBqUW  
      velocity配置文件路径 9kqR-T|Q  
fZsw+PSy  
struts.velocity.contexts vSoG] :1  
      List of Velocity context names N=T}  
      velocity的context列表 )8}k.t>'s  
T3"'`Sd9;  
 Z,O-P9jC  
struts.velocity.manager.classname wTZ(vX*mK  
      org.apache.struts2.views.velocity.VelocityManager implementation class fi~@J`  
      org.apache.struts2.views.velocity.VelocityManager接口名 )t7MD(  
GVn'p Wg  
struts.velocity.toolboxlocation 7 <]YK`a2d  
      The location of the Velocity toolbox n6Uf>5  
      velocity工具盒的位置  < ]+Mdy  
struts.xslt.nocache wmXI8'~F&  
      Whether or not XSLT templates should not be cached z-g6d(  
      是否XSLT模版应该被缓存 ;1nXJ{jKw  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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