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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4HGR-S/  
.WGrzhsV  
struts.action.extension !nF.whq  
      The URL extension to use to determine if the request is meant for a Struts action pq]>Ep  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m2F+ 6G  
2o0WS~}5  
struts.configuration S Fqq(K2u  
      The org.apache.struts2.config.Configuration implementation class 9['>$ON  
        org.apache.struts2.config.Configuration接口名 1Msc:7:L  
3 gW+|3E  
struts.configuration.files )fc+B_  
      A list of configuration files automatically loaded by Struts hWr}Uui  
      struts自动加载的一个配置文件列表 ,B,0o*qc{K  
BR~+CBH  
struts.configuration.xml.reload asYUb&Hz88  
      Whether to reload the XML configuration or not _^F%$K6  
      是否加载xml配置(true,false) =jRC4]M})  
nA+gqY6 6|  
struts.continuations.package F=;nWQ&  
      The package containing actions that use Rife continuations {\ BFWGX  
      含有actions的完整连续的package名称 "s\himoa  
Lo +H&-  
struts.custom.i18n.resources H*&!$s.  
      Location of additional localization properties files to load }wGy#!CSza  
      加载附加的国际化属性文件(不包含.properties后缀) ESkhCDU  
[iN\R+:  
struts.custom.properties kg$w<C@#"  
      Location of additional configuration properties files to load sg_%=;  
      加载附加的配置文件的位置 9]a!1  
0}$R4<"{Y>  
H$xUOqL  
struts.devMode =K9-  
      Whether Struts is in development mode or not S$nEflcz  
      是否为struts开发模式 -qB{TA-.\  
W)u9VbPk[  
struts.dispatcher.parametersWorkaround }DkdF  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fvoPV &:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) WAGU|t#."  
ET~^P  
struts.enable.DynamicMethodInvocation E,|OMK#   
      Allows one to disable dynamic method invocation from the URL F^7qr  
        允许动态方法调用 s&6/fa  
G}'\  
struts.freemarker.manager.classname q>VvXUyK,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3O?[Yhk`.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 51!#m|  
<+ckE 2j  
struts.i18n.encoding 5Ja[p~^L  
      The encoding to use for localization messages G2FD'Sf  
      国际化信息内码 2L7ogyrU/A  
-q DL':  
struts.i18n.reload W_|7hwr  
      Whether the localization messages should automatically be reloaded k FE<M6a9@  
      是否国际化信息自动加载 J-~:W~Qx4N  
Ng\]  
struts.locale S6c>D&Q  
      The default locale for the Struts application U5H5QW+  
      默认的国际化地区信息 qmbhx9V   
- !s=`9o  
struts.mapper.class _z& H O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TiSV`V q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ??g = `yH  
]goPjfWvU"  
struts.multipart.maxSize /Au7X'}  
      The maximize size of a multipart request (file upload) 3>k?-%"  
      multipart请求信息的最大尺寸(文件上传用) /m+.5Qz9)@  
WL1$LLzN  
struts.multipart.parser V(6Ql j7  
      The org.apache.struts2.dispatcher.multipart. {o8K&XU#&t  
      MultiPartRequest parser implementation for a multipart request (file upload) !]!J"!xg*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Qy| 6A@  
uS{WeL6%  
c4FU@^Vv  
struts.multipart.saveDir p~Mw^SN'  
      The directory to use for storing uploaded files 1tFx Z#(G  
      设置存储上传文件的目录夹 u!I=|1s  
O3(H_(P  
struts.objectFactory Rnk&:c  
      The com.opensymphony.xwork2.ObjectFactory implementation class M[Mx g  
      com.opensymphony.xwork2.ObjectFactory接口(spring) WizVw&Iv  
v'u}%FC  
struts.objectFactory.spring.autoWire w(R+p/RF  
      Whether Spring should autoWire or not ag"Nf-o/Y  
      是否自动绑定Spring $WZHkV  
Z`{GjV3%wH  
struts.objectFactory.spring.useClassCache *!yY7 ~#  
      Whether Spring should use its class cache or not ^a;412  
      是否spring应该使用自身的cache C )+%9Edg  
!R1OSVFp  
struts.objectTypeDeterminer ddvtBAX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rJc=&'{&)N  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?YhGW   
hbTJXP~~?  
struts.serve.static.browserCache fBct%M 3  
If static content served by the Struts filter should set browser caching header properties or not _l&.<nz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *vIC9./  
2I1CKA:7g  
struts.serve.static D? FWSv  
      Whether the Struts filter should serve static content or not uE,j$d  
      是否struts过滤器应该提供静态内容 D P+W* 87J  
' 8UhYwyr  
struts.tag.altSyntax to;cF6X  
      Whether to use the alterative syntax for the tags or not d8/KTl  
      是否可以用替代的语法替代tags (KdP^.7  
Z}$1~uyw  
struts.ui.templateDir ^h"F\vIpV  
      The directory containing UI templates ]Kp -2KW  
      UI templates的目录夹 MHAWnH8  
#i[V {J8.p  
struts.ui.theme 7>yb8/J  
      The default UI template theme ? -`8w _3  
      默认的UI template主题 y_f^ dIK*=  
m7m)BX%O  
struts.url.http.port p"=8{LrO  
      The HTTP port used by Struts URLs .oxeo 0@~  
      设置http端口 z#{%[X2  
K{]\}7+   
struts.url.https.port 17B`  
      The HTTPS port used by Struts URLs 2"L a}Vx2  
      设置https端口 aDjYT/`l  
kaZ_ra;<  
struts.url.includeParams A>QAR)YP  
      The default includeParams method to generate Struts URLs  -bQi4  
      在url中产生 默认的includeParams Zi ;7.PqL  
VyxX5Lrj  
F=~LVaF/_  
struts.velocity.configfile g 9:V00^<  
      The Velocity configuration file path .0#{ ?R,  
      velocity配置文件路径 Yjp*T:6  
k= oCpXq^  
struts.velocity.contexts s, ;L6nX"  
      List of Velocity context names WEk3 4crk  
      velocity的context列表 ;q%V)4  
6gJc?+  
gL6.,4q+1  
struts.velocity.manager.classname rJ fO/WK  
      org.apache.struts2.views.velocity.VelocityManager implementation class :A]CD (  
      org.apache.struts2.views.velocity.VelocityManager接口名 @y{ f>nm  
wxo{gBq  
struts.velocity.toolboxlocation u eV,p?Wo  
      The location of the Velocity toolbox 3\&I7o3V  
      velocity工具盒的位置 cg'z:_l  
struts.xslt.nocache wTPHc:2  
      Whether or not XSLT templates should not be cached #]FJx  
      是否XSLT模版应该被缓存 OK=ANQjs(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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