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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 lhA s!\F  
_#D\*0J  
struts.action.extension d<Q+D1  
      The URL extension to use to determine if the request is meant for a Struts action iynS4]`U  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 EKd3$(^   
hJo^Wo  
struts.configuration VUC <0WV  
      The org.apache.struts2.config.Configuration implementation class ^GrkIh0nL  
        org.apache.struts2.config.Configuration接口名 ,Q=)$ `%  
Eh@T W%9*  
struts.configuration.files KCh  
      A list of configuration files automatically loaded by Struts Ym.l@(  
      struts自动加载的一个配置文件列表 Rs F3#H  
tkN3BQ  
struts.configuration.xml.reload NC.P 2^%  
      Whether to reload the XML configuration or not T$^>Fiz{Se  
      是否加载xml配置(true,false) $#7J\=GZ+  
#}!>iFBcH  
struts.continuations.package r d6F"W  
      The package containing actions that use Rife continuations q= yZx)  
      含有actions的完整连续的package名称 n*m"L|:ff  
}K/}(zuy1Y  
struts.custom.i18n.resources i$JG^6,O  
      Location of additional localization properties files to load ('* *nP  
      加载附加的国际化属性文件(不包含.properties后缀) !P~ PF:W~|  
*pTO|x{  
struts.custom.properties (}FW])y  
      Location of additional configuration properties files to load V4eng "  
      加载附加的配置文件的位置 v*H &F   
:#\B {)(  
(' Ko#3b  
struts.devMode 9]L!.  
      Whether Struts is in development mode or not C9mzg  
      是否为struts开发模式 ;o)=XEh8P  
sUbz)BS#.  
struts.dispatcher.parametersWorkaround S#h'\/S  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (~7m"?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c BHL,  
,%?; \?b%h  
struts.enable.DynamicMethodInvocation uRm_  
      Allows one to disable dynamic method invocation from the URL K=c=/`E  
        允许动态方法调用 c8-69hb?  
OY^n0Zof,  
struts.freemarker.manager.classname  ^%5~ ;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J+@MzkpK  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 i.&Kpw9;m  
U1>  
struts.i18n.encoding O2q=gYX>\  
      The encoding to use for localization messages \]U<hub  
      国际化信息内码 Ld\LKwo  
@L[PW@:SZ  
struts.i18n.reload N[,VSO&  
      Whether the localization messages should automatically be reloaded {1Ju} =69  
      是否国际化信息自动加载 1 ;\]D9i  
bB;~,W&E1  
struts.locale (ET ;LH3  
      The default locale for the Struts application @.Z[M  
      默认的国际化地区信息 Zk/' \(5  
*(d6Z#  
struts.mapper.class ;]gsJ9FK<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :F^$"~(,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~KAp\!,  
d; mmM\3]  
struts.multipart.maxSize 8! H8[J  
      The maximize size of a multipart request (file upload) .'^6QST  
      multipart请求信息的最大尺寸(文件上传用) O t *K+^I  
!fi &@k  
struts.multipart.parser - E8ntY-  
      The org.apache.struts2.dispatcher.multipart. FJsK5-  
      MultiPartRequest parser implementation for a multipart request (file upload) | rE!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }BI~am_  
S'Z70 zJ  
{cR_?Y@  
struts.multipart.saveDir =vqsd4  
      The directory to use for storing uploaded files UF&0 & `@  
      设置存储上传文件的目录夹 g08*}0-k  
k4qLB1&,  
struts.objectFactory xm<v"><  
      The com.opensymphony.xwork2.ObjectFactory implementation class gYTyH.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^>N8*=y  
M82.khm~jM  
struts.objectFactory.spring.autoWire S}oG.r 9  
      Whether Spring should autoWire or not "/ tUA\=j  
      是否自动绑定Spring ?,ZELpg n  
dtB[m^$  
struts.objectFactory.spring.useClassCache {0is wq'J  
      Whether Spring should use its class cache or not t8+?U^j  
      是否spring应该使用自身的cache 3R5K}ZBi%  
!oZQ2z~  
struts.objectTypeDeterminer x96qd%l/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y;Qy"-)qb  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]Nnxnp  
cC^W2\  
struts.serve.static.browserCache l6iw=b[?  
If static content served by the Struts filter should set browser caching header properties or not VZ\O9lD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =yl4zQmg$  
d{er |$E?  
struts.serve.static lV P9=  
      Whether the Struts filter should serve static content or not r?fH &u  
      是否struts过滤器应该提供静态内容 ,"~WkLI~\t  
nN>J*02(  
struts.tag.altSyntax wk" l[cH>  
      Whether to use the alterative syntax for the tags or not 3(1 ]FKZtt  
      是否可以用替代的语法替代tags b6 $,Xh  
hS4.3]ei  
struts.ui.templateDir dZPW2yf  
      The directory containing UI templates x>}B#  
      UI templates的目录夹 EJ1Bq>u7  
ARPKzF`Wq  
struts.ui.theme cppL0myJ  
      The default UI template theme 7$!yfMttu  
      默认的UI template主题 H5~1g6b@  
 }VF#\q  
struts.url.http.port kW#S]fsfU  
      The HTTP port used by Struts URLs q[-|ZA bbr  
      设置http端口 ]JH64~a  
9/#0?(K8  
struts.url.https.port 1o8wy_eSs  
      The HTTPS port used by Struts URLs rvW!7 -R  
      设置https端口 2;8Xz 6T  
t5xb"F   
struts.url.includeParams Rv98\VD"  
      The default includeParams method to generate Struts URLs }*NF&PD5RU  
      在url中产生 默认的includeParams  Do|]eD  
)IQ*  
X:>$ 8^gS  
struts.velocity.configfile `)T&~2n  
      The Velocity configuration file path >QXzMN}o  
      velocity配置文件路径 _IWxYp  
2d-{Q 8Pi  
struts.velocity.contexts cgyp5\*>+  
      List of Velocity context names cv2]*  
      velocity的context列表 [!EXMpq'  
^EF'TO$  
yf!,4SUkU  
struts.velocity.manager.classname zJ;Rt9<7-  
      org.apache.struts2.views.velocity.VelocityManager implementation class nP<S6:s:  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]Kv q |}=  
Ejv%,q/T(  
struts.velocity.toolboxlocation "f4<B-9<$  
      The location of the Velocity toolbox ;J]25j]]  
      velocity工具盒的位置 NetYg]8`  
struts.xslt.nocache ^=^$tF  
      Whether or not XSLT templates should not be cached M i]I:ka  
      是否XSLT模版应该被缓存 (?vK_{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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