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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Q% dpGI  
"?N`9J|j)~  
struts.action.extension h{h=',o1  
      The URL extension to use to determine if the request is meant for a Struts action I{RktO;1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \XpPb{:>  
=LT({8  
struts.configuration 3Ys|M%N  
      The org.apache.struts2.config.Configuration implementation class L~yy;)]W  
        org.apache.struts2.config.Configuration接口名 +0=RC^   
tq*Q|9j7VG  
struts.configuration.files )*_YeT&w.  
      A list of configuration files automatically loaded by Struts ;=n7 Z  
      struts自动加载的一个配置文件列表 Xpa;F$VI  
v:vA=R2  
struts.configuration.xml.reload yx}:Sgv%  
      Whether to reload the XML configuration or not -(59F  
      是否加载xml配置(true,false) pr m  
Q!Op^4Jz  
struts.continuations.package ZPMEN,Dw  
      The package containing actions that use Rife continuations ):\ pD]e  
      含有actions的完整连续的package名称 =9)ypI-2  
bh_ALu^CSX  
struts.custom.i18n.resources /vQ^>2X%  
      Location of additional localization properties files to load s/T5aJR  
      加载附加的国际化属性文件(不包含.properties后缀) T&S< 0  
OE[/sv  
struts.custom.properties '@W72ML.  
      Location of additional configuration properties files to load I@z{G r  
      加载附加的配置文件的位置 Y0b.utR&  
mj,r@@k:=+  
L8$7^muad  
struts.devMode gVD!.  
      Whether Struts is in development mode or not r*3;gyG.,#  
      是否为struts开发模式 GV2}K <s  
T[7DJNdG6  
struts.dispatcher.parametersWorkaround \fKv+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic % ,X(GwX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 77 `/YE#M  
Jrffb=+b  
struts.enable.DynamicMethodInvocation 8=SNLO  
      Allows one to disable dynamic method invocation from the URL OC [a?#R1  
        允许动态方法调用 &3^40s/+  
HD`%Ma Yhc  
struts.freemarker.manager.classname bWyXDsr+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *&U9npN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 HN3 yA1<[V  
vw!i)JO8M  
struts.i18n.encoding ~pw_*AN  
      The encoding to use for localization messages ogPfz/ hw  
      国际化信息内码 ~<$8i}7  
?ph"|LyL  
struts.i18n.reload Fdzd!r1 v  
      Whether the localization messages should automatically be reloaded bVVa5? HP  
      是否国际化信息自动加载 IGp-`%9  
l9<+4rK2  
struts.locale [OT@gp:  
      The default locale for the Struts application `=\G>#p<T  
      默认的国际化地区信息 ^ ]B&7\w"t  
z1L.  
struts.mapper.class YnNei 7R  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m\VJ=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xWlB!r<}Gz  
bEy%S "\<  
struts.multipart.maxSize &B3kzs  
      The maximize size of a multipart request (file upload) !k[ zUti  
      multipart请求信息的最大尺寸(文件上传用) z1"UF4x*  
[Y:HVr,  
struts.multipart.parser l"vT@ g|  
      The org.apache.struts2.dispatcher.multipart. -OziUM1qs  
      MultiPartRequest parser implementation for a multipart request (file upload) ElYHA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H)4Rs~;{'g  
rKjQEO$yi  
) ejvT-  
struts.multipart.saveDir 7'<4'BGzl]  
      The directory to use for storing uploaded files R vY`9D  
      设置存储上传文件的目录夹 ;Lu}>.t  
P"~ B2__*  
struts.objectFactory mhs%b4'>  
      The com.opensymphony.xwork2.ObjectFactory implementation class E O}(MXS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) RJ-CWt [LG  
1]kk  
struts.objectFactory.spring.autoWire %ZxKN;  
      Whether Spring should autoWire or not [6D>2b}:{[  
      是否自动绑定Spring sS0psw1  
o3`Z@-.G  
struts.objectFactory.spring.useClassCache AHLDURv  
      Whether Spring should use its class cache or not "5e]-u'  
      是否spring应该使用自身的cache  d,H%  
GC{Ys|s  
struts.objectTypeDeterminer n%O`K{86  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }\irr9,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D2hvf ^g'*  
AfY(+w6!K  
struts.serve.static.browserCache :@p`E}1r{  
If static content served by the Struts filter should set browser caching header properties or not nd?m+C&W  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Kzmgy14o  
SHaZ-d  
struts.serve.static 'z\F-Ttq  
      Whether the Struts filter should serve static content or not EYQ!ELuF  
      是否struts过滤器应该提供静态内容 7eO8cPy  
\jfW$TtZm  
struts.tag.altSyntax &fTCY-W[  
      Whether to use the alterative syntax for the tags or not $~2A o[  
      是否可以用替代的语法替代tags oNdO@i%.q4  
[R~HhM  
struts.ui.templateDir (Hs frc  
      The directory containing UI templates Fl O%O D  
      UI templates的目录夹 d`xqs,0f  
 $SDx) '!  
struts.ui.theme 3)7'dM  
      The default UI template theme 6yR7RF}  
      默认的UI template主题 (O&b:D/Y  
V2bod=&Lc  
struts.url.http.port U9 If%0P  
      The HTTP port used by Struts URLs K>q,?x b  
      设置http端口 z C``G<TB  
J|>P,x#G  
struts.url.https.port abK/!m[q  
      The HTTPS port used by Struts URLs 8=?I/9Xh  
      设置https端口 {4Isz-P  
|GsLcUv6  
struts.url.includeParams ]l\J"*"aB  
      The default includeParams method to generate Struts URLs .d*vfE$  
      在url中产生 默认的includeParams ZE1#{u~[y  
rUuM__;d  
vbWX`skU  
struts.velocity.configfile -}>Q0d)  
      The Velocity configuration file path OU[Sm7B  
      velocity配置文件路径 2 o.Mh/D0  
'E@D  
struts.velocity.contexts Io:xG6yG  
      List of Velocity context names  /f2*J  
      velocity的context列表 \;sUJr"$  
a7CJ~8-1K  
 g6~uf4;  
struts.velocity.manager.classname 5zU D W?  
      org.apache.struts2.views.velocity.VelocityManager implementation class lKa}Bcd  
      org.apache.struts2.views.velocity.VelocityManager接口名 >97V2W  
`fL$t0 "  
struts.velocity.toolboxlocation YS/DIH{9e  
      The location of the Velocity toolbox phNv^R+  
      velocity工具盒的位置 P3:hGmk8|j  
struts.xslt.nocache [bZXzV(  
      Whether or not XSLT templates should not be cached S |B7HS5  
      是否XSLT模版应该被缓存 NTn-4iJy  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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