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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 GL 5^_`n  
mC:X4l]5  
struts.action.extension 1]>$5 1Q  
      The URL extension to use to determine if the request is meant for a Struts action eMN+qkvH  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'G l;Ir^  
/1 US,  
struts.configuration Q)G!Y (g\  
      The org.apache.struts2.config.Configuration implementation class WbQhl sc:  
        org.apache.struts2.config.Configuration接口名 E5*-;>2c  
bk7^%O>  
struts.configuration.files cBab2/  
      A list of configuration files automatically loaded by Struts MOP]\ypn  
      struts自动加载的一个配置文件列表 |I}A> XG  
0):uF_t<  
struts.configuration.xml.reload KP=D! l&q  
      Whether to reload the XML configuration or not 8> Du  
      是否加载xml配置(true,false) Gg}5$||^C  
V;iL[  
struts.continuations.package Nt zq"ces)  
      The package containing actions that use Rife continuations N b3I%r  
      含有actions的完整连续的package名称 Ii~; d3.  
5;F P.{+  
struts.custom.i18n.resources #)_J)/h  
      Location of additional localization properties files to load k;;nE o~6  
      加载附加的国际化属性文件(不包含.properties后缀) iN<(O7B;  
VLh%XoQx[  
struts.custom.properties r7Nu>[r5  
      Location of additional configuration properties files to load J16=!q()  
      加载附加的配置文件的位置 7$+P|U  
%"l81z  
4ef*9|^x#  
struts.devMode /rIm7FW)  
      Whether Struts is in development mode or not 2f3=?YqD  
      是否为struts开发模式 ZR/R'prW  
n 5~=qQK2  
struts.dispatcher.parametersWorkaround cP*c(k~N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic nU} ~I)@V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <Zig Co w  
DH\wDQ  
struts.enable.DynamicMethodInvocation OlEpid'Z  
      Allows one to disable dynamic method invocation from the URL <TI3@9\qXE  
        允许动态方法调用 0=OD?48<  
M0O>Ljo4RN  
struts.freemarker.manager.classname 4)c+t"h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class pNp^q/- yB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PqT"jOF]n  
0SJ{@*  
struts.i18n.encoding 4JGE2ArR  
      The encoding to use for localization messages g9DG=\*A  
      国际化信息内码 HR[Q ?rg  
^pJ0nY# c  
struts.i18n.reload McEmd.S<n  
      Whether the localization messages should automatically be reloaded w`M]0'zls  
      是否国际化信息自动加载 wX-RQ[2X  
HjV\lcK:v  
struts.locale 5\VxXiy 0  
      The default locale for the Struts application (-bRj#  
      默认的国际化地区信息 Jf_]Z  
xttYn ]T  
struts.mapper.class BwJNi6,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "VV914*z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xC)7eQn/R  
h=hoV5d@  
struts.multipart.maxSize >P(eW7RL  
      The maximize size of a multipart request (file upload) wOjv[@d  
      multipart请求信息的最大尺寸(文件上传用) c+1vqbqHG  
{U(Bfe^a,  
struts.multipart.parser yHl@_rN sC  
      The org.apache.struts2.dispatcher.multipart. SLSF <$  
      MultiPartRequest parser implementation for a multipart request (file upload) ,SAbC*nq  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F\JLbY{x]  
O-Dc[t%  
w-lrnjs  
struts.multipart.saveDir K~USK?Q%  
      The directory to use for storing uploaded files ]+AAT=B<!  
      设置存储上传文件的目录夹 Dft4isyt^  
^,Xa IP+[  
struts.objectFactory w .tW=z5  
      The com.opensymphony.xwork2.ObjectFactory implementation class PDhWFF  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0X.TF  
TNx_Rc}  
struts.objectFactory.spring.autoWire .XIr?>G  
      Whether Spring should autoWire or not <p09oZ{6  
      是否自动绑定Spring j13riI3A  
$ cq!RgRn  
struts.objectFactory.spring.useClassCache C]/&vh7ta  
      Whether Spring should use its class cache or not $iwIF7,\P  
      是否spring应该使用自身的cache (e(Rr 4  
3i6h"Wu`n  
struts.objectTypeDeterminer =m~ruZ/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6>s=Ci ZB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Oohq9f#!  
;:U<ce=  
struts.serve.static.browserCache k9 l^6#<?  
If static content served by the Struts filter should set browser caching header properties or not ><X $#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 oQ{cSThj  
qT$ )Rb&  
struts.serve.static GJvp{U}y9I  
      Whether the Struts filter should serve static content or not dKb ^x^  
      是否struts过滤器应该提供静态内容 E.9^&E}PG  
Z&A0hI4d  
struts.tag.altSyntax 5:$Xtq  
      Whether to use the alterative syntax for the tags or not ly[lrD0Kn.  
      是否可以用替代的语法替代tags $5x]%1 R  
w?_`/oqd|  
struts.ui.templateDir SAy{YOLtl  
      The directory containing UI templates A0OB$OK  
      UI templates的目录夹 ^Wm*-4  
T!(sZf  
struts.ui.theme {d,?bs)  
      The default UI template theme t?HF-zQ  
      默认的UI template主题 s@PLS5d"  
k1 RV'  
struts.url.http.port {U^j&E  
      The HTTP port used by Struts URLs r,0@~;zA  
      设置http端口 TVYz3~m  
]hL:33  
struts.url.https.port t|_{;!^  
      The HTTPS port used by Struts URLs a5)JkC  
      设置https端口 @gEr+O1K(  
[8TS"ph>  
struts.url.includeParams \WX@PfL  
      The default includeParams method to generate Struts URLs !UVk9  
      在url中产生 默认的includeParams }1Z6e[K?  
V,vc_d?,_o  
4dD2{M  
struts.velocity.configfile 8RU.}PD  
      The Velocity configuration file path @i{]4rk lv  
      velocity配置文件路径 9OfU7_m  
50 *@.!^*  
struts.velocity.contexts 7VY8CcL  
      List of Velocity context names >MPa38  
      velocity的context列表 uRpBeH]Z"  
l|7O)  
o[oqPN3$Y  
struts.velocity.manager.classname 5e8xKL  
      org.apache.struts2.views.velocity.VelocityManager implementation class 'B,KFA<  
      org.apache.struts2.views.velocity.VelocityManager接口名 e,"FnW  
8O9Gs  
struts.velocity.toolboxlocation E<k ^S{  
      The location of the Velocity toolbox (-J<Vy]  
      velocity工具盒的位置 Se Oy7  
struts.xslt.nocache \?d TH:v/E  
      Whether or not XSLT templates should not be cached [4: Yi{>  
      是否XSLT模版应该被缓存 *E7R(#,yC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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