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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Z_U4Yy'NNw  
"7q!u,u  
struts.action.extension F[(ocxQZ3  
      The URL extension to use to determine if the request is meant for a Struts action E)%D LZ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +pPfvE`  
Gg e X  
struts.configuration o_8Wnx^  
      The org.apache.struts2.config.Configuration implementation class 40%fOu,u`  
        org.apache.struts2.config.Configuration接口名 [*C%u_h  
gLm,;'h%u  
struts.configuration.files x8w l  
      A list of configuration files automatically loaded by Struts 2##;[  
      struts自动加载的一个配置文件列表 +=:_a$98  
`>0%Ha   
struts.configuration.xml.reload 577#A,O  
      Whether to reload the XML configuration or not Yt[LIn-v:  
      是否加载xml配置(true,false) 4#qZ`H,Ur)  
1etT."  
struts.continuations.package 9(3]t}J5 d  
      The package containing actions that use Rife continuations ZIN1y;dJ  
      含有actions的完整连续的package名称 ,eGguNA9  
GKc?  
struts.custom.i18n.resources 7KesfH?  
      Location of additional localization properties files to load kXV;J$1  
      加载附加的国际化属性文件(不包含.properties后缀) $Qz<:?D  
|LW5dtQ  
struts.custom.properties H#i,Ve '  
      Location of additional configuration properties files to load C7O8B;  
      加载附加的配置文件的位置 V0NLwl O  
~x7CI  
0!-'4+"  
struts.devMode ebn3r:IU-  
      Whether Struts is in development mode or not 0K'{w]Q  
      是否为struts开发模式 5vFM0  
$l2`@ia"  
struts.dispatcher.parametersWorkaround 9a[1s|>w-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Qs '_\|/-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v w 6$v  
cLEd -{x  
struts.enable.DynamicMethodInvocation -4[eZ>$A|  
      Allows one to disable dynamic method invocation from the URL 4E2#krE%  
        允许动态方法调用 Sg$\H  
jzJQ/ZFS  
struts.freemarker.manager.classname Gphy8~eS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n }b{u@$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^k*%`iQ  
[>N#61CV 5  
struts.i18n.encoding lz!(OO,g  
      The encoding to use for localization messages 6cd!;Ca  
      国际化信息内码 ftvu69f  
?wu@+  
struts.i18n.reload N5{v;~Cm}V  
      Whether the localization messages should automatically be reloaded 2Z(t/Zp>  
      是否国际化信息自动加载 X-tw)  
veuX />!  
struts.locale Ni8%K6]z  
      The default locale for the Struts application 4[i 3ckFT,  
      默认的国际化地区信息 XD?Lu _.  
9N `WT=  
struts.mapper.class X!:J1'FE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V:#rY5X  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 gg.]\#3g  
oP`:NCj\9  
struts.multipart.maxSize <THw l/a  
      The maximize size of a multipart request (file upload) 6fo\ z2  
      multipart请求信息的最大尺寸(文件上传用) @  R[K8  
`*cqT  
struts.multipart.parser 1.M<u)1GU  
      The org.apache.struts2.dispatcher.multipart. m 62Zta  
      MultiPartRequest parser implementation for a multipart request (file upload) w[F})u]E  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) v-N4&9)%9  
=/}Rnl+c  
!ui t  
struts.multipart.saveDir oKYa ?  
      The directory to use for storing uploaded files 8o[gzW:Q)U  
      设置存储上传文件的目录夹 'Kk/ J+6U  
>;XtJJS  
struts.objectFactory r!1f>F*dt  
      The com.opensymphony.xwork2.ObjectFactory implementation class "f8,9@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &',#j]I  
^, YTQ.O  
struts.objectFactory.spring.autoWire %X's/;(Lx`  
      Whether Spring should autoWire or not ;e*okYM  
      是否自动绑定Spring 4evNZ Q  
(V&8 WN  
struts.objectFactory.spring.useClassCache pj<aMh  
      Whether Spring should use its class cache or not Dt<MEpbur  
      是否spring应该使用自身的cache $ K+| bb  
{ TI,|'>5[  
struts.objectTypeDeterminer `y61Bz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L){V(*K '  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a_bZT4  
7TEpjSuF  
struts.serve.static.browserCache \#JXch  
If static content served by the Struts filter should set browser caching header properties or not %f'=9pit  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gxmo 1  
0ETT@/)]z  
struts.serve.static p7 !y#  
      Whether the Struts filter should serve static content or not *#E_KW1RV  
      是否struts过滤器应该提供静态内容 G62;p#  
V,rR*a&p  
struts.tag.altSyntax u:']jw=f  
      Whether to use the alterative syntax for the tags or not l?$X.Cw X  
      是否可以用替代的语法替代tags 6eUGE4NF(  
M*bsA/Z  
struts.ui.templateDir w>\oz  
      The directory containing UI templates j94~c YV  
      UI templates的目录夹 %E/#h8oN{  
+,,dsL  
struts.ui.theme hSxK*.W*3  
      The default UI template theme Iila|,cM  
      默认的UI template主题 R<_VWPlj  
2q]ZI  
struts.url.http.port c7{s'ifG  
      The HTTP port used by Struts URLs ovOV&Zt  
      设置http端口 QVRQUd  
`q\F C[W  
struts.url.https.port /k ?l%AH  
      The HTTPS port used by Struts URLs A4|7^Ay  
      设置https端口 kP}l"CN4  
@67GVPcxl  
struts.url.includeParams 0 LXu!iix  
      The default includeParams method to generate Struts URLs 9mp`LT  
      在url中产生 默认的includeParams ~CHcbEWk)W  
|EdEV*.ej  
-fV\JJ  
struts.velocity.configfile %z.V$2  
      The Velocity configuration file path P`O`Mw EAf  
      velocity配置文件路径 8 e_]  
pGD-K41O]  
struts.velocity.contexts $[b}r#P  
      List of Velocity context names f+ZOE?"  
      velocity的context列表 +zbCYA  
:R +BC2x  
F WU >WHX  
struts.velocity.manager.classname -(e=S^36  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^wc:qll  
      org.apache.struts2.views.velocity.VelocityManager接口名 @=P c{xp  
v FQ]>n X  
struts.velocity.toolboxlocation  6W  
      The location of the Velocity toolbox so1  
      velocity工具盒的位置 sN-u?EiF8  
struts.xslt.nocache KPDJ$,:  
      Whether or not XSLT templates should not be cached V1Ojr~iM  
      是否XSLT模版应该被缓存 w8~R=k  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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