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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *@XJ7G[  
|Ew~3-u!  
struts.action.extension -FAAP&LG  
      The URL extension to use to determine if the request is meant for a Struts action Auq)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rj.]M6#  
| JmEI9n2  
struts.configuration aaN|g{pX  
      The org.apache.struts2.config.Configuration implementation class w4:  
        org.apache.struts2.config.Configuration接口名 HG1)q\Xd  
syEWc(5  
struts.configuration.files R3HfE*;Z  
      A list of configuration files automatically loaded by Struts qhKW6v  
      struts自动加载的一个配置文件列表 B{#*PAK=  
,9(=Iu-?1  
struts.configuration.xml.reload EXdx$I=X  
      Whether to reload the XML configuration or not lw.4O^  
      是否加载xml配置(true,false) d!V;\w  
[r_YQ*+ej  
struts.continuations.package A]z~Dw3  
      The package containing actions that use Rife continuations H%!ED1zpA  
      含有actions的完整连续的package名称 Px!M^ T!Pi  
D!K){ E  
struts.custom.i18n.resources ST#OO!  
      Location of additional localization properties files to load (XQBBt  
      加载附加的国际化属性文件(不包含.properties后缀) q'07  
)zFPf]gz  
struts.custom.properties :YZqrcr}  
      Location of additional configuration properties files to load j^t#>tZS  
      加载附加的配置文件的位置 'nK(cKDIG  
1eg/<4]hA  
CXb-{|I}d  
struts.devMode 7*!h:rg  
      Whether Struts is in development mode or not xq?9w$  
      是否为struts开发模式 _I("k:E7  
]BY^.!Y  
struts.dispatcher.parametersWorkaround H nKO  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e?Pzhh a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) EFb1Y{u^\!  
S%h[e[[fST  
struts.enable.DynamicMethodInvocation E>/kNl  
      Allows one to disable dynamic method invocation from the URL 9WXJz;  
        允许动态方法调用 @Axwj   
kRCuc}:SB  
struts.freemarker.manager.classname UStNUNCq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x@-bY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 px@:t}  
(J c} K  
struts.i18n.encoding PT9,R^2T!  
      The encoding to use for localization messages uQ^r1 $#  
      国际化信息内码 "pb$[*_@$  
E%R^ kqqr  
struts.i18n.reload nUAoPE  
      Whether the localization messages should automatically be reloaded nqG9$!k^t  
      是否国际化信息自动加载 Ca: jN0  
QJBzv|  
struts.locale P'.M.I@  
      The default locale for the Struts application pEc|h*p8  
      默认的国际化地区信息 h$#QRH  
k{*IR  
struts.mapper.class +- ~:E_G  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ub C(%Y_k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 taS2b#6\+  
fS08q9,S/  
struts.multipart.maxSize 3Un{Q~6h  
      The maximize size of a multipart request (file upload) RC_w 1:h  
      multipart请求信息的最大尺寸(文件上传用) ^DL}J>F9G  
c7$L:  
struts.multipart.parser zTDB]z!A  
      The org.apache.struts2.dispatcher.multipart. #~A(%a  
      MultiPartRequest parser implementation for a multipart request (file upload) _ >)+ u  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R3nCk-Dq  
m/,.3v  
OH`| c  
struts.multipart.saveDir %9,:  
      The directory to use for storing uploaded files o,| LO$~  
      设置存储上传文件的目录夹 9(;5!q,Gsg  
08J[9a0[  
struts.objectFactory }?"}R<F|M,  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]*I:N  
      com.opensymphony.xwork2.ObjectFactory接口(spring) uFseO9F.2  
\)\uAI-  
struts.objectFactory.spring.autoWire X<\E 'v`~  
      Whether Spring should autoWire or not +mM=`[Z`??  
      是否自动绑定Spring =T73660  
^Eu]i  
struts.objectFactory.spring.useClassCache 4uQ\JD(*Eu  
      Whether Spring should use its class cache or not en"]u,!  
      是否spring应该使用自身的cache 6#A g^A  
!N\<QRb\q  
struts.objectTypeDeterminer _zAHN0d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R+'$V$g\X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K? ;_T$^K  
T&M*sydA  
struts.serve.static.browserCache $XBn:0U  
If static content served by the Struts filter should set browser caching header properties or not tUS)1*{_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v'R{lXE  
m5!~PG:_  
struts.serve.static P}So>P~2  
      Whether the Struts filter should serve static content or not ^*CvKCS  
      是否struts过滤器应该提供静态内容 (0L7Ivg<  
3NI3b-7  
struts.tag.altSyntax pkW }\r  
      Whether to use the alterative syntax for the tags or not NSQ}:m  
      是否可以用替代的语法替代tags \Wdl1 =`  
|Z]KF>S]  
struts.ui.templateDir l;*/F`>c  
      The directory containing UI templates xvP=i/SO  
      UI templates的目录夹  ]/l"  
Q5[x2 s_d  
struts.ui.theme :O`7kZ]=n  
      The default UI template theme bve_*7CEM  
      默认的UI template主题 4*k>M+o/C4  
+iS'$2)@  
struts.url.http.port AYhWeI+  
      The HTTP port used by Struts URLs 9YpgzCx Z  
      设置http端口 bW"bkA80  
eWKFs)C]  
struts.url.https.port 2nNBX2 o&_  
      The HTTPS port used by Struts URLs glMYEGz6p  
      设置https端口 jZjWz1+  
o!R.QI^2VT  
struts.url.includeParams r]e1a\)r  
      The default includeParams method to generate Struts URLs B3x4sK s  
      在url中产生 默认的includeParams $8/=@E{51  
baLO~C  
?vmu,y  
struts.velocity.configfile L<t>o":o  
      The Velocity configuration file path n$2Ia E;v  
      velocity配置文件路径 W<f-  
gN,O)@N'd3  
struts.velocity.contexts 3.i$lp`t  
      List of Velocity context names #?x!:i$-  
      velocity的context列表 eAU0 8gM.  
to2; . ~X  
U2v;[>=]  
struts.velocity.manager.classname [HRry2#s  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^Rr!YnEN  
      org.apache.struts2.views.velocity.VelocityManager接口名  ?cG~M|@  
zKh^BwhO|X  
struts.velocity.toolboxlocation 6MCLm.L  
      The location of the Velocity toolbox jeKqS  
      velocity工具盒的位置 |j 9d.M  
struts.xslt.nocache  Dno]N  
      Whether or not XSLT templates should not be cached \ a#{Y/j3  
      是否XSLT模版应该被缓存 6?;U[eV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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