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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *z(.D\{%  
F:\y#U6"J  
struts.action.extension tvg7mU]l  
      The URL extension to use to determine if the request is meant for a Struts action Yu8WmX,[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "BTA"  
6I>W(_T  
struts.configuration  u2DsjaL  
      The org.apache.struts2.config.Configuration implementation class F6fm{  
        org.apache.struts2.config.Configuration接口名 F'Wef11Yz  
{}.c.W+  
struts.configuration.files Z{e5 OJ  
      A list of configuration files automatically loaded by Struts Y H?>2u  
      struts自动加载的一个配置文件列表 &)wQ|{P~k  
[H"Ods~_`  
struts.configuration.xml.reload #$8tBo  
      Whether to reload the XML configuration or not O /GD[9$i  
      是否加载xml配置(true,false) #$A6s~`B  
wi&m(f(~  
struts.continuations.package }g`A*y;t  
      The package containing actions that use Rife continuations f'}23\>  
      含有actions的完整连续的package名称 {Xl 5F.q  
lD{9o2  
struts.custom.i18n.resources )`L!eN  
      Location of additional localization properties files to load  Z3I<  
      加载附加的国际化属性文件(不包含.properties后缀) &3AGj,  
/at#[Pw~01  
struts.custom.properties }+u<^7$g|  
      Location of additional configuration properties files to load j| 257D  
      加载附加的配置文件的位置 {6~W2zX&  
DTJ~.  
wD*_S}]  
struts.devMode c|I{U[(U  
      Whether Struts is in development mode or not yvVs9"|0  
      是否为struts开发模式 9<xe%V=ki  
QjRVdb>  
struts.dispatcher.parametersWorkaround af> i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b|4h2iuM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) H1q>UU:  
p[W8XX  
struts.enable.DynamicMethodInvocation 1N2:4|woe  
      Allows one to disable dynamic method invocation from the URL N<?RN;M  
        允许动态方法调用 5 1 L:%Af  
br0gB3 r  
struts.freemarker.manager.classname O-G4^V8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g6nBu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mvYr"6f8  
Iy"   
struts.i18n.encoding y\ouIsI77  
      The encoding to use for localization messages 96 C|R  
      国际化信息内码 ;N i+TS  
b`1P%OjC  
struts.i18n.reload 03# r F@e  
      Whether the localization messages should automatically be reloaded cA_v*`YL  
      是否国际化信息自动加载 Yj;$hV8j(  
cz.-cuD[iD  
struts.locale @1rF9< 4g  
      The default locale for the Struts application {X8F4  
      默认的国际化地区信息 =7Nm= 5@  
%vMi kibI  
struts.mapper.class vk{dL'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,u! c|4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MTa.Ubs  
84|Hn|4t  
struts.multipart.maxSize WtdWD_\%Y\  
      The maximize size of a multipart request (file upload) ;c~6^s`2  
      multipart请求信息的最大尺寸(文件上传用) %1xo|6hm-  
taI])  
struts.multipart.parser HHT K{X+  
      The org.apache.struts2.dispatcher.multipart. rW!P~yk  
      MultiPartRequest parser implementation for a multipart request (file upload) \u:xDS(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \O@,v0?R  
:h?Zg(l  
\9<aCJxN  
struts.multipart.saveDir ;Q-(tGd  
      The directory to use for storing uploaded files #j'O rD  
      设置存储上传文件的目录夹 hCc I >[H5  
2v yB [(  
struts.objectFactory iv\?TAZC  
      The com.opensymphony.xwork2.ObjectFactory implementation class {cC9 }w  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [O9(sWL'  
)7:2v1Xr]  
struts.objectFactory.spring.autoWire .}2^YOmd  
      Whether Spring should autoWire or not C$Ldz=d  
      是否自动绑定Spring |f.=Y~aY  
 Trm)7B*  
struts.objectFactory.spring.useClassCache ?GX 5Pvg  
      Whether Spring should use its class cache or not |Q.t]TR'P  
      是否spring应该使用自身的cache w#]%I+  
mG\,T3/*  
struts.objectTypeDeterminer .#Z}}W#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class TRG"fVR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 GIt; Y  
m?bb/o'B  
struts.serve.static.browserCache %0. o(U  
If static content served by the Struts filter should set browser caching header properties or not Hz!+g'R!Gs  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8qo{%  
OP%h`  
struts.serve.static ;OE{&  
      Whether the Struts filter should serve static content or not NC|&7qQ  
      是否struts过滤器应该提供静态内容 |$^,e%bE  
1u 'x|Un  
struts.tag.altSyntax d{I|4h  
      Whether to use the alterative syntax for the tags or not ]g!k'@  
      是否可以用替代的语法替代tags QV7K~qi  
RCnN+b:c  
struts.ui.templateDir ,RDxu7iT  
      The directory containing UI templates  E~jNUTq  
      UI templates的目录夹 =^O8 4Cp 6  
3]M YH b  
struts.ui.theme SO3WOR`3  
      The default UI template theme hPP+lqY[  
      默认的UI template主题 8&f}GdZh  
+u:8#!X$RD  
struts.url.http.port 'l)@MX bGL  
      The HTTP port used by Struts URLs ?}bSQ)b  
      设置http端口 WUMx:a0!  
&YDb/{|CIC  
struts.url.https.port D9+a"2|3<  
      The HTTPS port used by Struts URLs '&'? S  
      设置https端口 fw'$HV76  
L*Xn!d%  
struts.url.includeParams m},nKsO  
      The default includeParams method to generate Struts URLs wnN@aO6g*  
      在url中产生 默认的includeParams m RxL%!  
qdjRw#LS^q  
:Dw;RcZQ  
struts.velocity.configfile ?7Y X @x  
      The Velocity configuration file path !634 8nU:  
      velocity配置文件路径 v93+<@Z  
R1\cAP^ 0  
struts.velocity.contexts Y:ZI9JK?  
      List of Velocity context names X_ !Sm  
      velocity的context列表 z@{|Y;s  
ko>SnE|w#  
2p8JqZMQb  
struts.velocity.manager.classname L5]*ZCDv  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]nEN3RJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 l92#F*  
9v_gR52vh  
struts.velocity.toolboxlocation to(OVg7_  
      The location of the Velocity toolbox 0[x?Q[~S_0  
      velocity工具盒的位置 8HxB\ !0F?  
struts.xslt.nocache &H-39;?u  
      Whether or not XSLT templates should not be cached w(<; $9  
      是否XSLT模版应该被缓存 M\DUx5d J,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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