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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >MHlrSH2  
rk W7;!  
struts.action.extension 8x U*j  
      The URL extension to use to determine if the request is meant for a Struts action  f\<r1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e4tIO   
Nnl3r@  
struts.configuration +:.Jl:fx4  
      The org.apache.struts2.config.Configuration implementation class F'Y ad  
        org.apache.struts2.config.Configuration接口名 _-TplGSO=c  
1IA1;  
struts.configuration.files Cf=H~&`Z  
      A list of configuration files automatically loaded by Struts {*7MT}{(  
      struts自动加载的一个配置文件列表 ZwS:Te9-  
q@ -B+  
struts.configuration.xml.reload m}uOBR+  
      Whether to reload the XML configuration or not ^)Hf%  
      是否加载xml配置(true,false) 0 N,<v7PX  
KGy 3#r;Q  
struts.continuations.package b# N"} -\^  
      The package containing actions that use Rife continuations _J l(:r\%  
      含有actions的完整连续的package名称 X&pYLm72;  
b_31 \  
struts.custom.i18n.resources ?bB>}:~j)  
      Location of additional localization properties files to load W%!(kN&d  
      加载附加的国际化属性文件(不包含.properties后缀) 6h;(b2p{  
E 5&Z={  
struts.custom.properties OyZR&,q  
      Location of additional configuration properties files to load m^D'p  
      加载附加的配置文件的位置 d. wGO]"  
OUv<a `0  
!DZ=`a?y  
struts.devMode ^c\O , *:  
      Whether Struts is in development mode or not :jiuu@<  
      是否为struts开发模式 P8d  
a: "1LnvR  
struts.dispatcher.parametersWorkaround .EKlw##  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &h334N|4{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E]@&<TFq  
F0:]@0>r  
struts.enable.DynamicMethodInvocation E3uu vQ#|  
      Allows one to disable dynamic method invocation from the URL ]RCo@QW  
        允许动态方法调用 o1.~g'!^  
u"v7shRp:  
struts.freemarker.manager.classname W0gS>L_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yLa@27T\A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 VgH O&vU  
/Q1*Vh4  
struts.i18n.encoding fkxkf^g)  
      The encoding to use for localization messages \O|SPhaIf  
      国际化信息内码 +4?Lwp'q  
}t)+eSUA  
struts.i18n.reload nrl?<4 _  
      Whether the localization messages should automatically be reloaded t+?Bb7p,H  
      是否国际化信息自动加载 gu k,GF9p]  
'UhoKb_p  
struts.locale ';I}6N  
      The default locale for the Struts application c!Hz'W  
      默认的国际化地区信息 u[GZ~L  
UsE\p9mCuV  
struts.mapper.class o*KAS@&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,?GwA@~$k:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 h"`\'(,X  
^#_gk uyd!  
struts.multipart.maxSize 8~'cP?  
      The maximize size of a multipart request (file upload) uN%Cc12  
      multipart请求信息的最大尺寸(文件上传用) {<-s&%/r  
SyL"Bmi  
struts.multipart.parser tiK M+ ;C  
      The org.apache.struts2.dispatcher.multipart. xQFRM aQE  
      MultiPartRequest parser implementation for a multipart request (file upload) V;SfW2`)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %S312=w  
TK5$-6k  
5U?O1}P  
struts.multipart.saveDir lS=YnMs6a  
      The directory to use for storing uploaded files 0)dpU1B#M  
      设置存储上传文件的目录夹 }9@rhW  
wkt4vE87  
struts.objectFactory 534pX7dg  
      The com.opensymphony.xwork2.ObjectFactory implementation class UynGG@P@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Y9abRr K  
k=)U  
struts.objectFactory.spring.autoWire 2zj` H9  
      Whether Spring should autoWire or not  <$nPGz)}  
      是否自动绑定Spring =]@Bc 7@  
LW=qX%o{  
struts.objectFactory.spring.useClassCache qZ<n\Mt  
      Whether Spring should use its class cache or not \%r#>8c8  
      是否spring应该使用自身的cache oIrc))j,$  
R&uPoY,f  
struts.objectTypeDeterminer W 8<QgpV*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class '&CZ%&(Gw  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )QAYjW!Z  
IQBL;=.J.  
struts.serve.static.browserCache wGO-Z']i  
If static content served by the Struts filter should set browser caching header properties or not 2 Wcu.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uz8eS'8  
[)`*k#.=  
struts.serve.static T#&1q]P1F  
      Whether the Struts filter should serve static content or not i%yKyfD  
      是否struts过滤器应该提供静态内容 R5sEQ| E  
R655@|RT  
struts.tag.altSyntax -IIrrY O  
      Whether to use the alterative syntax for the tags or not *42KLns  
      是否可以用替代的语法替代tags 3\2&?VAjR  
~Dg:siw  
struts.ui.templateDir ]FR#ZvM>x  
      The directory containing UI templates r%: :q^b3  
      UI templates的目录夹 DvWBvs,  
9Zx| L/\  
struts.ui.theme ^3HSw ?a"  
      The default UI template theme IlEU6Rs  
      默认的UI template主题 z{.&sr>+v  
K%9!1'  
struts.url.http.port ""`z3-  
      The HTTP port used by Struts URLs ycN!N  
      设置http端口 SP0ueAa}  
z%fjG}z  
struts.url.https.port ca &zYXy  
      The HTTPS port used by Struts URLs .==c~>N  
      设置https端口 + fvVora  
h<IAH Cz;(  
struts.url.includeParams /p-k'387  
      The default includeParams method to generate Struts URLs <a CzB7x  
      在url中产生 默认的includeParams 9 'X"a  
NX8w(~r,:  
lyowH{.N"3  
struts.velocity.configfile ,*$Y[UT  
      The Velocity configuration file path KYhL}C+  
      velocity配置文件路径 UXa%$gwFw  
7WV"Wrl]  
struts.velocity.contexts TbqtT_{  
      List of Velocity context names B \V ;{:  
      velocity的context列表 USE!  
_J>Ik2EF  
D<Z\6)|%I  
struts.velocity.manager.classname 8yr-X!eF  
      org.apache.struts2.views.velocity.VelocityManager implementation class \KEmfCx'n  
      org.apache.struts2.views.velocity.VelocityManager接口名 jJ>I*'w  
5"#xbvRS0H  
struts.velocity.toolboxlocation =+e;BYD#!  
      The location of the Velocity toolbox ylmVmHmc  
      velocity工具盒的位置 dDe$<g5L4  
struts.xslt.nocache ud(w0eX  
      Whether or not XSLT templates should not be cached .>5E 4^$%  
      是否XSLT模版应该被缓存 Kt#X'!9/<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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