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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #df43_u  
OjHBzrK  
struts.action.extension P/_XDP./U  
      The URL extension to use to determine if the request is meant for a Struts action kU /?#s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1ysA~2  
buoz La  
struts.configuration .q=X58tHu  
      The org.apache.struts2.config.Configuration implementation class b7n~z1$  
        org.apache.struts2.config.Configuration接口名 `XnFc*L 1  
} 8svd#S+  
struts.configuration.files ns3k{l#  
      A list of configuration files automatically loaded by Struts oTL "]3`'  
      struts自动加载的一个配置文件列表 ,uw &)A  
y|aWUX/a  
struts.configuration.xml.reload yDKX,  
      Whether to reload the XML configuration or not ]:njP3r  
      是否加载xml配置(true,false) 0MOAd!N  
L \$zr,=C  
struts.continuations.package B}Qo8i7 z  
      The package containing actions that use Rife continuations \8pbPo=x  
      含有actions的完整连续的package名称 g/E;OcFaO  
@EQ{lGpU3  
struts.custom.i18n.resources 23>?3-q  
      Location of additional localization properties files to load #G,e]{gs  
      加载附加的国际化属性文件(不包含.properties后缀) MLDuo|?  
ldxUq,p  
struts.custom.properties ]mc,FlhU@  
      Location of additional configuration properties files to load B5cTzY.h-  
      加载附加的配置文件的位置 , R)[$n  
CR/LV]G  
$qvNv[  
struts.devMode IJ0RHDod:  
      Whether Struts is in development mode or not _+{s^n=  
      是否为struts开发模式 b&ADj8cKC  
vH=I#Ajar  
struts.dispatcher.parametersWorkaround G$Dg*<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +X< Z 43  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }"T:z{n  
Z` Aiw."|  
struts.enable.DynamicMethodInvocation (*EN!-/  
      Allows one to disable dynamic method invocation from the URL K,RIa0)  
        允许动态方法调用 D,7! /u'  
#8`G&S*  
struts.freemarker.manager.classname CI,-q i  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V;z?m)ur  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BP7_o63/G  
ka5>9E  
struts.i18n.encoding ^'h~#7s  
      The encoding to use for localization messages >3ODqRu  
      国际化信息内码 >hXUq9;:  
7}*5Mir p  
struts.i18n.reload .B)v " Sw#  
      Whether the localization messages should automatically be reloaded >!$4nxq2>  
      是否国际化信息自动加载 UeRenp  
Y5;:jYk#<_  
struts.locale q q`Uv U  
      The default locale for the Struts application 8'YL!moG|  
      默认的国际化地区信息 y0Tb/&xN  
LC}]6  
struts.mapper.class qjWgyhL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^8 z*f&g  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 h$k(|/+  
N5s_o0K4TU  
struts.multipart.maxSize _E~uuFMn*R  
      The maximize size of a multipart request (file upload) OS!47Z /q  
      multipart请求信息的最大尺寸(文件上传用) ]/a?:24[  
# WxH  
struts.multipart.parser c(~M<nL0  
      The org.apache.struts2.dispatcher.multipart. 5E%W;$3Pb  
      MultiPartRequest parser implementation for a multipart request (file upload) ^^[,aBu  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l/`Z+];  
cx$Oh`-Car  
vb%\q sf  
struts.multipart.saveDir . v;Npm2  
      The directory to use for storing uploaded files .-r 1.'.A  
      设置存储上传文件的目录夹 }vL[N~5\  
=gj]R  
struts.objectFactory )FB)ZK;  
      The com.opensymphony.xwork2.ObjectFactory implementation class t512]eqhb(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) T^79p$  
aw,8'N)  
struts.objectFactory.spring.autoWire B1GSZUd^?0  
      Whether Spring should autoWire or not )~J/,\  
      是否自动绑定Spring iX,Qh2(ig  
8-m"]o3  
struts.objectFactory.spring.useClassCache eBP N[V  
      Whether Spring should use its class cache or not isaT0__8  
      是否spring应该使用自身的cache :ortyCB:H  
I5e!vCG)  
struts.objectTypeDeterminer ^c2 8Q.<w(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :c6%;2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fN&O `T>  
wM|-u/9+  
struts.serve.static.browserCache UVUHLu|^  
If static content served by the Struts filter should set browser caching header properties or not -wO`o<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 # ><.zZ  
Ao,lEjNI  
struts.serve.static fpzTv3D=I  
      Whether the Struts filter should serve static content or not L'c4 i[~s  
      是否struts过滤器应该提供静态内容 Um|:AT}`^  
{ u;ntDr  
struts.tag.altSyntax 8g$ 8]'M^T  
      Whether to use the alterative syntax for the tags or not V9MA)If>  
      是否可以用替代的语法替代tags <uAqb Wu  
f5O*Njl  
struts.ui.templateDir 0!^{V:DtQ  
      The directory containing UI templates `=.{i}V  
      UI templates的目录夹 `aC#s3[  
jW6@U%[!b  
struts.ui.theme osnDW aN  
      The default UI template theme 0wc+<CUW  
      默认的UI template主题 t%/5$<!b  
yeW|Ux:  
struts.url.http.port 'al-C;Z  
      The HTTP port used by Struts URLs >-:U   
      设置http端口 f>RPh bq|  
gs. K,xma  
struts.url.https.port Hj5b.fB  
      The HTTPS port used by Struts URLs 5Po.&eS  
      设置https端口 wp@c;gK7  
t!K|3>w  
struts.url.includeParams <=0_[M  
      The default includeParams method to generate Struts URLs ?1[go+56X  
      在url中产生 默认的includeParams c  xX  
DO0["O74  
YT-t$QyL  
struts.velocity.configfile "=Ziy4V  
      The Velocity configuration file path 8]0R[kjD  
      velocity配置文件路径 ,C CIg9Pt  
*<9p88FpDU  
struts.velocity.contexts \Oc3rJ(  
      List of Velocity context names #$8tBo  
      velocity的context列表 +tuC845  
]CTu |  
#-@dc  
struts.velocity.manager.classname K%Rx5 S  
      org.apache.struts2.views.velocity.VelocityManager implementation class 04,]upC${W  
      org.apache.struts2.views.velocity.VelocityManager接口名 0z,c6MjM+  
$bN%x/  
struts.velocity.toolboxlocation G;tIhq[$Vb  
      The location of the Velocity toolbox lte~26=e  
      velocity工具盒的位置 44n^21k  
struts.xslt.nocache t4,6`d?C  
      Whether or not XSLT templates should not be cached V57^0^Zp`  
      是否XSLT模版应该被缓存 MRiETd"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五