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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 m-dne/%_  
vO%n~l=  
struts.action.extension p8oOm>B96n  
      The URL extension to use to determine if the request is meant for a Struts action x$J1%K*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2+TCFpv  
*.r i8  
struts.configuration X7?p$!M6;B  
      The org.apache.struts2.config.Configuration implementation class 9loWh5_1Z  
        org.apache.struts2.config.Configuration接口名 |zKe*H/  
{%9)l,  
struts.configuration.files \ZigG{  
      A list of configuration files automatically loaded by Struts S WVeUL#5  
      struts自动加载的一个配置文件列表 =2\k Jv3  
Ps+0qqT*  
struts.configuration.xml.reload tjBs>w  
      Whether to reload the XML configuration or not rC14X}X6  
      是否加载xml配置(true,false) n %"q>  
yN5g]U. Q  
struts.continuations.package 4cRF3$a md  
      The package containing actions that use Rife continuations $}jp=?,t  
      含有actions的完整连续的package名称 'LpJ:Th  
tlV>  
struts.custom.i18n.resources Q'~kWmLf  
      Location of additional localization properties files to load >t)vQ&:;u  
      加载附加的国际化属性文件(不包含.properties后缀) U>IllNd  
!Sy._NE`z  
struts.custom.properties _Buwz_[&  
      Location of additional configuration properties files to load \acJ9N  
      加载附加的配置文件的位置 U,LW(wueT  
';hU&D;s  
lt|\$Iy(  
struts.devMode |o6 h:g  
      Whether Struts is in development mode or not XpdDIKMmE  
      是否为struts开发模式 #25Z,UU  
6B)(kPW  
struts.dispatcher.parametersWorkaround ~.u}v~ F  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T(MS,AyD]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Sav]Kxq{  
M")JbuI  
struts.enable.DynamicMethodInvocation @H= d8$  
      Allows one to disable dynamic method invocation from the URL AMG}'P:  
        允许动态方法调用 ^I~2t|}  
=SB#rCH  
struts.freemarker.manager.classname {^i73}@O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S 3Tp__  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9JBPE  
.9 mwRYgD  
struts.i18n.encoding C<?}?hhb  
      The encoding to use for localization messages KoRJ'WW^  
      国际化信息内码 o%i^t4J$e  
PBbJfm  
struts.i18n.reload -$f~V\M  
      Whether the localization messages should automatically be reloaded 7*^-3Tt83  
      是否国际化信息自动加载 Bq.@CxK  
T1m"1Q  
struts.locale K]Q#B|_T  
      The default locale for the Struts application PEac0rSW  
      默认的国际化地区信息 ];Z)=y,vM  
<gF=$u|}3[  
struts.mapper.class P9p:x6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class SUINV_>7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _G|hKk^,  
K 4QJDC8  
struts.multipart.maxSize HYyO/U9z|I  
      The maximize size of a multipart request (file upload) p~6/+ap  
      multipart请求信息的最大尺寸(文件上传用) "+/%s#&  
?:vp3f#  
struts.multipart.parser 9un]}7^  
      The org.apache.struts2.dispatcher.multipart. Py$Q]s?\1  
      MultiPartRequest parser implementation for a multipart request (file upload) L6./b;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'MRvH lCM  
>A5R  
Q1jU{  
struts.multipart.saveDir Ig}G"GR  
      The directory to use for storing uploaded files lT#&\JQ  
      设置存储上传文件的目录夹 ."&,_F  
'bJ!~ML&  
struts.objectFactory /ts=DxCC;  
      The com.opensymphony.xwork2.ObjectFactory implementation class 11[[Hk X@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) reR><p  
C,~wmS )@  
struts.objectFactory.spring.autoWire 1j0OV9-|  
      Whether Spring should autoWire or not JQ=i{9iJ  
      是否自动绑定Spring T]-yTsto  
eQu%TZ(x-$  
struts.objectFactory.spring.useClassCache <f.*=/]W2  
      Whether Spring should use its class cache or not 0B fqEAl  
      是否spring应该使用自身的cache o(w!x!["  
k4fc 5P  
struts.objectTypeDeterminer .) uUpY%K^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B4yU}v  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *GleeJWz  
74Xk^  8  
struts.serve.static.browserCache wI><kdz  
If static content served by the Struts filter should set browser caching header properties or not  UhN16|x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,@kD9n5#  
1^XuH('  
struts.serve.static ' N^\9X0  
      Whether the Struts filter should serve static content or not d0Xb?- }3M  
      是否struts过滤器应该提供静态内容 TG7Ba[%  
o`5p "v r  
struts.tag.altSyntax ph{p[QI:{X  
      Whether to use the alterative syntax for the tags or not $&~/`MxE  
      是否可以用替代的语法替代tags O4RNt,?l  
~\kJir  
struts.ui.templateDir s7.2EkGl=  
      The directory containing UI templates kP~'C'5Ys  
      UI templates的目录夹 b~X^vXIv%%  
wmKM:`&[5  
struts.ui.theme @ODwO;_R5  
      The default UI template theme E .^5N~.  
      默认的UI template主题 f2Zi.?``H  
28FC@&'H  
struts.url.http.port cKuU#&FaV  
      The HTTP port used by Struts URLs kR$>G2$!  
      设置http端口 Wt5x*p-!C  
#[0:5$-[  
struts.url.https.port R)i  
      The HTTPS port used by Struts URLs y6NOHPp@  
      设置https端口 pYZ6-s  
QR4rQu  
struts.url.includeParams &7z79#1NS  
      The default includeParams method to generate Struts URLs U<,@u,_Ja  
      在url中产生 默认的includeParams 2 gz}]_  
kms&o=^  
D^Ahw"X)  
struts.velocity.configfile ,K9\;{C  
      The Velocity configuration file path 3D_Ky Z~M+  
      velocity配置文件路径 ,dT.q  
io :g ]g  
struts.velocity.contexts QK _1!t3  
      List of Velocity context names 88}+.-3t$  
      velocity的context列表  7'u<)V  
j1 _ E^  
j,%@%upM  
struts.velocity.manager.classname xw_VK1  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5tPBTS<<"L  
      org.apache.struts2.views.velocity.VelocityManager接口名 K$OxeJP?F  
-c-af%xD  
struts.velocity.toolboxlocation .K`OEdr<  
      The location of the Velocity toolbox wKF #8Y  
      velocity工具盒的位置 =B4,H=7Spf  
struts.xslt.nocache HUqG)t*c1  
      Whether or not XSLT templates should not be cached Oop5bg  
      是否XSLT模版应该被缓存 VD}8ei  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八