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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Q)HVh[4  
WynHcxC  
struts.action.extension ;c<:"ad(  
      The URL extension to use to determine if the request is meant for a Struts action -\AB!#fh  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 S1%{/w  
(a]'}c$X9`  
struts.configuration [*8w v^  
      The org.apache.struts2.config.Configuration implementation class luLm:NWUM  
        org.apache.struts2.config.Configuration接口名 \w O)w@"  
8R8J./i.K  
struts.configuration.files 5GT,:0  
      A list of configuration files automatically loaded by Struts ZK3?"|vhC  
      struts自动加载的一个配置文件列表 ~"brfjd|  
=4+UX*&i?.  
struts.configuration.xml.reload Z4bN|\I  
      Whether to reload the XML configuration or not f{WJM>$:  
      是否加载xml配置(true,false) <}N0 y*m  
'-gk))u>)  
struts.continuations.package :3{@LOil^  
      The package containing actions that use Rife continuations Og"50-  
      含有actions的完整连续的package名称 ObMsncn  
;z)$wH0xc  
struts.custom.i18n.resources `Z]a6@w~  
      Location of additional localization properties files to load /]<0`nI.  
      加载附加的国际化属性文件(不包含.properties后缀) VLu_SXlo*  
9v<BO$ ,a  
struts.custom.properties BeaX 0#\  
      Location of additional configuration properties files to load ~>xn9vb=  
      加载附加的配置文件的位置 7Dom[f  
C6CX{IA]  
@QVAsNW:O  
struts.devMode IS]03_uQ  
      Whether Struts is in development mode or not >Mrz$ z{x  
      是否为struts开发模式 $* 8c0.{U  
;^O^&<  
struts.dispatcher.parametersWorkaround 09%q/-$  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dg/7?gV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (!DH'2I[  
-:cS}I  
struts.enable.DynamicMethodInvocation fC]+C(*d  
      Allows one to disable dynamic method invocation from the URL @MAk/mb&  
        允许动态方法调用 (Qq! u  
oQWS$\Rr.  
struts.freemarker.manager.classname %!p14c*J H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Nki18ud#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 iN+p>3w^l  
mcS/-DaN?  
struts.i18n.encoding }+i ZY\t  
      The encoding to use for localization messages {eqUEdC  
      国际化信息内码 =?vk n  
f1hi\p0q  
struts.i18n.reload VH,k EbJ  
      Whether the localization messages should automatically be reloaded DU]MMR  
      是否国际化信息自动加载 G\Toi98d*  
B58H7NH ;G  
struts.locale hH )jX`Ta  
      The default locale for the Struts application Q gDjc '  
      默认的国际化地区信息 PFUb\AY  
~ E>D0o  
struts.mapper.class k;;?3)!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class wC'KI8-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 UQ`%,D  
&FkKnz4IZ  
struts.multipart.maxSize n*@^c$&P  
      The maximize size of a multipart request (file upload) /o+, =7hY  
      multipart请求信息的最大尺寸(文件上传用) J>] ' {!+  
+7N6]pK|"  
struts.multipart.parser ZCbxL.fFz  
      The org.apache.struts2.dispatcher.multipart. !+9H=u  
      MultiPartRequest parser implementation for a multipart request (file upload) . I {X  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ai(M06P:h  
IP&En8W+  
>OZ+k(saL  
struts.multipart.saveDir &Vvy`JE  
      The directory to use for storing uploaded files m5{Y  
      设置存储上传文件的目录夹 4h:Oo  
G/2@ Mn-  
struts.objectFactory m*CIbkDsZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class VGWqy4m  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,'={/)c<  
~;wSe[  
struts.objectFactory.spring.autoWire 1K0 9iB  
      Whether Spring should autoWire or not 8T$:^HW  
      是否自动绑定Spring gC<\1AIu  
C[n,j#Mvje  
struts.objectFactory.spring.useClassCache 6(D K\58  
      Whether Spring should use its class cache or not DY~~pi~  
      是否spring应该使用自身的cache {BY`Wu:w  
eem.lVVD  
struts.objectTypeDeterminer @bfaAh~   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tvf"w`H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "&Q-'L!M'/  
Dn<2.!ZKQ  
struts.serve.static.browserCache v-42_}  
If static content served by the Struts filter should set browser caching header properties or not $C,f>^1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H Y.,f_m  
<4C`^p  
struts.serve.static `$G7Ia_ $]  
      Whether the Struts filter should serve static content or not XRJ<1w:  
      是否struts过滤器应该提供静态内容 k[A=:H1"  
R:0Fv9bwS  
struts.tag.altSyntax "EWU:9\0  
      Whether to use the alterative syntax for the tags or not vb{&T<  
      是否可以用替代的语法替代tags i ,4  
*=~ 9?  
struts.ui.templateDir 2=(=Wjk.  
      The directory containing UI templates [q9TTJ@2  
      UI templates的目录夹 gigDrf}  
>(`|oD`,Y  
struts.ui.theme HP*x?|4  
      The default UI template theme jR }h3!  
      默认的UI template主题 W\N-~9UA  
RTHdL  
struts.url.http.port 84e)huAs  
      The HTTP port used by Struts URLs ,XI,B\eNk  
      设置http端口 K&D -1u  
P.&,nFIg3  
struts.url.https.port !COaPrg  
      The HTTPS port used by Struts URLs s/`4]B;2U  
      设置https端口 q fadsVp  
at6f(+  
struts.url.includeParams }1N)3~  
      The default includeParams method to generate Struts URLs `@")R-  
      在url中产生 默认的includeParams o Ep\po1  
=QRLKo#_  
H]}Iw5Z  
struts.velocity.configfile ;vQ7[Pv.j  
      The Velocity configuration file path ) ;-AT^  
      velocity配置文件路径 xyBe*,u  
O0WzDD  
struts.velocity.contexts &nZ=w#_  
      List of Velocity context names &>i+2c~  
      velocity的context列表 {LR?#.   
L a0H  
goIn7ei92  
struts.velocity.manager.classname ]*sXISg1  
      org.apache.struts2.views.velocity.VelocityManager implementation class qB<D'h7  
      org.apache.struts2.views.velocity.VelocityManager接口名 WTY{sq\' o  
S%mN6b~{  
struts.velocity.toolboxlocation +]`MdOu  
      The location of the Velocity toolbox _BHb0zeot  
      velocity工具盒的位置 7EQ |p  
struts.xslt.nocache (+CB)nV0IA  
      Whether or not XSLT templates should not be cached %mtW-drv>  
      是否XSLT模版应该被缓存 )nQpO"+M  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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