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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 J1M9) ,  
GX.a!XQ@!  
struts.action.extension y~t e!C  
      The URL extension to use to determine if the request is meant for a Struts action "f3mi[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f@Ve,i  
gm:Y@6W  
struts.configuration NN:zQ_RT  
      The org.apache.struts2.config.Configuration implementation class ei]Q<vT6  
        org.apache.struts2.config.Configuration接口名 VJr~h "[  
wB[ JFy"E  
struts.configuration.files mH<|.7~0  
      A list of configuration files automatically loaded by Struts Yu[MNX ;G  
      struts自动加载的一个配置文件列表 *ZRk)  
6khm@}}  
struts.configuration.xml.reload W8]?dL}|  
      Whether to reload the XML configuration or not Qe9}%k6@E  
      是否加载xml配置(true,false) 7<8'7<X  
j\B taC  
struts.continuations.package `X&d:!}F  
      The package containing actions that use Rife continuations -@'RYY=  
      含有actions的完整连续的package名称 %vG;'_gM B  
YD~(l-?"  
struts.custom.i18n.resources cI7aTLC"s  
      Location of additional localization properties files to load L&5zr_  
      加载附加的国际化属性文件(不包含.properties后缀) m+pK,D~{"  
{pRa%DF  
struts.custom.properties c~\^C_  
      Location of additional configuration properties files to load [>Zg6q|  
      加载附加的配置文件的位置 iP^[xB~v  
%N7G>_+  
ady SwB  
struts.devMode 7=wQ#bq"1P  
      Whether Struts is in development mode or not #aP;a-Q|k  
      是否为struts开发模式 Ym-mfWo^#  
!;k ^  
struts.dispatcher.parametersWorkaround [[4!b E  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *TxR2pC}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0J5$ Yw1'F  
M|.ykA<D  
struts.enable.DynamicMethodInvocation %~Ymb&ugg  
      Allows one to disable dynamic method invocation from the URL Cq\{\!6[  
        允许动态方法调用 6UPGE",u  
6 iH]N*]S^  
struts.freemarker.manager.classname etb#/L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W,t`DMC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yS#D$q2_  
vL;=qk TCQ  
struts.i18n.encoding z3fU|*_c  
      The encoding to use for localization messages TPZ^hL>ao  
      国际化信息内码 ufA0H J)Yg  
7Z81+I|&8  
struts.i18n.reload G1,u{d-_  
      Whether the localization messages should automatically be reloaded J,`I>^G  
      是否国际化信息自动加载 4J[csU  
Pn}oSCo  
struts.locale xaIe7.Z"xo  
      The default locale for the Struts application ciPq@kMV  
      默认的国际化地区信息 FlH=Pqc  
.MxMBrM  
struts.mapper.class 7:C2xC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class eX^ F^(   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p,)pz_M  
 t|:XSJ9  
struts.multipart.maxSize Fow{-cs_p  
      The maximize size of a multipart request (file upload) ef:Zi_o   
      multipart请求信息的最大尺寸(文件上传用) !-B|x0fs  
3-![% u  
struts.multipart.parser *+ O  
      The org.apache.struts2.dispatcher.multipart. o-AAx#@  
      MultiPartRequest parser implementation for a multipart request (file upload) #t">tL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Z`OkkabnD  
ev yA#~o  
lI[O!Vu Kc  
struts.multipart.saveDir ,z$ U=u o  
      The directory to use for storing uploaded files pD6a+B\;k  
      设置存储上传文件的目录夹 '&y+,2?;Y[  
Y;sN UX  
struts.objectFactory ,fs>+]UY3  
      The com.opensymphony.xwork2.ObjectFactory implementation class \mwxV!!b$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M[=sQnnSFW  
G^\.xk]  
struts.objectFactory.spring.autoWire g$Ns u:L  
      Whether Spring should autoWire or not ;q2e[y  
      是否自动绑定Spring z-kB!~r  
!wjD6 NK  
struts.objectFactory.spring.useClassCache rf2-owWN  
      Whether Spring should use its class cache or not 4?7OP t6  
      是否spring应该使用自身的cache O~F8lQ  
1FRpcE  
struts.objectTypeDeterminer  Y}Nd2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {y>Kcfc/?E  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ur/:aI  
1uc;:N G=  
struts.serve.static.browserCache @ |7e~U  
If static content served by the Struts filter should set browser caching header properties or not S#Pni}JD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q"`J-#L  
^Pc&`1Ap  
struts.serve.static G^w:c]  
      Whether the Struts filter should serve static content or not MSS0Sx<f  
      是否struts过滤器应该提供静态内容 !r_2b! dy  
t. kOR<  
struts.tag.altSyntax myWa>Mvb  
      Whether to use the alterative syntax for the tags or not (w, Gv-S  
      是否可以用替代的语法替代tags h4? 'd+K  
6\/(TW&  
struts.ui.templateDir &28%~&L  
      The directory containing UI templates ^@xn3zJ  
      UI templates的目录夹  f(*^zga,  
)}R w@70L-  
struts.ui.theme Q-f?7*>  
      The default UI template theme Gn?<~8a  
      默认的UI template主题 Y[alOJ  
8>V)SAI'  
struts.url.http.port ^$F1U,oi  
      The HTTP port used by Struts URLs %3 $EV}dp  
      设置http端口 @EB2I+[  
Z;GZ?NOlY  
struts.url.https.port h-RL`X  
      The HTTPS port used by Struts URLs | <l=i(  
      设置https端口 R;2 Z~P  
]s:%joj%^  
struts.url.includeParams #vvQ 1ub  
      The default includeParams method to generate Struts URLs ;*8,PV0b_<  
      在url中产生 默认的includeParams mA']*)L1  
8 gzf$Oc  
p EbyQ[  
struts.velocity.configfile S9S%7pE  
      The Velocity configuration file path .t|B6n!  
      velocity配置文件路径 VpmD1YSn  
G>c:+`KS  
struts.velocity.contexts CN<EgNt1kN  
      List of Velocity context names i@#fyU)[G  
      velocity的context列表 $"]*,=-X  
AtW<e;!0te  
yj C@  
struts.velocity.manager.classname :/'oh]T|  
      org.apache.struts2.views.velocity.VelocityManager implementation class p v*n.U6  
      org.apache.struts2.views.velocity.VelocityManager接口名 $n@B:kv5p  
InR/g@n+D1  
struts.velocity.toolboxlocation "E )0)A3=  
      The location of the Velocity toolbox JQ]A"xTIa*  
      velocity工具盒的位置 WkR=(dss8  
struts.xslt.nocache 924a1  
      Whether or not XSLT templates should not be cached H)O I&?  
      是否XSLT模版应该被缓存 yMbg1+:   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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