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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7Ck;LF}>0  
t*qA.xc6  
struts.action.extension vhL&az  
      The URL extension to use to determine if the request is meant for a Struts action ^F"*;8$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G0Wd"AV+  
zl: u@!'  
struts.configuration \B}W(^\wg;  
      The org.apache.struts2.config.Configuration implementation class c<D Yk f  
        org.apache.struts2.config.Configuration接口名 Ra{B8)Q  
k oHY AF  
struts.configuration.files @\"*Z&]8z0  
      A list of configuration files automatically loaded by Struts chd${ j  
      struts自动加载的一个配置文件列表 _O!D*=I  
>}4]51s  
struts.configuration.xml.reload Q}=RG//0*  
      Whether to reload the XML configuration or not %M`|0g}!  
      是否加载xml配置(true,false) {?!hUi+  
dX$])b_Uw  
struts.continuations.package p +T&9  
      The package containing actions that use Rife continuations D~?kvyJ  
      含有actions的完整连续的package名称 %I.{umU  
)K?GAj]Pq  
struts.custom.i18n.resources ! 4oIx`  
      Location of additional localization properties files to load 5t<]|-i!  
      加载附加的国际化属性文件(不包含.properties后缀) #>- rKv.A  
dt \O7Rjw8  
struts.custom.properties <oXsn.'\  
      Location of additional configuration properties files to load =d5!O~}r>  
      加载附加的配置文件的位置 W^Rb~b^?  
J.nVEqLZ  
H]-W$V   
struts.devMode /7lkbL  
      Whether Struts is in development mode or not iit`'}+U  
      是否为struts开发模式 =TP>Y"  
[e}]K:  
struts.dispatcher.parametersWorkaround 4O`h%`M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mCE})S  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Dq?2mXOqD  
7q^/.:wlf  
struts.enable.DynamicMethodInvocation Z~c7r n  
      Allows one to disable dynamic method invocation from the URL Bjo&  
        允许动态方法调用 0ay!tS dN  
=#V11j  
struts.freemarker.manager.classname -$0S#/)Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (mD]}{>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 SW; b E  
xw-q)u  
struts.i18n.encoding &*y ve}su  
      The encoding to use for localization messages sY6'y'a95  
      国际化信息内码 5 rWRE-  
= ]@xXVf/  
struts.i18n.reload )/ZSb1!  
      Whether the localization messages should automatically be reloaded V")Q4h{  
      是否国际化信息自动加载 F0JFx$AoD  
]OrFW4tiE  
struts.locale IY19G U9  
      The default locale for the Struts application Kulg84<AwM  
      默认的国际化地区信息 ~>C>LH>8  
*Qf }4a0  
struts.mapper.class 7wqwDE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7_3O]e[8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "J.jmR;  
P X0#X=$  
struts.multipart.maxSize b5|p#&YK~  
      The maximize size of a multipart request (file upload) amSyGQ2  
      multipart请求信息的最大尺寸(文件上传用) O.E0LCABC  
JdRs=#X  
struts.multipart.parser >'jM8=o*Ax  
      The org.apache.struts2.dispatcher.multipart. /iN\)y#u1  
      MultiPartRequest parser implementation for a multipart request (file upload) *nc4X9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) yT n@p(J  
b910Z?B^L  
C5M-MZaS  
struts.multipart.saveDir H<xC%/8  
      The directory to use for storing uploaded files -,;Ep'  
      设置存储上传文件的目录夹 <^\r9Qxl  
\nHlI=!P  
struts.objectFactory :A'!u r=\  
      The com.opensymphony.xwork2.ObjectFactory implementation class <S}qcjG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) kW~F*  
?c2TT Q  
struts.objectFactory.spring.autoWire B1M/5cr.  
      Whether Spring should autoWire or not FSmi.7  
      是否自动绑定Spring Za6oYM_z  
Hj\~sR$L-  
struts.objectFactory.spring.useClassCache aOHCr>po,  
      Whether Spring should use its class cache or not ,$]q2aL  
      是否spring应该使用自身的cache N93E;B  
_tk5?9Ykn  
struts.objectTypeDeterminer oB\Xl)A<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nAg(lNOWN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zoJ;5a.3B  
UIl_& |  
struts.serve.static.browserCache TUaK:*x*  
If static content served by the Struts filter should set browser caching header properties or not [:QMnJ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .+Ej%|l%  
-^b^6=#  
struts.serve.static r+\z0_' w6  
      Whether the Struts filter should serve static content or not %p9bl ,x  
      是否struts过滤器应该提供静态内容 gJ&!w8v.  
,_$"6  
struts.tag.altSyntax x/7G0K2\}  
      Whether to use the alterative syntax for the tags or not 3+-(;>>\  
      是否可以用替代的语法替代tags c-.>C)  
wuzz%9;@B  
struts.ui.templateDir XNU qZ-M :  
      The directory containing UI templates $dP)8_Z2  
      UI templates的目录夹 j;v%4G  
[hL1 PWKs  
struts.ui.theme `X='g96C1  
      The default UI template theme tD]&et  
      默认的UI template主题 \ V>%yl{8  
2eU[*x  
struts.url.http.port AD\<}/3U  
      The HTTP port used by Struts URLs L:M9|/  
      设置http端口 .A\\v6@  
tFaE cP  
struts.url.https.port @?m8/t9 .  
      The HTTPS port used by Struts URLs mr!I}I7x&x  
      设置https端口 \.c )^QQ  
H g`{9v  
struts.url.includeParams V]]qu:Mh8  
      The default includeParams method to generate Struts URLs |T_Pz& -  
      在url中产生 默认的includeParams b8.%?_?  
YfwJBz D  
0s|LK  
struts.velocity.configfile Qs9U&*L  
      The Velocity configuration file path rk/ c  
      velocity配置文件路径 EYxRw  
dz|*n'd  
struts.velocity.contexts pq3  A%|  
      List of Velocity context names wzPw; xuG  
      velocity的context列表 pRvs;klf  
;8i L,^.A  
~ n^G<iXLp  
struts.velocity.manager.classname io{H$  x(  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;_/q>DR>,3  
      org.apache.struts2.views.velocity.VelocityManager接口名 8 %j{4$  
{z/^X<T  
struts.velocity.toolboxlocation 9.zQ<k2  
      The location of the Velocity toolbox B)]{]z0+`  
      velocity工具盒的位置 Z9m;@<%  
struts.xslt.nocache *Qx|5L!_  
      Whether or not XSLT templates should not be cached 9ET+k(wI@  
      是否XSLT模版应该被缓存 -FN6sNvIh  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八