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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 , -Lv3  
i{J[;rV9  
struts.action.extension Uf$IH!5;Z  
      The URL extension to use to determine if the request is meant for a Struts action z_z '3d.r7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Yc(lY N  
_ `7[}M~  
struts.configuration Pp|pH|(n ,  
      The org.apache.struts2.config.Configuration implementation class fK=vLcH  
        org.apache.struts2.config.Configuration接口名 wp-3U}P2(  
23q2u6.F`  
struts.configuration.files `7',RUj|D  
      A list of configuration files automatically loaded by Struts _'s5FlZq  
      struts自动加载的一个配置文件列表 N=:xyv  
u)ZZ/|  
struts.configuration.xml.reload ['0^gN$:e  
      Whether to reload the XML configuration or not IRI<no  
      是否加载xml配置(true,false) c;R .rV<  
8EI&}I  
struts.continuations.package Z,b^f Vw  
      The package containing actions that use Rife continuations a &R,jq  
      含有actions的完整连续的package名称 1+Y; "tT  
.fY$$aD$4  
struts.custom.i18n.resources 8@I.\u)0  
      Location of additional localization properties files to load 89A04HX  
      加载附加的国际化属性文件(不包含.properties后缀) Szlww  
_LZ 442  
struts.custom.properties Je` w/Hl/U  
      Location of additional configuration properties files to load Q9t.*+  
      加载附加的配置文件的位置 "S&1J8D|  
}HZ'i;~r|9  
KhbbGdmfS$  
struts.devMode ;{cl*EN  
      Whether Struts is in development mode or not 'zTa]y]a  
      是否为struts开发模式 6IM:Xj  
P99s   
struts.dispatcher.parametersWorkaround m3_)UIJZ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #DH eEE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) niM(0p  
t]pJt  
struts.enable.DynamicMethodInvocation &44?k:  
      Allows one to disable dynamic method invocation from the URL ]^l-k@  
        允许动态方法调用 Xc]Q_70O  
 Qp>Q-+e0  
struts.freemarker.manager.classname *(<3 oIRS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =TXc - J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 k8"[)lDc.  
v y F(k3W  
struts.i18n.encoding UIw6~a3E  
      The encoding to use for localization messages cGjkx3l*  
      国际化信息内码 eD 7Rv<  
Z?'){\$*  
struts.i18n.reload knZ<V%/e  
      Whether the localization messages should automatically be reloaded cNqw(\rr  
      是否国际化信息自动加载 :y[tZ&*<_?  
Q|cA8Fn  
struts.locale oI%.oP}G  
      The default locale for the Struts application  \R<OT%8  
      默认的国际化地区信息 8f|+045E@  
MT@Uu  
struts.mapper.class SkA"MhX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '~'3x4Bo  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @BXV>U2B{  
%|3UWN  
struts.multipart.maxSize Eh f{Kl  
      The maximize size of a multipart request (file upload) b ~FmX  
      multipart请求信息的最大尺寸(文件上传用) aD3Q-a[  
5($ '@u  
struts.multipart.parser pG:)u cj  
      The org.apache.struts2.dispatcher.multipart. u@zBE? g  
      MultiPartRequest parser implementation for a multipart request (file upload) -^7n+ QX  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uc;QSVWGy8  
doaqHri\,  
tt>=Vt '  
struts.multipart.saveDir meV RdQ  
      The directory to use for storing uploaded files _26F[R1><~  
      设置存储上传文件的目录夹 ktKT=(F&  
bwh.ekf8  
struts.objectFactory qT L@N9  
      The com.opensymphony.xwork2.ObjectFactory implementation class GQ9g$&T  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ub] w"N  
V]9 ?9-r  
struts.objectFactory.spring.autoWire 3bPvL/\Lb  
      Whether Spring should autoWire or not 'H,l\i@"  
      是否自动绑定Spring KcjP39@I  
I*K~GXWs#  
struts.objectFactory.spring.useClassCache yS-owtVCGF  
      Whether Spring should use its class cache or not `_v|O{DC{  
      是否spring应该使用自身的cache ^UK6q2[  
VN8ao0^d;d  
struts.objectTypeDeterminer sxLq'3(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ZK]C!8\2|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |bz,cvlP W  
]={{$}8.  
struts.serve.static.browserCache bdCpGG9  
If static content served by the Struts filter should set browser caching header properties or not -.E<~(fad  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Wz7jB6AWA  
R#Bdfmld q  
struts.serve.static ;=6~,k)  
      Whether the Struts filter should serve static content or not bXiT}5mJU  
      是否struts过滤器应该提供静态内容 5q?ZuAAA  
b=+'i  
struts.tag.altSyntax ?o9g5Z  
      Whether to use the alterative syntax for the tags or not *^u5?{$l(  
      是否可以用替代的语法替代tags Kq;Yb&  
FiqcM-Af4  
struts.ui.templateDir 6(}8[i:  
      The directory containing UI templates SpY%2Y.Dy  
      UI templates的目录夹 iB5Se  
# -Ts]4v  
struts.ui.theme UpS`KgF"v  
      The default UI template theme MLcc   
      默认的UI template主题 ( Qw"^lE3  
;HJ|)PN5L  
struts.url.http.port g+k0Fw]!  
      The HTTP port used by Struts URLs u#Qd `@p  
      设置http端口 Ro?a DrQ  
b#^UP  
struts.url.https.port ; ,]T|> M  
      The HTTPS port used by Struts URLs j xr~cp?4  
      设置https端口 DO$jX 4  
|L4K#  
struts.url.includeParams m>'sM1s  
      The default includeParams method to generate Struts URLs fgP_NYfOj  
      在url中产生 默认的includeParams tq^H)  
b^\u P  
  Hs8c%C  
struts.velocity.configfile |}\et ecB  
      The Velocity configuration file path ,!3G  
      velocity配置文件路径 Kuy,qZv!"  
P/?`  
struts.velocity.contexts iFW)}_.  
      List of Velocity context names Q': }'CI  
      velocity的context列表 Xb=9~7&,$  
R1FBH:Iu  
_{6QvD3kg.  
struts.velocity.manager.classname X/TuiKe  
      org.apache.struts2.views.velocity.VelocityManager implementation class [(Pm\o  
      org.apache.struts2.views.velocity.VelocityManager接口名 @twClk.s  
(yCF pb  
struts.velocity.toolboxlocation 8|w_PP1oE  
      The location of the Velocity toolbox iP;X8'< BC  
      velocity工具盒的位置 0zaE?dA]  
struts.xslt.nocache (<pc4#B@*  
      Whether or not XSLT templates should not be cached /4]M*ls  
      是否XSLT模版应该被缓存 QOkPliX  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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