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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 rnxO2   
UQz8":#V  
struts.action.extension wL 5p0Xl  
      The URL extension to use to determine if the request is meant for a Struts action _96hw8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O2{_:B>K[  
,cm;A'4]  
struts.configuration DBi3 j  
      The org.apache.struts2.config.Configuration implementation class :xd&V%u`  
        org.apache.struts2.config.Configuration接口名 F]Zg9c{#  
h+$1+Es  
struts.configuration.files DvnK_Q!  
      A list of configuration files automatically loaded by Struts kKVq,41'  
      struts自动加载的一个配置文件列表 zqAK|jbL  
;2RCgX!'%  
struts.configuration.xml.reload (E)/' sEb  
      Whether to reload the XML configuration or not Xmy(pV!PF  
      是否加载xml配置(true,false) ]4@z.1Mr  
8}p5MG  
struts.continuations.package yS/ovd  
      The package containing actions that use Rife continuations La}=Ng  
      含有actions的完整连续的package名称 N i^pP@('  
?Gr<9e2Eo  
struts.custom.i18n.resources ->vfQwBFd  
      Location of additional localization properties files to load &G55<tRE  
      加载附加的国际化属性文件(不包含.properties后缀) & Qghm o  
))63?_  
struts.custom.properties lfR"22t  
      Location of additional configuration properties files to load ?7:"D e  
      加载附加的配置文件的位置 \~nUk7.  
nLkC-+$tM  
>fo &H_a  
struts.devMode VIbm%b$~  
      Whether Struts is in development mode or not 9a)D8  
      是否为struts开发模式 Db yy H_  
_p{ag 1gP  
struts.dispatcher.parametersWorkaround />\.zuAr&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic J.":oD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  6" 3!9JC  
HkxFDU-K  
struts.enable.DynamicMethodInvocation ;,*U,eV  
      Allows one to disable dynamic method invocation from the URL w`1qx;/!  
        允许动态方法调用 BU:s&+LYUv  
-tx)7KV-  
struts.freemarker.manager.classname qd3B>f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @6.1EK0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )@Xdr0  
7 pg8kq@  
struts.i18n.encoding ' 7>}I{Lq  
      The encoding to use for localization messages D]b5*_CT  
      国际化信息内码 wSIt"g,%  
OR&+`P"-\  
struts.i18n.reload z[qM2  
      Whether the localization messages should automatically be reloaded hFa\x5I5  
      是否国际化信息自动加载 @]*z!>1  
0e8)*2S  
struts.locale m{Q{ qJ5>  
      The default locale for the Struts application 6?}8z q[  
      默认的国际化地区信息 6@o_MtI  
Jb$PlOQ  
struts.mapper.class 7Yj\*N  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $Ry NM2YI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /[nt=#+   
1aYO:ZPy  
struts.multipart.maxSize :'GTCo$3  
      The maximize size of a multipart request (file upload) TdD-# |5  
      multipart请求信息的最大尺寸(文件上传用) !0Xes0gK0  
!9iVe7V  
struts.multipart.parser ,`+y4Z6`W2  
      The org.apache.struts2.dispatcher.multipart. *JO"8iLw  
      MultiPartRequest parser implementation for a multipart request (file upload) XA9$n_| bw  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +}4vdi"  
{LJCY<IGq  
oF V9t{~j  
struts.multipart.saveDir /q='~t  
      The directory to use for storing uploaded files 6mdJ =b#  
      设置存储上传文件的目录夹  Mw'd<{  
~>}BDsM  
struts.objectFactory AH=6xtS-  
      The com.opensymphony.xwork2.ObjectFactory implementation class Y<#7E;aL  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?\\ ]u  
h"%6tpV-  
struts.objectFactory.spring.autoWire tGmyTBgx  
      Whether Spring should autoWire or not L/nz95  
      是否自动绑定Spring ; p\rgam  
+< BAJWU  
struts.objectFactory.spring.useClassCache m}Tu^dy  
      Whether Spring should use its class cache or not 8Yq6I>@!  
      是否spring应该使用自身的cache 1ygu>sKS&A  
m U7Ad"  
struts.objectTypeDeterminer ew?UHV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S2jo@bp!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 NV9=~c x  
C UBcU  
struts.serve.static.browserCache ]iLfe&f  
If static content served by the Struts filter should set browser caching header properties or not Iob o5B  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t4s}w$4  
C?x  
struts.serve.static uc7np]Z  
      Whether the Struts filter should serve static content or not jIdhmd* $z  
      是否struts过滤器应该提供静态内容 ,PN>,hFL  
Kq!n `@  
struts.tag.altSyntax DU1,i&(  
      Whether to use the alterative syntax for the tags or not ` S85i*  
      是否可以用替代的语法替代tags mg >oB/,'Z  
&2?kD{  
struts.ui.templateDir zP=J5qOZ8  
      The directory containing UI templates TqbKH08i/  
      UI templates的目录夹 SKRD{MRsux  
d G:=tf&1R  
struts.ui.theme >b*Pd *f  
      The default UI template theme Fd'Ang6"  
      默认的UI template主题 8a?V h^  
<B u*:O  
struts.url.http.port $$qhX]^ ~  
      The HTTP port used by Struts URLs J)g(Nw,O  
      设置http端口 $ HUCp9  
3'&]v6|  
struts.url.https.port Nt/*VYUn  
      The HTTPS port used by Struts URLs HM[BFF[;/  
      设置https端口 OgfQGGc  
E) z g,7Y  
struts.url.includeParams RNvtgZ}k{X  
      The default includeParams method to generate Struts URLs lBh {8a|2W  
      在url中产生 默认的includeParams eW >k'ez  
u%*;gu"2  
'inWV* P*g  
struts.velocity.configfile SKG_P)TnO  
      The Velocity configuration file path 7%w4?Nv3I  
      velocity配置文件路径  m?B@VDZ  
pbm4C0W}  
struts.velocity.contexts j<L!ONvJ1  
      List of Velocity context names MF E%q  
      velocity的context列表 i, RK0q?>  
o~GhV4vq  
* 5P/&*c|  
struts.velocity.manager.classname s_1]&0<  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^u Z%d  
      org.apache.struts2.views.velocity.VelocityManager接口名 hZzsZQ`  
FP9ZOoog  
struts.velocity.toolboxlocation oN _% oc  
      The location of the Velocity toolbox _r,# l5~U  
      velocity工具盒的位置 ~kN6Hr*X  
struts.xslt.nocache PiH#9X B  
      Whether or not XSLT templates should not be cached [|F.*06SK  
      是否XSLT模版应该被缓存 Uw)K [T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五