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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9Od|R"aS|  
Xw'Y &!z  
struts.action.extension 9O{b8=\}  
      The URL extension to use to determine if the request is meant for a Struts action V9\y*6#Y,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D/`b ~Yl  
CBu$8]9=  
struts.configuration @-%.+  
      The org.apache.struts2.config.Configuration implementation class e_ h`x+\:  
        org.apache.struts2.config.Configuration接口名 E]&tgZO  
KB`">zq$u  
struts.configuration.files 8(@ Y@`/  
      A list of configuration files automatically loaded by Struts '-2|GX_o  
      struts自动加载的一个配置文件列表 Cj10?BNV)  
8h{;*Wr-  
struts.configuration.xml.reload %7SGQE#W_~  
      Whether to reload the XML configuration or not s$?u'}G3  
      是否加载xml配置(true,false) )J(@e4;Rv  
Y![//tg  
struts.continuations.package 3FQXp  
      The package containing actions that use Rife continuations N 6t`45  
      含有actions的完整连续的package名称 m^%Xl@V:c-  
z#Cgd-^7.#  
struts.custom.i18n.resources _h1:{hF  
      Location of additional localization properties files to load JfVGs;_,  
      加载附加的国际化属性文件(不包含.properties后缀) 0 >:RFCo  
ApotRr$)  
struts.custom.properties (jtkY_  
      Location of additional configuration properties files to load dMDSyd<(  
      加载附加的配置文件的位置 Q39;bz  
w<m e(!-'  
Y{c+/n3d  
struts.devMode ]%<0V,G q  
      Whether Struts is in development mode or not @D2KDV3'  
      是否为struts开发模式 )#0Llx!  
wpepi8w,  
struts.dispatcher.parametersWorkaround $E35 W=~)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;Ebpf J  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &^JYIRn1\  
ibxtrt=  
struts.enable.DynamicMethodInvocation NVG`XL  
      Allows one to disable dynamic method invocation from the URL IEQ6J}L  
        允许动态方法调用 12S[m~L%  
&Tn7  
struts.freemarker.manager.classname 40Z/;,wp{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class - * _"ZgE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /e50&]2w  
Jo9!:2?  
struts.i18n.encoding jKhj 7dR  
      The encoding to use for localization messages E|BiK  
      国际化信息内码 eSA%:Is.  
/GU%{nT  
struts.i18n.reload H\RuYCn2G  
      Whether the localization messages should automatically be reloaded F^}n7h=qk  
      是否国际化信息自动加载 $-R9J6NN  
z! DD'8r>  
struts.locale  j.vBld  
      The default locale for the Struts application w*qmC<D$A  
      默认的国际化地区信息 I3D#wXW  
//H3{^{  
struts.mapper.class ba"a!#wA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nyr)d%I{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8+U':xR  
Oo`b#!L  
struts.multipart.maxSize ealh>Y  
      The maximize size of a multipart request (file upload) [0-zJy|,  
      multipart请求信息的最大尺寸(文件上传用) Jm {~H%  
R:FyCT_,  
struts.multipart.parser *l\vqgv.Z  
      The org.apache.struts2.dispatcher.multipart. zP;1mN  
      MultiPartRequest parser implementation for a multipart request (file upload) x|IG'R1:Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Bg0 aLU)[  
& wG3RR|  
-Drm4sTpDb  
struts.multipart.saveDir lL6qK&;  
      The directory to use for storing uploaded files J"O#w BM9  
      设置存储上传文件的目录夹 j,CMcP7A -  
Mb[4G>-v=  
struts.objectFactory PdD| 3B&  
      The com.opensymphony.xwork2.ObjectFactory implementation class yi9c+w)b  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6P:H`  
;3k6_ub  
struts.objectFactory.spring.autoWire G9uWn%5r  
      Whether Spring should autoWire or not KqT~MPl  
      是否自动绑定Spring n\D3EP<s  
D:Y `{{  
struts.objectFactory.spring.useClassCache l5d> YTK+5  
      Whether Spring should use its class cache or not ,wlSNb@'  
      是否spring应该使用自身的cache TAn.5 wH9t  
w=H4#a?fc  
struts.objectTypeDeterminer SsF 5+=A  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $/uNV1 ]o  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t?j2Rw3f`I  
hhvP*a_J  
struts.serve.static.browserCache -!p -nk@9|  
If static content served by the Struts filter should set browser caching header properties or not ,9;d"ce  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -?AaRwZ,  
*cn#W]AE  
struts.serve.static v^_<K4N`  
      Whether the Struts filter should serve static content or not 5cE!'3Y  
      是否struts过滤器应该提供静态内容 )iG+pP@.@  
b1{XGK'  
struts.tag.altSyntax fMFlY%@t  
      Whether to use the alterative syntax for the tags or not y Yvv;E  
      是否可以用替代的语法替代tags sP NAG  
> AV R3b  
struts.ui.templateDir jn;b{*Lf  
      The directory containing UI templates Y)L\*+ >"[  
      UI templates的目录夹 5bzYTK&-  
WsCzC_'j.  
struts.ui.theme ^2PQ75V@.  
      The default UI template theme l C|{{?m  
      默认的UI template主题 +/Lf4??JV  
fKY1=3  
struts.url.http.port ~-w  
      The HTTP port used by Struts URLs <#9zc'ED:  
      设置http端口 /@bLc1"  
~Zd n#z\  
struts.url.https.port r,4V SyZF\  
      The HTTPS port used by Struts URLs C4P7,  
      设置https端口 (dC<N3  
jdYv*/^  
struts.url.includeParams f-tV8  
      The default includeParams method to generate Struts URLs 6)eU &5z1?  
      在url中产生 默认的includeParams =w.#j-jR  
g loo].z  
h;KI2k_^  
struts.velocity.configfile {&c%VVZb:Z  
      The Velocity configuration file path ~;;_POm  
      velocity配置文件路径 O:a$ U:  
wzMWuA4vX  
struts.velocity.contexts xIo7f  
      List of Velocity context names VrokEK*qbY  
      velocity的context列表 }m<)$.x|P  
dMwVgc:  
[vaG{4m  
struts.velocity.manager.classname ^IGTGY]s  
      org.apache.struts2.views.velocity.VelocityManager implementation class >P=xzg79  
      org.apache.struts2.views.velocity.VelocityManager接口名 TJB0O]@3  
'Sc3~lm(dH  
struts.velocity.toolboxlocation GSW{h[Op  
      The location of the Velocity toolbox '}5}wCLA  
      velocity工具盒的位置 ~^"cq S(  
struts.xslt.nocache w I@ lO\  
      Whether or not XSLT templates should not be cached [21tT/  
      是否XSLT模版应该被缓存 ~::gLm+f  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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