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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $y b4xU  
S(7ro]U9  
struts.action.extension e${)w-R/e  
      The URL extension to use to determine if the request is meant for a Struts action &7_Qd4=08w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vVE7fq3  
H OBP`lf  
struts.configuration M?;y\vS?.  
      The org.apache.struts2.config.Configuration implementation class ~@kU3ZGJZ  
        org.apache.struts2.config.Configuration接口名 R N@ctRS  
fK(}Ce  
struts.configuration.files D$JHs4  
      A list of configuration files automatically loaded by Struts D0BI5q  
      struts自动加载的一个配置文件列表 M'!U<Y -  
F-*2LMe  
struts.configuration.xml.reload 1@lJonlF  
      Whether to reload the XML configuration or not %e@#ux m  
      是否加载xml配置(true,false) wM|" I^[  
@9&P~mo/  
struts.continuations.package j+HHQd7Y  
      The package containing actions that use Rife continuations mLL340c#\  
      含有actions的完整连续的package名称 9+keX{/c  
07hF2[i  
struts.custom.i18n.resources ]f1{n  
      Location of additional localization properties files to load b?eu jxqg  
      加载附加的国际化属性文件(不包含.properties后缀) 4WB-Ec  
IVW1]y  
struts.custom.properties 1J' 3g  
      Location of additional configuration properties files to load VAXT{s&4>  
      加载附加的配置文件的位置 pn*3\  
h`MF#617  
K'h1szW  
struts.devMode P<K){V  
      Whether Struts is in development mode or not wRrnniqf8  
      是否为struts开发模式 m5Tr-w$QY  
PpsIhMq@  
struts.dispatcher.parametersWorkaround ~l2aNVv;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S'HnBn /  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zuJtpMn  
{%#)5l)  
struts.enable.DynamicMethodInvocation RNQK  
      Allows one to disable dynamic method invocation from the URL  RD tU43  
        允许动态方法调用 0dh=fcb  
ZR\VCVH\^  
struts.freemarker.manager.classname _Ob@`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dZ _zg<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |!F5.%PY  
+,2Jzl'-  
struts.i18n.encoding -[qq(E  
      The encoding to use for localization messages +<prgP`v  
      国际化信息内码 MfmACd^3$  
b}Zd)2G  
struts.i18n.reload "l >Igm  
      Whether the localization messages should automatically be reloaded 4ikdM/  
      是否国际化信息自动加载 }(<%`G6N  
)Af~B'OUd  
struts.locale [le)P$#z  
      The default locale for the Struts application U?!>Nd  
      默认的国际化地区信息 mE^o-9/  
[ 4;Ii  
struts.mapper.class ]QuM<ms  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +D1d=4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +1~Z#^{&  
<x\7L2#p  
struts.multipart.maxSize Gy[O)PEEh  
      The maximize size of a multipart request (file upload) phE &7*!Q  
      multipart请求信息的最大尺寸(文件上传用) f7I{WfZ\P  
<94_@3  
struts.multipart.parser r",]Voibd  
      The org.apache.struts2.dispatcher.multipart. "z<azs  
      MultiPartRequest parser implementation for a multipart request (file upload) r &Ca" dI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r_YIpnJ  
Jdy=_88MD  
M_LXg%  
struts.multipart.saveDir )NR Q2  
      The directory to use for storing uploaded files +-B^Z On  
      设置存储上传文件的目录夹 H\ 1qI7N C  
G Xt4j  
struts.objectFactory b~BIz95  
      The com.opensymphony.xwork2.ObjectFactory implementation class {m`A!qcD|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) VB<Jf'NU  
bJ_cId8+  
struts.objectFactory.spring.autoWire  d^(1TNS  
      Whether Spring should autoWire or not kw`WH)+F  
      是否自动绑定Spring Il`tNr  
c)&>$S8*  
struts.objectFactory.spring.useClassCache s6o>m*{  
      Whether Spring should use its class cache or not ,p;_\\<  
      是否spring应该使用自身的cache g=T/_  
t\v+ogbk)  
struts.objectTypeDeterminer 8^B;1`#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1 qi@uYDug  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dO7;}>F$n  
u =gt<1U  
struts.serve.static.browserCache ?GBkqQ  
If static content served by the Struts filter should set browser caching header properties or not A$.fv5${  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N -w(e  
8j1ekv  
struts.serve.static F\ctuaLC  
      Whether the Struts filter should serve static content or not 2l5KJlfj>k  
      是否struts过滤器应该提供静态内容 ;W:6{9m ze  
m+ itno  
struts.tag.altSyntax ^zEE6i  
      Whether to use the alterative syntax for the tags or not ESb ]}c:  
      是否可以用替代的语法替代tags OlD`uA  
XN,,cU  
struts.ui.templateDir irTv4ZE'+l  
      The directory containing UI templates =l<iI*J. M  
      UI templates的目录夹 2q} ..  
6#A:}B<?  
struts.ui.theme x|eeRf|  
      The default UI template theme t5 a7DD  
      默认的UI template主题 !MQ N  H  
W 4YE~  
struts.url.http.port e~v(eK_  
      The HTTP port used by Struts URLs 1px\K8  
      设置http端口 si(;y](  
=neL}Fav56  
struts.url.https.port -Cid3~mX3  
      The HTTPS port used by Struts URLs *@ED}Mj+  
      设置https端口 5+X_4lEJK(  
pJ, @Y>  
struts.url.includeParams #G3N(wV3  
      The default includeParams method to generate Struts URLs #l1Qe`  
      在url中产生 默认的includeParams p SN~DvR  
AW5iV3  
?a/n<V '  
struts.velocity.configfile :u%$0p>  
      The Velocity configuration file path 'PdmI<eXQ  
      velocity配置文件路径 &d`^ E6#  
yZ}d+7T}  
struts.velocity.contexts rVA L|0;3  
      List of Velocity context names kReG:  
      velocity的context列表 < 8(?7QI  
INMP"1  
ecH/Wz1  
struts.velocity.manager.classname <rK=9"$y(t  
      org.apache.struts2.views.velocity.VelocityManager implementation class dGgP_ S  
      org.apache.struts2.views.velocity.VelocityManager接口名 qJ[@:&:  
 YRB%:D@u  
struts.velocity.toolboxlocation 'zgvQMu  
      The location of the Velocity toolbox :_d3//|  
      velocity工具盒的位置 &A50'8B2A  
struts.xslt.nocache qjC_*X!  
      Whether or not XSLT templates should not be cached 4?]oV%aP)  
      是否XSLT模版应该被缓存 c 8'Cq7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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