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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 r4mz   
ny1;]_X_  
struts.action.extension pZz\o  
      The URL extension to use to determine if the request is meant for a Struts action [ylRq7^e  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,pIh.sk7s*  
/mXxj93UA  
struts.configuration lFl(Sww!\  
      The org.apache.struts2.config.Configuration implementation class  stQ_Ke  
        org.apache.struts2.config.Configuration接口名 % :h %i|  
6=:s3I^  
struts.configuration.files ! k 1 Ge+  
      A list of configuration files automatically loaded by Struts @;\0cE n>  
      struts自动加载的一个配置文件列表 Q_>W!)p Gz  
rCUGaf~  
struts.configuration.xml.reload nF B]#LLv  
      Whether to reload the XML configuration or not ]f_`w81[  
      是否加载xml配置(true,false) h0$Y;=YA  
;SIWWuk  
struts.continuations.package eG7Yyz+t$  
      The package containing actions that use Rife continuations Y>6N2&Q  
      含有actions的完整连续的package名称 )2a)$qx;  
pX+4B=*  
struts.custom.i18n.resources S$ffTdRz  
      Location of additional localization properties files to load :V1j*)  
      加载附加的国际化属性文件(不包含.properties后缀) T+e*'<!O  
.cm2L,1h  
struts.custom.properties "VDMO^  
      Location of additional configuration properties files to load m?kyAW'|  
      加载附加的配置文件的位置 Dxy^r*B  
y @S_CB 47  
iX[g  
struts.devMode k.z(.uc=  
      Whether Struts is in development mode or not Y_K W9T_  
      是否为struts开发模式 NSM7n= *nh  
Ol~M BQs  
struts.dispatcher.parametersWorkaround l dqU#{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pH3<QNq5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }R11G9N.  
Z&O6<=bg!  
struts.enable.DynamicMethodInvocation qVfl6q5  
      Allows one to disable dynamic method invocation from the URL K)U[xS;<  
        允许动态方法调用 inip/&P?V  
Ss%1{s~ok  
struts.freemarker.manager.classname ~Up{zRD"B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AmC?qoEWQ7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zy5FO<->  
cPv(VjS1;  
struts.i18n.encoding bf|ePGW?  
      The encoding to use for localization messages )+R n[MMp  
      国际化信息内码 @S=9@3m{w;  
K`2(Q  
struts.i18n.reload hJsP;y:@Lm  
      Whether the localization messages should automatically be reloaded w@<II-9L)<  
      是否国际化信息自动加载 $1g1Bn  
=3 Vug2*wd  
struts.locale YZ`SF"Bd(  
      The default locale for the Struts application K_@?Q@#YhR  
      默认的国际化地区信息 :AS`1\ C  
e[16 7uU  
struts.mapper.class vd)zvI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,yA[XAz~U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S*$?~4{R  
zCuB+r=C  
struts.multipart.maxSize `CI_zc=jx  
      The maximize size of a multipart request (file upload) T;?k]4.X  
      multipart请求信息的最大尺寸(文件上传用) xJ2I@*DN  
|R1T;J<[  
struts.multipart.parser i[@13kr  
      The org.apache.struts2.dispatcher.multipart. Fn7OmxfD  
      MultiPartRequest parser implementation for a multipart request (file upload) Qn,6s%n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _&/ {A|n  
a6-.|tt#t  
B0%=! &  
struts.multipart.saveDir 9 h?'zyX B  
      The directory to use for storing uploaded files f:-l}Zj  
      设置存储上传文件的目录夹 Zskj?+1  
>=|p30\b  
struts.objectFactory ;0Pv49q  
      The com.opensymphony.xwork2.ObjectFactory implementation class nQoQNB  
      com.opensymphony.xwork2.ObjectFactory接口(spring) J|].h  
?*%_:fB  
struts.objectFactory.spring.autoWire |/vJ+aKq  
      Whether Spring should autoWire or not (6 Od   
      是否自动绑定Spring f um.G{}  
P.qzP/Ny  
struts.objectFactory.spring.useClassCache L-!1ybB^  
      Whether Spring should use its class cache or not r:;.?f@  
      是否spring应该使用自身的cache F,{mF2U*$  
KVJ, a  
struts.objectTypeDeterminer (Xcy/QT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fj)) Hnt(|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 i5t6$|u:&m  
[d8Q AO1;)  
struts.serve.static.browserCache RGE(#   
If static content served by the Struts filter should set browser caching header properties or not zD79M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p*&0d@'r  
qS2Nk.e]o  
struts.serve.static Z sTtSM\Ac  
      Whether the Struts filter should serve static content or not k%sH09   
      是否struts过滤器应该提供静态内容 2h'Wu qO  
Vh;zV Y  
struts.tag.altSyntax /rnI"ze`  
      Whether to use the alterative syntax for the tags or not qfyZda0d  
      是否可以用替代的语法替代tags c&!mKMrk  
acR|X@ \3  
struts.ui.templateDir Cq"KKuf  
      The directory containing UI templates hU8Y&R)=9  
      UI templates的目录夹 `om+p?j  
{PcJuRTHB  
struts.ui.theme <ZF|2  
      The default UI template theme r~lZ8$KC  
      默认的UI template主题 . \"k49M`  
0{|HRiQH9+  
struts.url.http.port R<Lf>p>_  
      The HTTP port used by Struts URLs `daqzn  
      设置http端口 wOl?(w=|  
WXl+w7jr  
struts.url.https.port ksOGCd^G7  
      The HTTPS port used by Struts URLs 6JDHwV  
      设置https端口 hd(FOKOP  
`x#Ud)g  
struts.url.includeParams DS<1"4 b|  
      The default includeParams method to generate Struts URLs K"H\gmV_ g  
      在url中产生 默认的includeParams ) ;\c{QF  
3/@z4:p0R  
 ir6' \  
struts.velocity.configfile *[3xc*5F/A  
      The Velocity configuration file path _!R$a-  
      velocity配置文件路径 )rD!4"8/A  
x8PT+KC  
struts.velocity.contexts N8b\OTk2  
      List of Velocity context names fI613ww]  
      velocity的context列表 hTr5Q33y>  
3}0\W.jH  
G @..?>  
struts.velocity.manager.classname {`QHg O  
      org.apache.struts2.views.velocity.VelocityManager implementation class d]pb1ECuu  
      org.apache.struts2.views.velocity.VelocityManager接口名 '7-Yo Q  
xzm]v9k&  
struts.velocity.toolboxlocation z%%O-1   
      The location of the Velocity toolbox !hBpon  
      velocity工具盒的位置 jO-?t9^  
struts.xslt.nocache bf"'xn9  
      Whether or not XSLT templates should not be cached i#]e&Bru5  
      是否XSLT模版应该被缓存 GQqGrUQ*}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八