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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |MNSIb&,W  
C:E f6ZW  
struts.action.extension u]ms~rO  
      The URL extension to use to determine if the request is meant for a Struts action dL42)HP5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f&-`+V}U  
QqM[W/&R  
struts.configuration z}vT8qoX  
      The org.apache.struts2.config.Configuration implementation class GcO2oq  
        org.apache.struts2.config.Configuration接口名 f_k'@e{  
OVLVsNg  
struts.configuration.files m?S;s ew@5  
      A list of configuration files automatically loaded by Struts =2!p>>t,d;  
      struts自动加载的一个配置文件列表 k*1Lr\1  
! ._q8q\  
struts.configuration.xml.reload poz_=,c  
      Whether to reload the XML configuration or not [ycX)iM  
      是否加载xml配置(true,false) 9p_?t'&>q  
Nm)3   
struts.continuations.package  ~,lt^@a  
      The package containing actions that use Rife continuations ~RR!~q  
      含有actions的完整连续的package名称 qd a 2  
Us`=^\  
struts.custom.i18n.resources # ~<]z  
      Location of additional localization properties files to load M`Y^hDl6  
      加载附加的国际化属性文件(不包含.properties后缀) ).KA0-  
eo+<@83  
struts.custom.properties /k'7j*t Z  
      Location of additional configuration properties files to load ^Iw$ (  
      加载附加的配置文件的位置 5=o^/Vkc  
Vb,V N?l  
GDLw_usV  
struts.devMode 5>}$]d/o  
      Whether Struts is in development mode or not .SC *!,  
      是否为struts开发模式 Lu#qo^  
JM7mQ'`Ud  
struts.dispatcher.parametersWorkaround 1Vpti4OmU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tpWGmj fo>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) P~ObxY|  
# xtH6\X  
struts.enable.DynamicMethodInvocation bZ* = fdh  
      Allows one to disable dynamic method invocation from the URL kjYM&q  
        允许动态方法调用 V 20h\(\\  
/A{ Zf'DI  
struts.freemarker.manager.classname iil<zEic  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R4p Pt  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FGDVBUY@  
&=lc]sk  
struts.i18n.encoding =:rg1wo"c  
      The encoding to use for localization messages 7d;|?R-8D  
      国际化信息内码 _a$qsY  
8'PZA,CW  
struts.i18n.reload =|oi0  
      Whether the localization messages should automatically be reloaded Gxw1P@<F:  
      是否国际化信息自动加载  sS-dHa  
8}|et~7!  
struts.locale P%2v(  
      The default locale for the Struts application 01A{\O1$j  
      默认的国际化地区信息 GLsa]}m,9  
[ U:C62oK,  
struts.mapper.class K1@ Pt}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z"8lW+r *  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y-ao yoNS  
ABCm2$<  
struts.multipart.maxSize v0DDim?cc  
      The maximize size of a multipart request (file upload) hTDK[4e  
      multipart请求信息的最大尺寸(文件上传用) sh :$J[  
NWf=mrS8@$  
struts.multipart.parser O},}-%G  
      The org.apache.struts2.dispatcher.multipart. n3iiW \  
      MultiPartRequest parser implementation for a multipart request (file upload) Yc[umn^K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .OdtM X y  
_,drOF|e  
9,?~dx  
struts.multipart.saveDir 0he3[m}Nr  
      The directory to use for storing uploaded files #Y=^4U`  
      设置存储上传文件的目录夹 CXq[VYM&X  
Cx TAd[az  
struts.objectFactory {;{U@Z  
      The com.opensymphony.xwork2.ObjectFactory implementation class x?L[*N_ml  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6ld4'oM  
` @QZK0Ox  
struts.objectFactory.spring.autoWire qHk{5O3  
      Whether Spring should autoWire or not i.E2a)  
      是否自动绑定Spring D /QLp3+o  
QP\9#D~  
struts.objectFactory.spring.useClassCache 3X gJZ  
      Whether Spring should use its class cache or not .I^4Fc}&4  
      是否spring应该使用自身的cache Qj^Uz+b  
RRja{*R  
struts.objectTypeDeterminer &l+Qn'N  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class l|.}>SfL^u  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h%EeU 3  
^5X?WA,Z99  
struts.serve.static.browserCache 6 - 3?&+  
If static content served by the Struts filter should set browser caching header properties or not >/n];fl>8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e0(/(E:  
<H^jbK  
struts.serve.static v.]{b8RR  
      Whether the Struts filter should serve static content or not e* [wF}))  
      是否struts过滤器应该提供静态内容 ZXx1S?u  
t=Oq<r  
struts.tag.altSyntax $9YQ aN%  
      Whether to use the alterative syntax for the tags or not boojq{cvYA  
      是否可以用替代的语法替代tags iYr)Ao5X  
s~7a-J  
struts.ui.templateDir n.@HT"  
      The directory containing UI templates !Q>xVlPVu  
      UI templates的目录夹 {8.Zb NEJ  
5{HF'1XgZ*  
struts.ui.theme KtaoOe  
      The default UI template theme t~L4wr{B  
      默认的UI template主题  Gsh9D  
$+80V{J#  
struts.url.http.port +QN4hJK  
      The HTTP port used by Struts URLs 6_%Cd`4Z  
      设置http端口 Un]wP`  
;n't:yQW  
struts.url.https.port @@H/q  
      The HTTPS port used by Struts URLs wXUR9H|0(  
      设置https端口 '@Uu/~;h  
u.yR oZ8/!  
struts.url.includeParams _WNbuk0  
      The default includeParams method to generate Struts URLs $2W#'_K+  
      在url中产生 默认的includeParams {H/%2  
~Z5AImR|  
f(y+1  
struts.velocity.configfile ?q`i MiN  
      The Velocity configuration file path frcX'M}%  
      velocity配置文件路径 ;?{^LiD+F  
!Q"L)%)'A  
struts.velocity.contexts #H7 SLQr\  
      List of Velocity context names ( K[e=0Rf  
      velocity的context列表 :Fhk$?/r  
N~]qQ oj,  
1{M?_~g 4  
struts.velocity.manager.classname WdOxwsq"  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z=8&`  
      org.apache.struts2.views.velocity.VelocityManager接口名 4P#jMox  
N&G'i.w/  
struts.velocity.toolboxlocation /}1|'?P  
      The location of the Velocity toolbox uQ3sRJi  
      velocity工具盒的位置 Ar\fA)UQ`  
struts.xslt.nocache Do(G;D`h+_  
      Whether or not XSLT templates should not be cached qcO~}MJr}^  
      是否XSLT模版应该被缓存 fK:4jl-r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八