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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 u6hDjN  
)8`7i{F  
struts.action.extension a?Q\nu1  
      The URL extension to use to determine if the request is meant for a Struts action W+HiH`Qb]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )xJCH9h  
SU,S1C_q8  
struts.configuration gc~nT/lfK  
      The org.apache.struts2.config.Configuration implementation class Z) nB  
        org.apache.struts2.config.Configuration接口名 sVdn>$KXk  
0,~f"Dyqy  
struts.configuration.files iuxI$  
      A list of configuration files automatically loaded by Struts l%vX$Kw  
      struts自动加载的一个配置文件列表 Ir%L%MuR]  
F@m]Imn5Dx  
struts.configuration.xml.reload -Jqm0)2  
      Whether to reload the XML configuration or not BE,XiH;  
      是否加载xml配置(true,false) m\9R;$ \  
yV{&x  
struts.continuations.package | .w'Z7(s  
      The package containing actions that use Rife continuations _+c' z  
      含有actions的完整连续的package名称 gcS ?r :  
nV/8u_  
struts.custom.i18n.resources zKRt\;PW  
      Location of additional localization properties files to load Ew`(x30E  
      加载附加的国际化属性文件(不包含.properties后缀) r~mZ?dI  
t:MeSO  
struts.custom.properties @bPR"j5D  
      Location of additional configuration properties files to load /j7e q  
      加载附加的配置文件的位置 &j}08aK%  
hw2'.}B"(  
#vwK6'z  
struts.devMode 0tA~Y26  
      Whether Struts is in development mode or not ?vA)F)MS   
      是否为struts开发模式 .h({P#QT  
9jwcO)p^  
struts.dispatcher.parametersWorkaround Ej_>*^b  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zN3[W`q+m  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e"=/zZH3  
b/#SkxW#S  
struts.enable.DynamicMethodInvocation \<e?  
      Allows one to disable dynamic method invocation from the URL @;\2 PD  
        允许动态方法调用 #}M\ J0QG  
IP?15l w  
struts.freemarker.manager.classname kSW=DE|#}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L{pz)')I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 x*`S>_j27=  
v,T :V#f^  
struts.i18n.encoding DIqM\ ><  
      The encoding to use for localization messages |}^me7C,[  
      国际化信息内码 "|N58%  
a$=BX=  
struts.i18n.reload Ux[2 +Cf  
      Whether the localization messages should automatically be reloaded {oXU)9vj  
      是否国际化信息自动加载 3(2WO^zX {  
I |PEC-(  
struts.locale fnXYp !  
      The default locale for the Struts application <x!q! ;  
      默认的国际化地区信息 (-}:'5|Yj  
GGM|B}U p  
struts.mapper.class ppm =o4`s[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _sp, ,gz  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 EF>vu+YK  
]|JQH  
struts.multipart.maxSize &7\=J w7w  
      The maximize size of a multipart request (file upload) h.Y&_=Gc  
      multipart请求信息的最大尺寸(文件上传用) #}PQ !gZ  
Q,ez AE  
struts.multipart.parser ^`~s#L7  
      The org.apache.struts2.dispatcher.multipart. k kZ2Jxvx  
      MultiPartRequest parser implementation for a multipart request (file upload) UWW^g@d4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uBp,_V?  
y ;/T.W9!  
.2Q4EbM2  
struts.multipart.saveDir kC,=E9)O  
      The directory to use for storing uploaded files 8=K%7:b  
      设置存储上传文件的目录夹 C33BP}c]  
r|MBkpcvp  
struts.objectFactory 1'NJ[ C`  
      The com.opensymphony.xwork2.ObjectFactory implementation class |mMK9OEu  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vU,V[1^a  
&6feR#~A  
struts.objectFactory.spring.autoWire bUzo>fm_  
      Whether Spring should autoWire or not TS_5R>R3  
      是否自动绑定Spring f:9b q}vH  
PFKl6_(  
struts.objectFactory.spring.useClassCache aM7e?.rU  
      Whether Spring should use its class cache or not cyMvjzzRN  
      是否spring应该使用自身的cache AX%N:)_$|  
m&P B5s\=  
struts.objectTypeDeterminer @=7[KMb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'fK3L<$z#m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vw'xmzgA  
cv{icz,%w  
struts.serve.static.browserCache 3u 'VPF2  
If static content served by the Struts filter should set browser caching header properties or not 7"_m?c8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +Rj8 "p$K  
vh$If0  
struts.serve.static @~z4GTF9i  
      Whether the Struts filter should serve static content or not +P &S0/  
      是否struts过滤器应该提供静态内容 oSf6J:?*e  
N&uRL_X .  
struts.tag.altSyntax 3 <A?  
      Whether to use the alterative syntax for the tags or not `<3%`4z/  
      是否可以用替代的语法替代tags uIy$| N  
~GLWhe-  
struts.ui.templateDir !V'~<&  
      The directory containing UI templates }ed{8"bj  
      UI templates的目录夹 } =p e;l  
n #l~B@  
struts.ui.theme Bq5-L}z  
      The default UI template theme dO1h1yJJ  
      默认的UI template主题 ,Y&7` m  
f`s.|99Y  
struts.url.http.port s/l>P~3=  
      The HTTP port used by Struts URLs ~W2Od2p !  
      设置http端口 sv.?C pE  
7;I;(iY  
struts.url.https.port [;C|WTYSL  
      The HTTPS port used by Struts URLs Zv0'OX~8i  
      设置https端口 O:]e4r,'  
| |u  
struts.url.includeParams %ws@t"aER  
      The default includeParams method to generate Struts URLs %p(X*mVX  
      在url中产生 默认的includeParams ~eyZH8&  
,/ YTW@N  
]@I>OcH  
struts.velocity.configfile s$JO3-)  
      The Velocity configuration file path z',f'3+  
      velocity配置文件路径 DO 0  
R0#'t+7^  
struts.velocity.contexts ]IclA6  
      List of Velocity context names vn+~P9SHQ  
      velocity的context列表 :caXQ)  
ri2`M\;gt  
)GKY#O09x9  
struts.velocity.manager.classname wpI"kk_@@  
      org.apache.struts2.views.velocity.VelocityManager implementation class to{7B7t>q  
      org.apache.struts2.views.velocity.VelocityManager接口名 S^x?<kYQau  
*=}\cw\A  
struts.velocity.toolboxlocation  9+ A~(  
      The location of the Velocity toolbox eJ0Xfw%y%T  
      velocity工具盒的位置 FfC\uuRe  
struts.xslt.nocache T8BewO=}  
      Whether or not XSLT templates should not be cached IvX+yU  
      是否XSLT模版应该被缓存 ~_F<"40  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五