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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ";3zX k[#  
3Nq N \5B:  
struts.action.extension I'uSp-Sfy  
      The URL extension to use to determine if the request is meant for a Struts action mt,OniU=Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Zc W:6po>  
j2QmxTa!  
struts.configuration /SrCElabP  
      The org.apache.struts2.config.Configuration implementation class 45,1-? -!  
        org.apache.struts2.config.Configuration接口名 >`A9[`$n  
n:yTeZ=-s4  
struts.configuration.files ;c4 gv,q@  
      A list of configuration files automatically loaded by Struts *Zt#U#  
      struts自动加载的一个配置文件列表 uVJDne,R  
TU:7Df  
struts.configuration.xml.reload ^eo|P~w g  
      Whether to reload the XML configuration or not 59"UL\3  
      是否加载xml配置(true,false) 3|'>`!hb  
#~C]ZrK  
struts.continuations.package xI($Uu}S  
      The package containing actions that use Rife continuations /5Oa,NS7  
      含有actions的完整连续的package名称 1*9U1\z  
}]lr>"~y}  
struts.custom.i18n.resources L"o>wYx  
      Location of additional localization properties files to load kXi6lh  
      加载附加的国际化属性文件(不包含.properties后缀) Z -W(l<  
=;2%a(  
struts.custom.properties {L/tst#C  
      Location of additional configuration properties files to load Y@N,qHtz  
      加载附加的配置文件的位置 SqEgn}m$  
- jb0o/:  
i} .&0Fp  
struts.devMode lT&eJO~?5  
      Whether Struts is in development mode or not uRZZxZ  
      是否为struts开发模式 _kU:Z  
o<COm9)i  
struts.dispatcher.parametersWorkaround 60J;sGW  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !cO]<CWPq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `(_s|-$  
KH(%?  
struts.enable.DynamicMethodInvocation gMWjk7  
      Allows one to disable dynamic method invocation from the URL <}<zgOT[1!  
        允许动态方法调用 =cm~vDl[  
lku[dQdk  
struts.freemarker.manager.classname Ye2 {f"F  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _AAaC_q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !g5xq  
bpH^:fyLU`  
struts.i18n.encoding vms|x wb  
      The encoding to use for localization messages $~VRza 8Q  
      国际化信息内码 K 1 a\b"  
1IC~e^"  
struts.i18n.reload 5ni~Q 9b  
      Whether the localization messages should automatically be reloaded T 6)bD&  
      是否国际化信息自动加载 b{L/4bu  
r:f[mk"-"A  
struts.locale [d(U38BI  
      The default locale for the Struts application nbm&wa[  
      默认的国际化地区信息 1FlX'[vh  
U+:m4a  
struts.mapper.class _+K_5IO4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >7I15U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1 *'HL#  
*>|gxM8  
struts.multipart.maxSize + +M$#Er&  
      The maximize size of a multipart request (file upload) 'ig&$fzb  
      multipart请求信息的最大尺寸(文件上传用) #_6I w`0  
Q=AavKn#  
struts.multipart.parser :S<f?* }:  
      The org.apache.struts2.dispatcher.multipart. i V'k}rXC  
      MultiPartRequest parser implementation for a multipart request (file upload) N/ %WsQp  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /178A;J y  
H*ow\ Ct  
([SU:F!uW(  
struts.multipart.saveDir }001K  
      The directory to use for storing uploaded files sf)EMh3Z  
      设置存储上传文件的目录夹 L ^q""[  
w80oXXs[#  
struts.objectFactory ,l !Ta "  
      The com.opensymphony.xwork2.ObjectFactory implementation class _FH`pv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) v|uAzM{73  
ABQ('#78  
struts.objectFactory.spring.autoWire ';3{T:I  
      Whether Spring should autoWire or not "P 7nNa  
      是否自动绑定Spring ; <&*rnH  
ar__ Pf6r  
struts.objectFactory.spring.useClassCache JmxH"7hTE  
      Whether Spring should use its class cache or not B8": 2HrW$  
      是否spring应该使用自身的cache \NgYTZ  
N5Q[nd  
struts.objectTypeDeterminer c3 jx+Q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,\_1w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,K9*%rW)  
WI-&x '  
struts.serve.static.browserCache % tS,}ze  
If static content served by the Struts filter should set browser caching header properties or not /t+f{VX$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o /j*d3  
(;T^8mI2  
struts.serve.static :r{<zd>;  
      Whether the Struts filter should serve static content or not /]K^ rw[  
      是否struts过滤器应该提供静态内容 a1EOJ^}0  
&"yx<&c}  
struts.tag.altSyntax y0sR6TY)f  
      Whether to use the alterative syntax for the tags or not  Uwf +  
      是否可以用替代的语法替代tags yv t.  
]A~WIF  
struts.ui.templateDir [<n2Uz7MP  
      The directory containing UI templates (}Z@R#njH  
      UI templates的目录夹 /rWd=~[MO  
3{'Ne}5%I  
struts.ui.theme 5rw 7;'  
      The default UI template theme dP3CG8w5  
      默认的UI template主题 i3tg6o4C  
GeyvId03H  
struts.url.http.port aI P  
      The HTTP port used by Struts URLs EMY/~bQW  
      设置http端口 idLWe9gC  
.nrMfl_  
struts.url.https.port q]T1dz?  
      The HTTPS port used by Struts URLs z[b@ V  
      设置https端口 iW$_zgN  
d' !]ZWe  
struts.url.includeParams RIlwdt  
      The default includeParams method to generate Struts URLs ^uKwB;@  
      在url中产生 默认的includeParams |Luqoa  
Q_"]+i]s@  
f.D?sHAn  
struts.velocity.configfile MqW7cjg  
      The Velocity configuration file path TrlZ9?3#D  
      velocity配置文件路径 mWoAO@}Y  
o} J&E{Tk  
struts.velocity.contexts s^Y"'`+  
      List of Velocity context names $Q&lSVQ  
      velocity的context列表 K'L^;z6  
r+A{JHnN  
Vc 1\i  
struts.velocity.manager.classname 00(on28b  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;D3C >7y  
      org.apache.struts2.views.velocity.VelocityManager接口名 e|)hG8FlF  
CyJEY-  
struts.velocity.toolboxlocation 95ZyP!  
      The location of the Velocity toolbox ni.cTOSx  
      velocity工具盒的位置 nCUg ,;_=  
struts.xslt.nocache v\c>b:AofD  
      Whether or not XSLT templates should not be cached EAT"pxP  
      是否XSLT模版应该被缓存 N-G1h?e4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八