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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "\+\,C  
p<D@l2vt  
struts.action.extension I+Yq",{%  
      The URL extension to use to determine if the request is meant for a Struts action ,\+N}F^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 //r)dN^  
N@X6Z!EO  
struts.configuration "u sPzp5  
      The org.apache.struts2.config.Configuration implementation class w `d9" n  
        org.apache.struts2.config.Configuration接口名 9k9}57m.i  
&%(Dd  
struts.configuration.files \L?A4Qx)_  
      A list of configuration files automatically loaded by Struts @>ys,dy  
      struts自动加载的一个配置文件列表 FnOa hLS  
,qB@agjvo<  
struts.configuration.xml.reload By[M|4a  
      Whether to reload the XML configuration or not q l5&&e=-  
      是否加载xml配置(true,false) ^u90N>Dvq  
/9SoVU8  
struts.continuations.package N2j^fZd_  
      The package containing actions that use Rife continuations VL"Cxs  
      含有actions的完整连续的package名称 !%(kMN  
M|@@ LJ'  
struts.custom.i18n.resources `l70i2xcj  
      Location of additional localization properties files to load i& \ >/ 1  
      加载附加的国际化属性文件(不包含.properties后缀) /`#JM  
l*CCnqE  
struts.custom.properties %)d7iT~M  
      Location of additional configuration properties files to load G"L`9E<0V  
      加载附加的配置文件的位置 ?Ec{%N%  
D^s#pOZS  
 (t@!0_5  
struts.devMode kbH@h2Ww  
      Whether Struts is in development mode or not +_*iF5\  
      是否为struts开发模式 5}5oj37x  
yP` K [/  
struts.dispatcher.parametersWorkaround spQr1hx<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ms3GvPsgv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kQ2WdpZ/  
t1yfSStp  
struts.enable.DynamicMethodInvocation fX\y/C  
      Allows one to disable dynamic method invocation from the URL @0tX ,Z9  
        允许动态方法调用 ?djH!  
psiuoYf  
struts.freemarker.manager.classname sUiO~<Ozpk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CZy3]O"qW  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @a=jSB#B  
dxS5-aWy9w  
struts.i18n.encoding Tgla_sMb  
      The encoding to use for localization messages bl10kI:F  
      国际化信息内码 qMA";Frt3N  
fceO|mSz_  
struts.i18n.reload O^ &m  
      Whether the localization messages should automatically be reloaded 23'<R i  
      是否国际化信息自动加载 (?GW/pLK]  
"HH<5  M  
struts.locale 6u`$a&dR'l  
      The default locale for the Struts application Qk|+Gj  
      默认的国际化地区信息 7G Erh,  
a>d`g  
struts.mapper.class b53s@7/mq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E1w8d4P,G  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *L Y6hph"  
tt6GtYrC 1  
struts.multipart.maxSize g"c7$  
      The maximize size of a multipart request (file upload) ;v.J D7  
      multipart请求信息的最大尺寸(文件上传用) @W==)S%O  
/+ais 3  
struts.multipart.parser Oc.8d<  
      The org.apache.struts2.dispatcher.multipart. \PG_i'R  
      MultiPartRequest parser implementation for a multipart request (file upload) Nm-E4N#'i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |(,{&\  
6p3cMJ'8y  
_^ n>kLd$  
struts.multipart.saveDir A9J{>f  
      The directory to use for storing uploaded files ?s)6 YF  
      设置存储上传文件的目录夹 }5 $le]  
[ `_sH\  
struts.objectFactory d@b2XCh<K  
      The com.opensymphony.xwork2.ObjectFactory implementation class U17=/E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) B T {cTj0W  
q@ wX=  
struts.objectFactory.spring.autoWire e5; YY  
      Whether Spring should autoWire or not x'6i9]+r  
      是否自动绑定Spring q& KNK  
id`RscV]  
struts.objectFactory.spring.useClassCache Pj BBXI1i  
      Whether Spring should use its class cache or not c]$$ap  
      是否spring应该使用自身的cache \TDn q!)?  
g]BA/Dw  
struts.objectTypeDeterminer Y$./!lVY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PTXS8e4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K pmq C$  
]MB6++.e  
struts.serve.static.browserCache dRBWJ/ 1T  
If static content served by the Struts filter should set browser caching header properties or not P#AS")Sj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 PsN_c[+  
EHrr}&  
struts.serve.static )yS8(F0  
      Whether the Struts filter should serve static content or not 5zH_yZ@+  
      是否struts过滤器应该提供静态内容 ne=CN!=  
z!)@`?  
struts.tag.altSyntax  `dIwBfg_  
      Whether to use the alterative syntax for the tags or not "nU] 2  
      是否可以用替代的语法替代tags 2FEi-m}  
Oki{)Ssy  
struts.ui.templateDir Dc0CQGx9b  
      The directory containing UI templates &,$N|$yK}|  
      UI templates的目录夹 cPX^4d~9  
M} Mgz  
struts.ui.theme Ce} m_  
      The default UI template theme @R;&PR#5  
      默认的UI template主题 2 e&M/{  
i~rb-~o  
struts.url.http.port 0m4'm<2m  
      The HTTP port used by Struts URLs H"wIa8A  
      设置http端口 wM! dz&  
,Eo\(j2F.  
struts.url.https.port YAd%d|Q  
      The HTTPS port used by Struts URLs [ic%ZoZ_  
      设置https端口 TpxAp',#7  
6ck%M#v  
struts.url.includeParams Tb{RQ?Nw'  
      The default includeParams method to generate Struts URLs s $ ?;C  
      在url中产生 默认的includeParams bl#6B.*=  
gq~"Z[T  
Nwk^r75lq  
struts.velocity.configfile ^[Y/ +Q.J  
      The Velocity configuration file path L),bP fz  
      velocity配置文件路径 p Moza8  
T[2<_nn=  
struts.velocity.contexts 9rT"_d#  
      List of Velocity context names j? Vs"d|  
      velocity的context列表 M%7|7V<o)^  
)-25?B  
WnA Y<hZ|  
struts.velocity.manager.classname 3=%G{L16-  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^grDP*;W  
      org.apache.struts2.views.velocity.VelocityManager接口名 dcfwUjp[  
 gOy{ RE  
struts.velocity.toolboxlocation JX`>N(K4\  
      The location of the Velocity toolbox f,ql8q(|J  
      velocity工具盒的位置 (*\y  
struts.xslt.nocache u/FC\xJc  
      Whether or not XSLT templates should not be cached 2m9qg-W  
      是否XSLT模版应该被缓存 %Lq}5zB  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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