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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 geEETb} +y  
uE:`Fo=y  
struts.action.extension WS1$cAD2N  
      The URL extension to use to determine if the request is meant for a Struts action x$/: %"E  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k{w  
QKtVwsz +  
struts.configuration )SsO,E+t=U  
      The org.apache.struts2.config.Configuration implementation class #FsoK*F  
        org.apache.struts2.config.Configuration接口名 LQ.0"6oj  
b?%Pa\,!  
struts.configuration.files /^9yncG;>  
      A list of configuration files automatically loaded by Struts WTQd}f  
      struts自动加载的一个配置文件列表 <<[\ Rv  
-JfO} DRI  
struts.configuration.xml.reload A6%~+9  
      Whether to reload the XML configuration or not 73>Hzpv0  
      是否加载xml配置(true,false) MFO1v%m  
!DNk!]|  
struts.continuations.package LXx`Vk>ky  
      The package containing actions that use Rife continuations -x2&IJ!  
      含有actions的完整连续的package名称 %][6TZ}  
vC ISd   
struts.custom.i18n.resources *d$r`.9j  
      Location of additional localization properties files to load xm bFJUMH  
      加载附加的国际化属性文件(不包含.properties后缀) Xe>   
H|/U0;s  
struts.custom.properties _/)HAw?k  
      Location of additional configuration properties files to load  _V_GdQ  
      加载附加的配置文件的位置 F@u>5e^6  
hxx`f-#=  
oiNt'HQ2/  
struts.devMode dEG1[QG  
      Whether Struts is in development mode or not #JW~&;  
      是否为struts开发模式 (GXFPEH8  
mM)d`br  
struts.dispatcher.parametersWorkaround YKG}4{T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !S5_+.U#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R\,qL-Br  
6T ,'Oz  
struts.enable.DynamicMethodInvocation d2[R{eNX=  
      Allows one to disable dynamic method invocation from the URL >*S ;z+!&  
        允许动态方法调用 TOXZl3 s5#  
{BS`v5*  
struts.freemarker.manager.classname ~k780  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %P`w"H,v3#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  Jyo(Etp  
 njg\y  
struts.i18n.encoding rhA>;9\  
      The encoding to use for localization messages "%]vSr  
      国际化信息内码 fVx_]5jM  
])iw|`@dJ  
struts.i18n.reload X6k-a;  
      Whether the localization messages should automatically be reloaded 2r>I,TNHl  
      是否国际化信息自动加载 )w'GnUqWz  
M5<c HE  
struts.locale .[8g6:>  
      The default locale for the Struts application u$V8fus0  
      默认的国际化地区信息 m vLqccL  
fMZzR|_18  
struts.mapper.class Q _ M:v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class fs6 % M]u  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 kl i)6R<  
T@x_}a:g  
struts.multipart.maxSize wzz> N@|  
      The maximize size of a multipart request (file upload) KB6`OT^b{r  
      multipart请求信息的最大尺寸(文件上传用) ooIA#u  
4oA9|}<FR  
struts.multipart.parser tB==v{t  
      The org.apache.struts2.dispatcher.multipart. `g!NFp9q  
      MultiPartRequest parser implementation for a multipart request (file upload) Tmr %r'i3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >^ijj`{d  
hz*H,E!>  
z`KP }-  
struts.multipart.saveDir 8bI;xjK^Q  
      The directory to use for storing uploaded files pA?2UZ  
      设置存储上传文件的目录夹 w~l%xiC  
@]xH t&j  
struts.objectFactory drK &  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,R2;oF_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Lc5I?}:;L  
ZAa:f:[#f  
struts.objectFactory.spring.autoWire KW-g $Ma  
      Whether Spring should autoWire or not pCt0[R;?  
      是否自动绑定Spring Z2^B.r#  
fe$OPl~  
struts.objectFactory.spring.useClassCache Ch,%xs.)G  
      Whether Spring should use its class cache or not m(eR Wx&pZ  
      是否spring应该使用自身的cache Bl!R bh\  
j=5hW.fI  
struts.objectTypeDeterminer cOo@UU P   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kcyT#'=j  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X;%*+xQ^  
V.^Z)iNf^  
struts.serve.static.browserCache uPQrDr5  
If static content served by the Struts filter should set browser caching header properties or not h&j9'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )R@M~d-o  
*Ph@XkhU  
struts.serve.static UcxMA%Pw7$  
      Whether the Struts filter should serve static content or not >nOzz0,  
      是否struts过滤器应该提供静态内容  O)?  
hR(p{$-T  
struts.tag.altSyntax unN=yeut  
      Whether to use the alterative syntax for the tags or not FvaelB  
      是否可以用替代的语法替代tags x !QA* M  
1y}tPkOe7O  
struts.ui.templateDir 6 ~d\+aV  
      The directory containing UI templates H!vX#  
      UI templates的目录夹 U9]&~jR  
nMU[S +  
struts.ui.theme i $W E1-  
      The default UI template theme Z|IFT1K  
      默认的UI template主题 o]O  
sm96Ye{O{  
struts.url.http.port jhkNi`E7  
      The HTTP port used by Struts URLs j O6yZt  
      设置http端口 t o2y#4'.  
UgAG2  
struts.url.https.port vQhi2J'  
      The HTTPS port used by Struts URLs ruK, Z,3Q  
      设置https端口 fgEMn;  
qbu5aK}+  
struts.url.includeParams `R{ ZED l'  
      The default includeParams method to generate Struts URLs 7$j O3J  
      在url中产生 默认的includeParams ):pFI/iC  
V07? sc<  
1H]E:Bq  
struts.velocity.configfile B#Z-kFn@  
      The Velocity configuration file path ]n$&|@  
      velocity配置文件路径 9_I#{ ?  
QLum=YB  
struts.velocity.contexts n9x&Ws;  
      List of Velocity context names o dTg.m  
      velocity的context列表 gt{$G|bi  
'W]oQLD^R  
N_qKIc_R  
struts.velocity.manager.classname @!:_r5R~N  
      org.apache.struts2.views.velocity.VelocityManager implementation class T^XU5qgN  
      org.apache.struts2.views.velocity.VelocityManager接口名 \B1<fF2  
?QfomTT  
struts.velocity.toolboxlocation !|`vW{v  
      The location of the Velocity toolbox ;OD+6@Sr  
      velocity工具盒的位置 SF?s^  
struts.xslt.nocache 3&ES?MyB#  
      Whether or not XSLT templates should not be cached IQA<xqX   
      是否XSLT模版应该被缓存 ;$>wuc'L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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