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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !-tz4vjw  
;u-4KK  
struts.action.extension v.g"{us  
      The URL extension to use to determine if the request is meant for a Struts action *y7 $xa4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z[L5 ;  
H5xzD9K;/C  
struts.configuration x0+glQrNN  
      The org.apache.struts2.config.Configuration implementation class LI W*4r!  
        org.apache.struts2.config.Configuration接口名 !`wW_W  
Faac]5u:*  
struts.configuration.files r/r:oXK  
      A list of configuration files automatically loaded by Struts S%6U~@hig  
      struts自动加载的一个配置文件列表 [_!O<z_sB  
E`D%PEps+  
struts.configuration.xml.reload 4<v;1   
      Whether to reload the XML configuration or not u<Xog$esu  
      是否加载xml配置(true,false) H~fdbR  
 .5Z_E O  
struts.continuations.package (xT*LF+  
      The package containing actions that use Rife continuations VXKT\9g3A  
      含有actions的完整连续的package名称 :L$4*8@`+  
ujzW|HW^v  
struts.custom.i18n.resources D3]BTkMMS;  
      Location of additional localization properties files to load HD-Erop  
      加载附加的国际化属性文件(不包含.properties后缀) XD%wj  
m4/er539T  
struts.custom.properties Z85|I.mr  
      Location of additional configuration properties files to load 0|Uc d  
      加载附加的配置文件的位置 $99R|^  
!1 :@8q  
w]!0<  
struts.devMode R}{GwbF_\  
      Whether Struts is in development mode or not 8l)  
      是否为struts开发模式 j6>tH"i  
^R_e  
struts.dispatcher.parametersWorkaround @.9I3E-=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v5$s#f<   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x>3@R0A 1:  
")`S0n5e  
struts.enable.DynamicMethodInvocation lOerrP6f(  
      Allows one to disable dynamic method invocation from the URL bhg}-dto  
        允许动态方法调用 2{o10 eL  
Es8#]'Rk  
struts.freemarker.manager.classname ok0X<MR!I  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8T5k-HwE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %a 8&W  
#Z9L_gDp  
struts.i18n.encoding j\2[H^   
      The encoding to use for localization messages n[" 9|  
      国际化信息内码 []}N  
Cvn$]bt/s  
struts.i18n.reload 2p< Aj!  
      Whether the localization messages should automatically be reloaded OyVm(%Z   
      是否国际化信息自动加载 b X,Siz:F  
l)|lTOjb  
struts.locale 8z T0_vw  
      The default locale for the Struts application &3DK^|Lq  
      默认的国际化地区信息 C0m\SNR  
bkv/I{C>?  
struts.mapper.class \ TL82H@D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k0ItG?Cv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1f//wk|  
8wFn}lw&  
struts.multipart.maxSize m,6h ee  
      The maximize size of a multipart request (file upload) fl uGf  
      multipart请求信息的最大尺寸(文件上传用) +/cgw,  
v\0^mp  
struts.multipart.parser gGfq6{9g  
      The org.apache.struts2.dispatcher.multipart. =/Juh7[C  
      MultiPartRequest parser implementation for a multipart request (file upload) =,:K)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,2zKQ2z  
BKb<2  
#PAU'u 3{/  
struts.multipart.saveDir =vEkMJ Os  
      The directory to use for storing uploaded files =AkX4k  
      设置存储上传文件的目录夹 WU\m^!`w=F  
F`& >NQb  
struts.objectFactory kL;t8{n  
      The com.opensymphony.xwork2.ObjectFactory implementation class p24.bLr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) e'~ Q@_D  
(%DRt4u <H  
struts.objectFactory.spring.autoWire =K'L|QKF  
      Whether Spring should autoWire or not s[V `e2O  
      是否自动绑定Spring vLn> 4SK  
<\D Uo0]J  
struts.objectFactory.spring.useClassCache GOr}/y;  
      Whether Spring should use its class cache or not VGJDqm!  
      是否spring应该使用自身的cache $u5.!{Wq?  
,nYZxYLf+  
struts.objectTypeDeterminer l l:jsm  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ? ( 12aU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 x[Q&k[xV  
PqfVX8/q0  
struts.serve.static.browserCache Qj!d^8  
If static content served by the Struts filter should set browser caching header properties or not [%~NM/xu<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 shK&2Noan  
\=g!$  
struts.serve.static %ck`0JZAP  
      Whether the Struts filter should serve static content or not NG)7G   
      是否struts过滤器应该提供静态内容 k?-S`o%Q  
?>?ZAr  
struts.tag.altSyntax _85E=  
      Whether to use the alterative syntax for the tags or not viV-e$s`.  
      是否可以用替代的语法替代tags 2np-Fc{S  
<^sAY P|  
struts.ui.templateDir l $Zs~@N  
      The directory containing UI templates .tp=T  
      UI templates的目录夹 7}07Pit  
p JX, n  
struts.ui.theme v=MzI#0L  
      The default UI template theme i tW~d  
      默认的UI template主题 _IKQ36=  
ca}S{"  
struts.url.http.port C->[$HcRa  
      The HTTP port used by Struts URLs uXNp!t Y  
      设置http端口 4K #^dJnC  
6`j<l5-h  
struts.url.https.port yu_gNro L  
      The HTTPS port used by Struts URLs +/_!P;I  
      设置https端口 9OZ>y0)K~  
)$F6  
struts.url.includeParams Dauo(Uhuo  
      The default includeParams method to generate Struts URLs z1qUz7  
      在url中产生 默认的includeParams 05g?jV  
my=~"bw4  
vGyppm[0  
struts.velocity.configfile #tP )-ww  
      The Velocity configuration file path cJV!> 0ua  
      velocity配置文件路径 ULrbQ}"cva  
%w@ig~vD'  
struts.velocity.contexts u2om5e:  
      List of Velocity context names rr4 _8Rf  
      velocity的context列表 -W6V,+of  
qL~Pjr>cF  
/0!$p[cjm  
struts.velocity.manager.classname FJlsWh4,6=  
      org.apache.struts2.views.velocity.VelocityManager implementation class TP^\e_k  
      org.apache.struts2.views.velocity.VelocityManager接口名 lmp R>@o"  
i59k"pNm  
struts.velocity.toolboxlocation U)b &zZc;  
      The location of the Velocity toolbox %9.bu|`KK  
      velocity工具盒的位置 h%|9]5(=  
struts.xslt.nocache ugRV5bUk  
      Whether or not XSLT templates should not be cached KZ @l/s  
      是否XSLT模版应该被缓存 lDH_ Y]bM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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