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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  .)cOu>  
-v jjcyTt  
struts.action.extension JAB]kNvI  
      The URL extension to use to determine if the request is meant for a Struts action pQVi&(M  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WM@uxe,  
ew`R=<mZ,7  
struts.configuration "A/kL@-C  
      The org.apache.struts2.config.Configuration implementation class , R^Pk6m>  
        org.apache.struts2.config.Configuration接口名 ,{oP`4\Lm  
W_sDF; JP  
struts.configuration.files )@K|Co  
      A list of configuration files automatically loaded by Struts Z@ I%ppd  
      struts自动加载的一个配置文件列表 -3 W 4  
m};_\Db`  
struts.configuration.xml.reload -w@fd]g  
      Whether to reload the XML configuration or not PA5g]Tz  
      是否加载xml配置(true,false) `J-"S<c?_  
' > \*  
struts.continuations.package p{-1%jQ}]  
      The package containing actions that use Rife continuations aY {.  
      含有actions的完整连续的package名称 m   
7#g C(&\A  
struts.custom.i18n.resources F`u{'w:Hv  
      Location of additional localization properties files to load #;mZ3[+i5  
      加载附加的国际化属性文件(不包含.properties后缀) Oi7=z?+j  
uO^{+=;A =  
struts.custom.properties X&p-Ge1>z  
      Location of additional configuration properties files to load 3_ zI$Z  
      加载附加的配置文件的位置 %pwm34  
MfL q h  
xxV{1, H2  
struts.devMode +=}% 7o  
      Whether Struts is in development mode or not e.HN%LrhS  
      是否为struts开发模式 omRd'\ RO  
Q ?Nzt;)!.  
struts.dispatcher.parametersWorkaround iww h,(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S [u <vHy  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )>[(HxvfJU  
Z].>U!7W  
struts.enable.DynamicMethodInvocation T8KhmO  
      Allows one to disable dynamic method invocation from the URL #%{\59/w  
        允许动态方法调用 3Q;^X(Ml*  
G2jEwi  
struts.freemarker.manager.classname 7 1)#'ey  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KBJ|P^W5j  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P' J_:\  
Y]Fq)  -  
struts.i18n.encoding !^m5by  
      The encoding to use for localization messages +s S*EvF  
      国际化信息内码 K^w9@&g6  
H@ w6.[#  
struts.i18n.reload J]~fv9~P  
      Whether the localization messages should automatically be reloaded C$(t`G  
      是否国际化信息自动加载 }pTj8Tr  
-B4v1{An  
struts.locale =Q|}7g8o  
      The default locale for the Struts application 9 /zz@  
      默认的国际化地区信息 S"eKiS,z  
2 G"p:iPp  
struts.mapper.class ? {&#l2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m+u>%Ys`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )5&m:R9  
sO  
struts.multipart.maxSize FSBCk  
      The maximize size of a multipart request (file upload) -p;o e}|  
      multipart请求信息的最大尺寸(文件上传用) X,q= JS  
6F(yH4  
struts.multipart.parser 7"[lWC!As5  
      The org.apache.struts2.dispatcher.multipart. FVD}9ia  
      MultiPartRequest parser implementation for a multipart request (file upload) 6?a(@<k_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (Dn-vY'  
ag+ML1#)  
-e)bq: T  
struts.multipart.saveDir Y7jD:P  
      The directory to use for storing uploaded files (la   
      设置存储上传文件的目录夹 Sm1bDa\!=  
Dr2h-  
struts.objectFactory _cJ{fYwYU  
      The com.opensymphony.xwork2.ObjectFactory implementation class E8j9@BHU[r  
      com.opensymphony.xwork2.ObjectFactory接口(spring) f,-|"_5;   
I;|Aiu*  
struts.objectFactory.spring.autoWire yf8UfB#a  
      Whether Spring should autoWire or not T4#knSIlh  
      是否自动绑定Spring }(],*^'u-  
I|ULf  
struts.objectFactory.spring.useClassCache G|MDo|q]  
      Whether Spring should use its class cache or not M\<!m^~  
      是否spring应该使用自身的cache u+R?N% EKP  
B`WfJ2*2  
struts.objectTypeDeterminer =L=#PJAPj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pvM8PlYo]`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 000 $ZsW?  
y,r`8  
struts.serve.static.browserCache ,,Db:4qfjD  
If static content served by the Struts filter should set browser caching header properties or not U'lD|R,g  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 GHlra^  
q-o>yjT~  
struts.serve.static lt$7 97  
      Whether the Struts filter should serve static content or not 0Fw\iy1o  
      是否struts过滤器应该提供静态内容 ps [6)d)o  
EiN.VU `  
struts.tag.altSyntax lxmS.C  
      Whether to use the alterative syntax for the tags or not XVLuhw i  
      是否可以用替代的语法替代tags C[KU~@  
=;a4 Dp  
struts.ui.templateDir V*m)h  
      The directory containing UI templates XH2 SEeh  
      UI templates的目录夹 mQvKreo~  
m@Nx`aS?  
struts.ui.theme j(BS;J$i  
      The default UI template theme |HU qqlf  
      默认的UI template主题 :aqh8b v  
\|pAn  
struts.url.http.port ZB2'm3'bh  
      The HTTP port used by Struts URLs 3D.S[^s*  
      设置http端口 }ri*e2y)  
2at?9{b  
struts.url.https.port [.I,B tY+  
      The HTTPS port used by Struts URLs WV@Tm$ r  
      设置https端口 iR_Syk`G*A  
Y-Ku2m  
struts.url.includeParams B5cyX*!?  
      The default includeParams method to generate Struts URLs '; dW'Uwc  
      在url中产生 默认的includeParams E 5t+;vL~  
Y) h%<J  
]dK]a:S  
struts.velocity.configfile A{J1 n  
      The Velocity configuration file path *0hiPj:  
      velocity配置文件路径 bsP ;  
]~.J@ 1?  
struts.velocity.contexts 7gMtnwT  
      List of Velocity context names p)^:~ ll  
      velocity的context列表 )eFFtnu5  
PJYA5"}W  
=zjUd  5  
struts.velocity.manager.classname YKg[k:F  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,SM- Z`'  
      org.apache.struts2.views.velocity.VelocityManager接口名 :I'Ezxv|  
-Wn.@bz6B  
struts.velocity.toolboxlocation xI4I1"/  
      The location of the Velocity toolbox u/[]g+  
      velocity工具盒的位置 Yq?I>  
struts.xslt.nocache i-FUAR  
      Whether or not XSLT templates should not be cached tN{t-xUgk  
      是否XSLT模版应该被缓存 SN{*:\>,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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