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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /degBL+  
<B %s9Zy  
struts.action.extension .3 JLa8y  
      The URL extension to use to determine if the request is meant for a Struts action xOAA1#   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~$\9T.tre2  
;5(ptXX1W  
struts.configuration 8vL2<VT;  
      The org.apache.struts2.config.Configuration implementation class /PuN+M  
        org.apache.struts2.config.Configuration接口名 ,m)k;co^  
[hl8LP+~  
struts.configuration.files sKK*{+,kh;  
      A list of configuration files automatically loaded by Struts tB i16=  
      struts自动加载的一个配置文件列表 R&`; C<6}D  
~7}aW#  
struts.configuration.xml.reload wxx3']:  
      Whether to reload the XML configuration or not Z+G.v=2q<  
      是否加载xml配置(true,false) y$7vJl.uS/  
+4Uxq{.K  
struts.continuations.package l9"T"9C{  
      The package containing actions that use Rife continuations HpX ;:/I  
      含有actions的完整连续的package名称 wVms"U.  
^UEExj f  
struts.custom.i18n.resources Arzyq_ Yk  
      Location of additional localization properties files to load v==b. 2=  
      加载附加的国际化属性文件(不包含.properties后缀) )* \N[zm  
CC<(V{Png  
struts.custom.properties ZWH9E.uj  
      Location of additional configuration properties files to load -~'{WSJ  
      加载附加的配置文件的位置 #rkz:ir4  
1'G&PX   
w#!^wN  
struts.devMode zc n/LF  
      Whether Struts is in development mode or not 1"4Pan  
      是否为struts开发模式 F^/1 u  
25zmde~ w  
struts.dispatcher.parametersWorkaround P wY~L3,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #!i&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +nj 2  
3?+CP-T-j  
struts.enable.DynamicMethodInvocation ?{Rv/np=F  
      Allows one to disable dynamic method invocation from the URL N#Y|MfLc  
        允许动态方法调用 `3CdW  
[7btoo|P]  
struts.freemarker.manager.classname OrJuE[R.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >Yf)]e-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Zr%,F[j?  
(5Z*m<]c  
struts.i18n.encoding ~7$4w# of0  
      The encoding to use for localization messages ~Gz b^  
      国际化信息内码 8NJxtT~0c~  
*@zh  
struts.i18n.reload 'wg>=|Q5  
      Whether the localization messages should automatically be reloaded "^UJC-  
      是否国际化信息自动加载 abW[hp  
ruKm_j#J  
struts.locale +=:*[JEK,U  
      The default locale for the Struts application 'kC,pN{->  
      默认的国际化地区信息 N-9Vx#i  
MN.h,^b  
struts.mapper.class Ddr.kXIpo  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2.>WR~ \  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  4.7 PL  
y_7lSo8<  
struts.multipart.maxSize QQPT=_P]  
      The maximize size of a multipart request (file upload) oE H""Bd  
      multipart请求信息的最大尺寸(文件上传用) 9[5qN!P;y  
jgW-&nK!  
struts.multipart.parser iaAj|:  
      The org.apache.struts2.dispatcher.multipart. IOjp'6Yr  
      MultiPartRequest parser implementation for a multipart request (file upload) 6` 8H k;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /~O>He  
P"%QFt,  
8nj^x?bn  
struts.multipart.saveDir sT*D]J 2  
      The directory to use for storing uploaded files .T63:  
      设置存储上传文件的目录夹 5vmc'Om  
sgGXj7  
struts.objectFactory Nf!g1D"U  
      The com.opensymphony.xwork2.ObjectFactory implementation class `+\6;nM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hn -!W;j  
/Z?$!u4I  
struts.objectFactory.spring.autoWire 3tjF4C>h|  
      Whether Spring should autoWire or not &qjc+-r{l  
      是否自动绑定Spring ,'nd~{pX"(  
3b d(.he2u  
struts.objectFactory.spring.useClassCache jGSY$nt9  
      Whether Spring should use its class cache or not ieL7jN,'m  
      是否spring应该使用自身的cache !<8-juY  
T@4R|P&{)  
struts.objectTypeDeterminer _&wrA3@/L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z"pCDW)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q:5^K  
"K9/^S_  
struts.serve.static.browserCache vh/&KTe?:  
If static content served by the Struts filter should set browser caching header properties or not +QZ}c@'r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H:k?#7D(  
yZ:AJNb  
struts.serve.static @CTSvTt$  
      Whether the Struts filter should serve static content or not 0ap_tCY  
      是否struts过滤器应该提供静态内容 ].Sz2vI  
Z0'&@P$  
struts.tag.altSyntax lA/.4"nN  
      Whether to use the alterative syntax for the tags or not @,:6wKMc  
      是否可以用替代的语法替代tags rsaN<6#_^Q  
\2c 3Nsra  
struts.ui.templateDir a$AR  
      The directory containing UI templates ++=f7y u  
      UI templates的目录夹 vmj'X>Q  
;}dvc7  
struts.ui.theme s?5vJ:M Xr  
      The default UI template theme mp:xR^5c  
      默认的UI template主题 Ct<]('Hm(  
KL<,avC/  
struts.url.http.port  Nt w?~%  
      The HTTP port used by Struts URLs 0z =?}xr  
      设置http端口 l"rX'g?  
:u9OD` D  
struts.url.https.port gr^T L1(  
      The HTTPS port used by Struts URLs JE *d-  
      设置https端口 bl3?C  
f|'0FI  
struts.url.includeParams 1VR|z  
      The default includeParams method to generate Struts URLs DuMzK%  
      在url中产生 默认的includeParams (k^o[HF  
KbSE=3  
+Zg@X.z  
struts.velocity.configfile cFZcBiw  
      The Velocity configuration file path L+X:M/)  
      velocity配置文件路径 )vsX (/WU  
<0!O'" "J  
struts.velocity.contexts jAcrXB*  
      List of Velocity context names (UB?UJc  
      velocity的context列表 0g`$Dap  
UasU/Q <   
dJjkH6%}  
struts.velocity.manager.classname Rz#q68  
      org.apache.struts2.views.velocity.VelocityManager implementation class vk4Q2P  
      org.apache.struts2.views.velocity.VelocityManager接口名 aJ"m`5]=%  
0NF=7 j  
struts.velocity.toolboxlocation VTwDa*]AhB  
      The location of the Velocity toolbox |JLXgwML  
      velocity工具盒的位置 oMNSQMlI  
struts.xslt.nocache T'> MXFLh  
      Whether or not XSLT templates should not be cached ='t}d>l  
      是否XSLT模版应该被缓存 %X BMi ~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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