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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -r-`T s  
JZL!(>tI  
struts.action.extension -"a+<(Y  
      The URL extension to use to determine if the request is meant for a Struts action & ,&+/Sr11  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @R2|=ox  
\hM6 ykY-  
struts.configuration H[,.nH_>+  
      The org.apache.struts2.config.Configuration implementation class >M:5yk@  
        org.apache.struts2.config.Configuration接口名 4g1u9Sc0  
K)Db3JIIk  
struts.configuration.files fJE ki>1  
      A list of configuration files automatically loaded by Struts '*3+'>   
      struts自动加载的一个配置文件列表 v,|;uc+  
2 yP#:T/z  
struts.configuration.xml.reload \k1Wh-3  
      Whether to reload the XML configuration or not Gcs+@7!b  
      是否加载xml配置(true,false) Ya9uu@F  
q]Qgg  
struts.continuations.package i]$d3J3  
      The package containing actions that use Rife continuations V7[qf "  
      含有actions的完整连续的package名称 (Z,,H1L  
F'j:\F6C;  
struts.custom.i18n.resources LOida#R  
      Location of additional localization properties files to load "W+4`A(/l  
      加载附加的国际化属性文件(不包含.properties后缀) .X2mEnh  
c>UITM=!I  
struts.custom.properties L8j,?u#  
      Location of additional configuration properties files to load C}1(@$  
      加载附加的配置文件的位置 0KDDAkR5R  
#Y18z5vo  
z|b4w7 I  
struts.devMode 6PMu;#  
      Whether Struts is in development mode or not y ph  
      是否为struts开发模式 p[o2F5 T2  
p[uwG31IL`  
struts.dispatcher.parametersWorkaround E?XA/z !  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >leOyBEAR  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r>)\"U#  
g(5s{njL  
struts.enable.DynamicMethodInvocation Oy|9po  
      Allows one to disable dynamic method invocation from the URL lHGv:TN  
        允许动态方法调用 Xj-3C[ 8@  
\:=Phbn  
struts.freemarker.manager.classname &erNVD5o  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5;^8wh(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 84 knoC  
ev?>Nq+Z  
struts.i18n.encoding d;;=s=j  
      The encoding to use for localization messages )nJ>kbO~8  
      国际化信息内码 _?r+SRFn  
#SqOJX~Q  
struts.i18n.reload 0"QE,pLe4  
      Whether the localization messages should automatically be reloaded KcU,RTE  
      是否国际化信息自动加载 =;{S>P!I(t  
cKfYkJ)A'  
struts.locale m|7g{vHVV  
      The default locale for the Struts application NFSPw` f  
      默认的国际化地区信息 u51/B:+   
hNoN=J  
struts.mapper.class ^Ue.9#9T&g  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c"z%AzUV'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9/%|#b-z  
rb_G0/R  
struts.multipart.maxSize ZE\t{s0  
      The maximize size of a multipart request (file upload) _N]yI0k(  
      multipart请求信息的最大尺寸(文件上传用) 9]YmP8  
cQ8:;-M   
struts.multipart.parser \D[BRE+  
      The org.apache.struts2.dispatcher.multipart. vB Jva8;Q  
      MultiPartRequest parser implementation for a multipart request (file upload) 16+@#d%#p  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @KpzxcEoO  
l1:j/[B=  
T#BOrT>V  
struts.multipart.saveDir 14&EdTG.  
      The directory to use for storing uploaded files foFn`?LF  
      设置存储上传文件的目录夹 aH$~':[93  
wd]Yjr#%Ii  
struts.objectFactory sooh yK8  
      The com.opensymphony.xwork2.ObjectFactory implementation class <7&b|f$CL  
      com.opensymphony.xwork2.ObjectFactory接口(spring) k@Tt,.];  
cnc$^[c  
struts.objectFactory.spring.autoWire LH_2oJ\  
      Whether Spring should autoWire or not +|?c_vD  
      是否自动绑定Spring |s^ar8)=)  
>r*Zm2($MR  
struts.objectFactory.spring.useClassCache c1 <g!Q&E  
      Whether Spring should use its class cache or not 7/1S5yUr|  
      是否spring应该使用自身的cache &q U[ wn:1  
:U*[s$  
struts.objectTypeDeterminer aj,ZM,Ad  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C[pDPx,#:G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 MQ+ek4  
3edAI&a5  
struts.serve.static.browserCache Iu[EUi!"  
If static content served by the Struts filter should set browser caching header properties or not gvJJ.IX]+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6:!fyia  
ZJpI]^9|  
struts.serve.static F,zJdJ  
      Whether the Struts filter should serve static content or not |<V{$),k  
      是否struts过滤器应该提供静态内容 !+6l.`2WI  
0%t|?@HoN  
struts.tag.altSyntax  ;E&XFTdO  
      Whether to use the alterative syntax for the tags or not 3q>"#+R.t  
      是否可以用替代的语法替代tags ,*4"d._Y  
; M(}fV]  
struts.ui.templateDir [Ok8l='  
      The directory containing UI templates 'KL(A-}!  
      UI templates的目录夹 \\qg2yI  
ayD\b6Z2.  
struts.ui.theme [GuDMl3hC  
      The default UI template theme ws=TR  
      默认的UI template主题 }B- A*TI<h  
Dpd$&Wr0Y  
struts.url.http.port qWFg~s#+  
      The HTTP port used by Struts URLs cTnbI4S;  
      设置http端口 vy#(|[pL{  
f+6l0@K2  
struts.url.https.port p(G?  
      The HTTPS port used by Struts URLs uS'ji k}  
      设置https端口 {<2Zb N?  
|$t0cd  
struts.url.includeParams T42g4j/l~  
      The default includeParams method to generate Struts URLs LTe7f8A  
      在url中产生 默认的includeParams w(j9[  
J]0#M:w&  
0- UeFy  
struts.velocity.configfile h[]N=X  
      The Velocity configuration file path *LRGfk+h  
      velocity配置文件路径 :t qjm:  
l 3K8{HY  
struts.velocity.contexts nf4 P2<L!  
      List of Velocity context names *K(xES! b  
      velocity的context列表 1I`D$Xq~:  
07|NPS  
 M9K).P=  
struts.velocity.manager.classname ~30Wb9eL  
      org.apache.struts2.views.velocity.VelocityManager implementation class zEW:Xe)  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;$QJnQ"R  
_&/Zab5  
struts.velocity.toolboxlocation CnH R&`  
      The location of the Velocity toolbox mSfhl(<L  
      velocity工具盒的位置 =oME~oB~  
struts.xslt.nocache S;'eoqN8  
      Whether or not XSLT templates should not be cached c)8wO=!  
      是否XSLT模版应该被缓存 Ic K=E ]p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八