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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AZik:C"Q  
P~lU`.X}  
struts.action.extension `S4*~Xx  
      The URL extension to use to determine if the request is meant for a Struts action 3:#6/@wQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }.8yKj^p  
\i-CTv6f  
struts.configuration `ItoL7bi  
      The org.apache.struts2.config.Configuration implementation class kzK9 .  
        org.apache.struts2.config.Configuration接口名 x%ccNP0  
KrG,T5  
struts.configuration.files NhTJB7  
      A list of configuration files automatically loaded by Struts c V MRSp  
      struts自动加载的一个配置文件列表 HrZX~JnTmf  
SvkCx>6/G  
struts.configuration.xml.reload :EYUBtTj  
      Whether to reload the XML configuration or not n!SHExBp  
      是否加载xml配置(true,false) t~4Cf])  
9Qu(RbDqC  
struts.continuations.package =<PEvIn  
      The package containing actions that use Rife continuations ':tdb$h  
      含有actions的完整连续的package名称 .w{Y3,dd>  
0k5uqGLXe  
struts.custom.i18n.resources \JR^uJ{Y  
      Location of additional localization properties files to load 4:**d[|1  
      加载附加的国际化属性文件(不包含.properties后缀) +hispU3ia  
OXKV6r6f  
struts.custom.properties d)Z&_v<|  
      Location of additional configuration properties files to load o+XQMg  
      加载附加的配置文件的位置 +rSU  
OR $i,N|  
ue+{djz[4  
struts.devMode z>y# ^f)r  
      Whether Struts is in development mode or not #l- 0$  
      是否为struts开发模式 q o^mp  
S#yGqN0i  
struts.dispatcher.parametersWorkaround a%kvC#B  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h*1T3U$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R)SY#*Y  
<z#Fj`2{  
struts.enable.DynamicMethodInvocation -L6CEe  
      Allows one to disable dynamic method invocation from the URL T2rBH]5  
        允许动态方法调用 iV#A-9  
kQd|qZ=:w  
struts.freemarker.manager.classname i0+e3!QU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class I#;dS!W"'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [ "3s  
.Oc j|A6  
struts.i18n.encoding (.Ak*  
      The encoding to use for localization messages  CDuA2e  
      国际化信息内码 *pnaj\  
Uz rf,I[  
struts.i18n.reload w8UUeF  
      Whether the localization messages should automatically be reloaded t18j2P>`  
      是否国际化信息自动加载 EVaHb;  
K*,,j\Q.  
struts.locale ),Yk53G6c  
      The default locale for the Struts application P?|\Ig1Gk  
      默认的国际化地区信息 gzat!>*  
, #GB  
struts.mapper.class H-u SdT  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d2gYB qag  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 rMjb,2*rC7  
kF,ME5%  
struts.multipart.maxSize /)K;XtcN  
      The maximize size of a multipart request (file upload) I 2OQ  
      multipart请求信息的最大尺寸(文件上传用) 5cU:wc  
Rcw[`q3/  
struts.multipart.parser T!41[vm(  
      The org.apache.struts2.dispatcher.multipart. Ck %if  
      MultiPartRequest parser implementation for a multipart request (file upload) Q_iN/F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :X-S&S X0  
XSK<hr0m  
T2azHo7  
struts.multipart.saveDir :WQlpLn  
      The directory to use for storing uploaded files ,~1k:>njY~  
      设置存储上传文件的目录夹 > cWE@P  
]e"!ZR?XJ  
struts.objectFactory ,!%E\`  
      The com.opensymphony.xwork2.ObjectFactory implementation class cqs.[0 z#B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7 wEv`5  
#Y   
struts.objectFactory.spring.autoWire 6~W@$SP,F  
      Whether Spring should autoWire or not ~@-r  
      是否自动绑定Spring ybFxz  
, u%V%  
struts.objectFactory.spring.useClassCache <pHm=q/U  
      Whether Spring should use its class cache or not -gba&B+D"  
      是否spring应该使用自身的cache MVvBd3  
j} ^3v #  
struts.objectTypeDeterminer f#GMJ mCQs  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hjFht+j1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @>~\So|  
HB}rpiB  
struts.serve.static.browserCache RU6c 8>"  
If static content served by the Struts filter should set browser caching header properties or not sb8bCEm- \  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7_)38  
_TsN%)m  
struts.serve.static 1t?OD_d!8  
      Whether the Struts filter should serve static content or not A9K$:mL<2  
      是否struts过滤器应该提供静态内容 A4#F AFy  
N#e9w3Rli  
struts.tag.altSyntax U\j g X  
      Whether to use the alterative syntax for the tags or not u1#(~[.  
      是否可以用替代的语法替代tags ?(K=du  
y6[le*T  
struts.ui.templateDir yOKzw~;0%  
      The directory containing UI templates zP2X}VLMo  
      UI templates的目录夹 zYY]+)k?  
G?XA",AC  
struts.ui.theme EleJ$ `/  
      The default UI template theme <Y1 Plc  
      默认的UI template主题 GtZ.' ?-  
cYC^;,C &|  
struts.url.http.port } -;)G~h/"  
      The HTTP port used by Struts URLs a`f@&A`z  
      设置http端口 g%[:wjV;  
7'i{JPm  
struts.url.https.port z,SI  
      The HTTPS port used by Struts URLs 5n}<V-yJ*m  
      设置https端口 {y6h(@I8\  
4\v &8">LL  
struts.url.includeParams vS0 ii  
      The default includeParams method to generate Struts URLs !-3;Qj}V  
      在url中产生 默认的includeParams Y \B6c^E)  
Z^as ?k(iM  
il !B={  
struts.velocity.configfile N_iy4W(NU  
      The Velocity configuration file path 5<v1v&  
      velocity配置文件路径 ^5TVm>F@3  
q jc4IW t~  
struts.velocity.contexts C f d* Q  
      List of Velocity context names ~AX~z)  
      velocity的context列表 6z6\xkr  
pXN'vP  
?H@<8Ra=3  
struts.velocity.manager.classname *xsBFCRU  
      org.apache.struts2.views.velocity.VelocityManager implementation class C:5d/9k  
      org.apache.struts2.views.velocity.VelocityManager接口名 K#X/j'$^  
FG{les+:  
struts.velocity.toolboxlocation QdQ1+*/+U  
      The location of the Velocity toolbox Y.Z:H!P);$  
      velocity工具盒的位置 mS![J69(  
struts.xslt.nocache {xov8 M  
      Whether or not XSLT templates should not be cached 3Xd:LDZ{  
      是否XSLT模版应该被缓存 5toa@#Bc%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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