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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !po,Z&  
ZTTA??}Y  
struts.action.extension q-t%spkl  
      The URL extension to use to determine if the request is meant for a Struts action I0Do%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 r^"o!,H9q  
:fmV||Q  
struts.configuration MLr L"I"  
      The org.apache.struts2.config.Configuration implementation class .g/!u(iy  
        org.apache.struts2.config.Configuration接口名 VQ!4( <XD  
+_:p8, 5o  
struts.configuration.files |!K&h(J|  
      A list of configuration files automatically loaded by Struts |6NvByc,  
      struts自动加载的一个配置文件列表 :vi %7  
]/ !*^;cY(  
struts.configuration.xml.reload Q+f |.0r  
      Whether to reload the XML configuration or not !}c D e12  
      是否加载xml配置(true,false) @16y%]Q-E#  
Jha*BaD~N  
struts.continuations.package U+VJiz<!  
      The package containing actions that use Rife continuations <@`K^g;W  
      含有actions的完整连续的package名称 ]}SV%*{ %  
s;h`n$  
struts.custom.i18n.resources f@Mku0VT  
      Location of additional localization properties files to load PE7V1U#$o,  
      加载附加的国际化属性文件(不包含.properties后缀) '0 Ys`Qo  
+]t9kr  
struts.custom.properties >kAJS??  
      Location of additional configuration properties files to load 1%M^MT%&  
      加载附加的配置文件的位置 leHKBu'd  
IO #)r[JZ  
{$N\@q@v~  
struts.devMode 2h5T$[fV  
      Whether Struts is in development mode or not (a!E3y5,  
      是否为struts开发模式 e~QLzZ3  
j 1'H|4  
struts.dispatcher.parametersWorkaround NHZMH!=4:n  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic crd|r."  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yYOV:3!"  
6AD&%v  
struts.enable.DynamicMethodInvocation VFV8ik)  
      Allows one to disable dynamic method invocation from the URL w 8o?wx*  
        允许动态方法调用 I-.? qcy~  
VII`qbxT  
struts.freemarker.manager.classname P9\y~W  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  qjfv9sU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^ &KH|qRrO  
y3*IF2G  
struts.i18n.encoding fo}@B &=4  
      The encoding to use for localization messages JBQ>"X^  
      国际化信息内码 5YZ\@<|rH  
@W+8z#xr'  
struts.i18n.reload 21$^k5  
      Whether the localization messages should automatically be reloaded KI<x`b  
      是否国际化信息自动加载 f`8fNt  
z=k*D^X  
struts.locale ZbH6$2r  
      The default locale for the Struts application D622:Y886  
      默认的国际化地区信息 Zo-Au  
z"5e3w  
struts.mapper.class \i~5H]?d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K~L"A]+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @TKQ_7BcB  
7({.kD6  
struts.multipart.maxSize =L$RY2S"  
      The maximize size of a multipart request (file upload) "z.!h(Eq  
      multipart请求信息的最大尺寸(文件上传用) y^p%/p%  
@Ng q+uXm  
struts.multipart.parser [\HAJA,  
      The org.apache.struts2.dispatcher.multipart. IsL=DV/  
      MultiPartRequest parser implementation for a multipart request (file upload) r~;.8qs  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .hvn/5s  
/9y'UKl7[  
QL(}k)dB  
struts.multipart.saveDir ]*S_fme  
      The directory to use for storing uploaded files _ )^n[_E  
      设置存储上传文件的目录夹 \No22Je6d  
a7NX~9 g  
struts.objectFactory K3UG6S\B  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q!%CU8!`&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) I(WND/&  
~?A,GalS  
struts.objectFactory.spring.autoWire cmh/a~vYaY  
      Whether Spring should autoWire or not #iGz&S3iN$  
      是否自动绑定Spring P3XP=G`E  
(Gxv?\  
struts.objectFactory.spring.useClassCache j1toV$)P  
      Whether Spring should use its class cache or not dR /UXzrc  
      是否spring应该使用自身的cache sXC]{] P  
ZsPBs4<p  
struts.objectTypeDeterminer c9E9Rx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @p2dXJeR<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =09j1:''<d  
*DoEDw  
struts.serve.static.browserCache ~h[lu^ZSi  
If static content served by the Struts filter should set browser caching header properties or not {_MU0=7c\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 '*p-`  
J>Rt2K  
struts.serve.static 8CSvg{B  
      Whether the Struts filter should serve static content or not !c`Q?aGV)  
      是否struts过滤器应该提供静态内容 0\}j[-`pF  
PuABS>.;  
struts.tag.altSyntax ~KfjT p#  
      Whether to use the alterative syntax for the tags or not -+I! (?  
      是否可以用替代的语法替代tags l1_X5DI  
m~NWY$oI9[  
struts.ui.templateDir Xhkw<XbV  
      The directory containing UI templates &akMj@4;R  
      UI templates的目录夹 s9:2aLZ {  
Y.*lO  
struts.ui.theme 3yD5u  
      The default UI template theme |-aj$u%~  
      默认的UI template主题 1aMBCh<}JN  
|QgXSe7  
struts.url.http.port ;%z0iZmg  
      The HTTP port used by Struts URLs 0Rk'sEX,  
      设置http端口 5BCaE)J  
'Jl.fN  
struts.url.https.port s3kEux^  
      The HTTPS port used by Struts URLs mg,f>(  
      设置https端口 .y2<2eW  
ti#sh{t  
struts.url.includeParams w./EJk KI  
      The default includeParams method to generate Struts URLs c`}X2u]k  
      在url中产生 默认的includeParams zXf+ieo  
D\l.?<C  
-MEz`7c~  
struts.velocity.configfile Gf]s?J^a  
      The Velocity configuration file path Pd;ClMa%  
      velocity配置文件路径 |f}NO~CA  
&lS0"`J=  
struts.velocity.contexts tx1jBh:e=  
      List of Velocity context names z|?R=;,u`  
      velocity的context列表 Po4cbFZ  
|8`;55G  
TgB;R5  
struts.velocity.manager.classname PrKl whi#  
      org.apache.struts2.views.velocity.VelocityManager implementation class l?1!h2z%  
      org.apache.struts2.views.velocity.VelocityManager接口名 p+7BsW.l  
!^fJAtCN]  
struts.velocity.toolboxlocation ;VFr5.*x  
      The location of the Velocity toolbox lqCn5|S]  
      velocity工具盒的位置 g^4FzJ  
struts.xslt.nocache =U2Te  
      Whether or not XSLT templates should not be cached .}<B*e=y  
      是否XSLT模版应该被缓存 9iy|=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八