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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 r ??_2>Q  
D`QMlRzXy  
struts.action.extension U~=?I)Ni  
      The URL extension to use to determine if the request is meant for a Struts action 2W0nA t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 hbYstK;]Z  
Mo@{1K/9  
struts.configuration hYyIC:PXR  
      The org.apache.struts2.config.Configuration implementation class K3vZ42n  
        org.apache.struts2.config.Configuration接口名 [G brKq(  
/ xv5we~  
struts.configuration.files 1 K}gX>F  
      A list of configuration files automatically loaded by Struts ~Q=;L>Qd  
      struts自动加载的一个配置文件列表 97 SS0J  
5@l5exuG*m  
struts.configuration.xml.reload #CLjQJ  
      Whether to reload the XML configuration or not :g$"Xc8Zn  
      是否加载xml配置(true,false) wxB HlgK4z  
s:'>G;p  
struts.continuations.package >&HW6 c  
      The package containing actions that use Rife continuations 8L:AmpQdpA  
      含有actions的完整连续的package名称 mKtMI!FR  
U;3t{~Ym  
struts.custom.i18n.resources h];H]15&  
      Location of additional localization properties files to load 9Pg6,[*u  
      加载附加的国际化属性文件(不包含.properties后缀) V(kK2az  
N^B7<~ bD  
struts.custom.properties ;S^"Y:7)  
      Location of additional configuration properties files to load "3jTU  
      加载附加的配置文件的位置 Ngx2N<$<*g  
qy?$t:*pp  
*[cCY!+Qy  
struts.devMode `~\SQ EY$  
      Whether Struts is in development mode or not ri-&3%%z<  
      是否为struts开发模式 }{+?>!qDt  
zATOFV  
struts.dispatcher.parametersWorkaround ag8)^p'9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b,:^\HKC  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) VS4Glx73  
.qe+"$K'n  
struts.enable.DynamicMethodInvocation 3VU4E|s>  
      Allows one to disable dynamic method invocation from the URL #:=c)[G8  
        允许动态方法调用 IJ+}  
9Znc|<  
struts.freemarker.manager.classname b`%u}^B {  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5.-:)=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Zl%)#=kO  
h7ZH/g$)  
struts.i18n.encoding kReZch}  
      The encoding to use for localization messages 1d!s8um;  
      国际化信息内码 FLJ&ZU=s  
~c&sr5E  
struts.i18n.reload |5>A^a  
      Whether the localization messages should automatically be reloaded O*+HK1q7  
      是否国际化信息自动加载 /)v+|%U  
V*JqC  
struts.locale msw'n  
      The default locale for the Struts application ;\pINtl9<  
      默认的国际化地区信息 P;(@"gD8z5  
#/I+[|=[O  
struts.mapper.class f.` 8vaV  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q9x@Pc29d  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 cl#XiyK>  
@Wd (>*"zw  
struts.multipart.maxSize "< Di  
      The maximize size of a multipart request (file upload) C<C^7-5  
      multipart请求信息的最大尺寸(文件上传用) QNE/SSL  
w)K547!00  
struts.multipart.parser lNc0znY  
      The org.apache.struts2.dispatcher.multipart. PC"=B[OlJ  
      MultiPartRequest parser implementation for a multipart request (file upload) 4D 5Wse  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~Ih` ayVq  
 e4_A`j'  
IW@xT@  
struts.multipart.saveDir *:\[;69[  
      The directory to use for storing uploaded files vS ( Y_6  
      设置存储上传文件的目录夹 ,;YNI  
3 u=\d)eq  
struts.objectFactory ~%tVb c  
      The com.opensymphony.xwork2.ObjectFactory implementation class g_PP 9S_?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o S{hv:)>  
b!MN QGs  
struts.objectFactory.spring.autoWire <Ed;tq  
      Whether Spring should autoWire or not 9pi{)PDJ  
      是否自动绑定Spring Q7`)&^ Hx  
@) MG&X  
struts.objectFactory.spring.useClassCache jB9~'>JY  
      Whether Spring should use its class cache or not &B :L9^  
      是否spring应该使用自身的cache rpEIDhHv  
lO9Ixhf~iu  
struts.objectTypeDeterminer G]xYQ]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |$\1E+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?$I9/r  
,;MUXCC'  
struts.serve.static.browserCache N DI4EA~z  
If static content served by the Struts filter should set browser caching header properties or not 2 N(Z^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3J8>r|u;1'  
ADxje%!1O  
struts.serve.static IuFr:3(  
      Whether the Struts filter should serve static content or not 2xi; 13?  
      是否struts过滤器应该提供静态内容 ?FS0zc!+  
]ZR` 6|"VO  
struts.tag.altSyntax c#u_%*  
      Whether to use the alterative syntax for the tags or not *>2FcoN;  
      是否可以用替代的语法替代tags _lT'nFe =Q  
X%99@qv  
struts.ui.templateDir v}5YUM0H`  
      The directory containing UI templates m' j1  
      UI templates的目录夹 g>7i2  
"tO m  
struts.ui.theme %Y/;jC Y  
      The default UI template theme $M,Q"QL  
      默认的UI template主题 IEM{?  
G{|"WaKW  
struts.url.http.port 3KeY4b!h  
      The HTTP port used by Struts URLs ,. ht ~AE  
      设置http端口 Z9h4 pd  
X16O9qsh  
struts.url.https.port zZY1E@~  
      The HTTPS port used by Struts URLs s7jNRY V  
      设置https端口 st.{AEv@  
K}n.k[Do  
struts.url.includeParams 6o]{< T/'  
      The default includeParams method to generate Struts URLs li{<F{7  
      在url中产生 默认的includeParams 04-@c  
7[L%j;)bw  
f;+.j/ +  
struts.velocity.configfile f]sR4mhO  
      The Velocity configuration file path iz[IK%K  
      velocity配置文件路径 | "b|Q  
M/xm6  
struts.velocity.contexts WcXNc`x  
      List of Velocity context names J_XkQR[Y  
      velocity的context列表 B1I{@\z0G  
@yQ1F> t  
xU{0rM"  
struts.velocity.manager.classname dB&<P[$+8  
      org.apache.struts2.views.velocity.VelocityManager implementation class U0|bKU  
      org.apache.struts2.views.velocity.VelocityManager接口名 #PC*l\ )  
())_4 <  
struts.velocity.toolboxlocation !Dc;R+Ir0!  
      The location of the Velocity toolbox I"8Z'<|/\q  
      velocity工具盒的位置 ~rq:I<5  
struts.xslt.nocache Xmb##:  
      Whether or not XSLT templates should not be cached Jp8,s%  
      是否XSLT模版应该被缓存 I@Y k &aU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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