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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @/S6P-4  
}pE8G#O&  
struts.action.extension \htL\m^$9  
      The URL extension to use to determine if the request is meant for a Struts action 'C l}IDF  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4_CV.?  
4Xna}7  
struts.configuration <OKzb3e  
      The org.apache.struts2.config.Configuration implementation class x+kP,v  
        org.apache.struts2.config.Configuration接口名 -ff|Xxar{  
-{Lc?=  
struts.configuration.files F1V[8I.0  
      A list of configuration files automatically loaded by Struts ?)B"\#`t  
      struts自动加载的一个配置文件列表 +]n.uA-`[a  
I91pX<NBf  
struts.configuration.xml.reload ;Nw.  
      Whether to reload the XML configuration or not -Jo8jE~>V  
      是否加载xml配置(true,false) QN%w\ JXS  
Rp~#zt9:  
struts.continuations.package #z|\AmZ\  
      The package containing actions that use Rife continuations 5:jbd:o  
      含有actions的完整连续的package名称 P);: t~  
e=11EmN9  
struts.custom.i18n.resources ];bl;BP  
      Location of additional localization properties files to load Z[.+Wd\)-9  
      加载附加的国际化属性文件(不包含.properties后缀) us&!%`  
_9Pxtf  
struts.custom.properties wi#]*\N\9  
      Location of additional configuration properties files to load -*[?E!F  
      加载附加的配置文件的位置 'xNPy =#  
b\/:-][  
U] 2fV|Hn  
struts.devMode +k!Y]_&(:f  
      Whether Struts is in development mode or not r]x;JBy  
      是否为struts开发模式 &G5=?ub  
 N-x~\B!  
struts.dispatcher.parametersWorkaround JHY0 J &4s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E$z)$`"1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $9 GRAM.  
^!]Hm&.a  
struts.enable.DynamicMethodInvocation ,"U8Fgf[r  
      Allows one to disable dynamic method invocation from the URL !/4f/g4Ze  
        允许动态方法调用 ?Rc+H;x=f  
Wsn}Y-x  
struts.freemarker.manager.classname RP]hW{:U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1vcI`8%S+u  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 M@a?j<7P,m  
zu<8%  
struts.i18n.encoding 1Aq*|JSk(  
      The encoding to use for localization messages {(}Mu R  
      国际化信息内码 >wK ^W{  
r7tN(2;5  
struts.i18n.reload ={9G.%W  
      Whether the localization messages should automatically be reloaded [\o+I:,}wi  
      是否国际化信息自动加载 gf!hO$sQ3  
uN`{; Av  
struts.locale `{g8A P3  
      The default locale for the Struts application o0-7#2  
      默认的国际化地区信息 AL.zF\?  
@`:n+r5u  
struts.mapper.class C;DNL^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ep% 5wR  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 NI eKS_ +  
!HA[:-JCz  
struts.multipart.maxSize |>( @n{  
      The maximize size of a multipart request (file upload) Wt +, 6Cq  
      multipart请求信息的最大尺寸(文件上传用) aq[;[$w  
h+mM  
struts.multipart.parser 2[&3$-]  
      The org.apache.struts2.dispatcher.multipart. Jji~MiMn  
      MultiPartRequest parser implementation for a multipart request (file upload) 0\t k/<w2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) X!5  
7s%DM6li 6  
[Rh[Z# 6  
struts.multipart.saveDir W~GbB:-  
      The directory to use for storing uploaded files 8?S32Gdu  
      设置存储上传文件的目录夹 Q]_3 #_'  
zr9o  
struts.objectFactory V/Hjd`n)`i  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'hl>pso.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @Taj++ua  
& z;;Bx0s  
struts.objectFactory.spring.autoWire [@ ]f@Wd  
      Whether Spring should autoWire or not OE(H:^ZR  
      是否自动绑定Spring !FweXFl  
Dc |!H{Yr  
struts.objectFactory.spring.useClassCache ]KGLJ~hm>  
      Whether Spring should use its class cache or not _W41;OY  
      是否spring应该使用自身的cache @%L4^ms  
daT[2M  
struts.objectTypeDeterminer )^UM8 s  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \H$Ps9Xh  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !dfc1UjB  
;dl>  
struts.serve.static.browserCache r}OK3J  
If static content served by the Struts filter should set browser caching header properties or not [h8j0Q@Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  ^o+}3=  
@R= gJ:&a  
struts.serve.static hd~X c  
      Whether the Struts filter should serve static content or not v\*43RL  
      是否struts过滤器应该提供静态内容 jsS xjf;O  
.3Nd[+[  
struts.tag.altSyntax )r v5QH`i  
      Whether to use the alterative syntax for the tags or not 7<[p1C*B  
      是否可以用替代的语法替代tags o+W5xHe^1  
]=p@1  
struts.ui.templateDir 'iO?M'0gE#  
      The directory containing UI templates 2= X2M  
      UI templates的目录夹 bkkhx,Oi[G  
|w2H5f{fR  
struts.ui.theme gnmKh>0@6o  
      The default UI template theme EWPP&(u3  
      默认的UI template主题 Efi@hdEV  
Y|J\,7CM  
struts.url.http.port |pJ)w  
      The HTTP port used by Struts URLs &| %<=\  
      设置http端口 .lfKS!m2  
_[-+%RP  
struts.url.https.port IM&2SSmYNH  
      The HTTPS port used by Struts URLs 3vPb}  
      设置https端口 $:"r$7  
SU;PmG4  
struts.url.includeParams <v;;:RB6c  
      The default includeParams method to generate Struts URLs I*R[8|  
      在url中产生 默认的includeParams *6~ODiB  
F)/}Q[o8  
@-bX[}.  
struts.velocity.configfile _^Lv8a3(O  
      The Velocity configuration file path C.V")D=  
      velocity配置文件路径 [-!   
>*H>'O4  
struts.velocity.contexts 2't<Hl1qN  
      List of Velocity context names &~U!X~PpB  
      velocity的context列表 T^u][I3*  
W R@=[G#TJ  
UKp- *YukT  
struts.velocity.manager.classname {]plT~{e  
      org.apache.struts2.views.velocity.VelocityManager implementation class e{8z1t20:  
      org.apache.struts2.views.velocity.VelocityManager接口名 T9]|*~ ,T  
AOQimjW9a  
struts.velocity.toolboxlocation /W'GX n  
      The location of the Velocity toolbox U'zW; Lt  
      velocity工具盒的位置 hK"hMyH^  
struts.xslt.nocache Ei2Y)_   
      Whether or not XSLT templates should not be cached 9;s:Bo  
      是否XSLT模版应该被缓存 v5l)T}Nb  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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