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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 kV$$GLD\  
!v`C-1}70  
struts.action.extension rh%-va9  
      The URL extension to use to determine if the request is meant for a Struts action [WxRwE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #'?gMVSk  
A;g{H|  
struts.configuration 3Hg}G#]WS  
      The org.apache.struts2.config.Configuration implementation class 7x ?2((   
        org.apache.struts2.config.Configuration接口名 Bx&F*a;5  
fj,]dQ T  
struts.configuration.files <z+b88D  
      A list of configuration files automatically loaded by Struts 8ta`sNy9  
      struts自动加载的一个配置文件列表 sKU?"|G81G  
,*}5xpX  
struts.configuration.xml.reload 7Rix=*  
      Whether to reload the XML configuration or not x-3!sf@  
      是否加载xml配置(true,false) I X]K "hT  
+CF"Bm8@  
struts.continuations.package -'jPue2\  
      The package containing actions that use Rife continuations WI+ 5x  
      含有actions的完整连续的package名称 .o!z:[IPY  
F A#?+kd  
struts.custom.i18n.resources Pu-/*Fx  
      Location of additional localization properties files to load Er]lObfQo  
      加载附加的国际化属性文件(不包含.properties后缀) {?zbrgQ<Z  
7=gv4arRwt  
struts.custom.properties rt5eN:'qY  
      Location of additional configuration properties files to load wWU5]v  
      加载附加的配置文件的位置 o"5[~$O  
oF9c>^s  
 #Lq{_Y  
struts.devMode ^%<t^sE  
      Whether Struts is in development mode or not !"e~HZmr  
      是否为struts开发模式 OYC\+ =  
4EB&Zmg[K  
struts.dispatcher.parametersWorkaround 1G6MO  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  :Ky *AI  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) FYtf<C+  
iH#b"h{w  
struts.enable.DynamicMethodInvocation 9^5D28y  
      Allows one to disable dynamic method invocation from the URL 7KzMa%=  
        允许动态方法调用 `AO<r  
/j0zb&  
struts.freemarker.manager.classname _\y%u_W  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :y!%GJW  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]|y]?7  
QlFt:?7f  
struts.i18n.encoding H^e0fm  
      The encoding to use for localization messages %}*0l8y  
      国际化信息内码 6uAo0+-k  
4\6-sL?rW  
struts.i18n.reload W6>SYa  
      Whether the localization messages should automatically be reloaded .;'3Roi  
      是否国际化信息自动加载 ;C+g)BW  
nHB=*Mj DV  
struts.locale qK9\oB%s7  
      The default locale for the Struts application =b* Is,R/  
      默认的国际化地区信息 .M$}.v  
Z_F}Y2-w9  
struts.mapper.class ~SW_jiKM  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +.RC{o,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 jD eNCJ  
KfVLb4@16_  
struts.multipart.maxSize S _B $-H|  
      The maximize size of a multipart request (file upload) {#c* *' 4  
      multipart请求信息的最大尺寸(文件上传用) UI,i2<&  
*Ugtg9j  
struts.multipart.parser xq2 ,S  
      The org.apache.struts2.dispatcher.multipart. ca!=D $  
      MultiPartRequest parser implementation for a multipart request (file upload) XazKS4(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?5oeyBA@  
Q.8)_w  
$YM6}D@  
struts.multipart.saveDir +C(v4@=nd  
      The directory to use for storing uploaded files v GT#BS%  
      设置存储上传文件的目录夹 rkW2_UTZE  
{0#p,l  
struts.objectFactory %!>~2=Q2*  
      The com.opensymphony.xwork2.ObjectFactory implementation class _Wjd`*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aB(6yBBoxj  
[AZN a  
struts.objectFactory.spring.autoWire nnZ|oEF  
      Whether Spring should autoWire or not VTQxg5P c  
      是否自动绑定Spring /<Doe SDJ|  
TyCMZsvM,  
struts.objectFactory.spring.useClassCache d/57;6I_  
      Whether Spring should use its class cache or not tv+H4/  
      是否spring应该使用自身的cache N~%F/`Z<+  
=7Wr  
struts.objectTypeDeterminer g`skmHS89  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  MR/8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $6c8<!B_  
l]s,CX  
struts.serve.static.browserCache \9S&j(I  
If static content served by the Struts filter should set browser caching header properties or not KvM}g2"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 INyakAmJ}-  
Dw@0P  
struts.serve.static B>11  
      Whether the Struts filter should serve static content or not $1CAfSgKw  
      是否struts过滤器应该提供静态内容 G(puC4 "&  
=H F||p@  
struts.tag.altSyntax [,F5GW{x  
      Whether to use the alterative syntax for the tags or not r=" wd  
      是否可以用替代的语法替代tags J)w58/`?t  
l9J]<gG  
struts.ui.templateDir 4}~zVT0'~  
      The directory containing UI templates }/%(7Ff{  
      UI templates的目录夹 ^}-(8~_en  
-}Jf4k#G  
struts.ui.theme 6tE<`"P!  
      The default UI template theme =/k*w#j  
      默认的UI template主题 0wmz2zKV  
j]#-DIL  
struts.url.http.port ZjE!? '(ef  
      The HTTP port used by Struts URLs  4I> I  
      设置http端口 |$r|DX1[  
;btH[a iV  
struts.url.https.port &DMKZMj<Q*  
      The HTTPS port used by Struts URLs 0nF>E@j^[  
      设置https端口 mxYsP6&  
2[\I{<2/9  
struts.url.includeParams 7DU"QeLeb  
      The default includeParams method to generate Struts URLs 3zO'=gwJ  
      在url中产生 默认的includeParams rf%E+bh4  
,Z7tpFC  
?s<'3I{F`  
struts.velocity.configfile BVx: JiA  
      The Velocity configuration file path M~/%V NX  
      velocity配置文件路径 u"%i3%Yjh  
kQR kby  
struts.velocity.contexts X^PR];V:$  
      List of Velocity context names oJF@O:A  
      velocity的context列表 {e4ILdXM  
MSm vQ  
n')#]g0[  
struts.velocity.manager.classname `hD\u@5Tw  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2VOdI  
      org.apache.struts2.views.velocity.VelocityManager接口名 (9N75uCa  
])= k";76  
struts.velocity.toolboxlocation  *q8L$D  
      The location of the Velocity toolbox .TN9N  
      velocity工具盒的位置 acWm+  
struts.xslt.nocache Vo%MG.IPB  
      Whether or not XSLT templates should not be cached W9{>.E?  
      是否XSLT模版应该被缓存 zS*X9|p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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