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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U@T"teGBA  
n** W  
struts.action.extension [T<nTB# w  
      The URL extension to use to determine if the request is meant for a Struts action f~ kz=R=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4+"2K-]   
7u73v+9qn:  
struts.configuration |WwC@3)  
      The org.apache.struts2.config.Configuration implementation class gqJSz}'  
        org.apache.struts2.config.Configuration接口名 lA>^k;+>  
Y@B0.5U2  
struts.configuration.files R~ n[g  
      A list of configuration files automatically loaded by Struts P'MfuTtT&  
      struts自动加载的一个配置文件列表 ]-]K4*{   
f9ux+XQk9  
struts.configuration.xml.reload k+b!Lw!L  
      Whether to reload the XML configuration or not ;+jz=9Q-  
      是否加载xml配置(true,false) jMr[ UZ  
v"ZNS  
struts.continuations.package yK9:LXhf  
      The package containing actions that use Rife continuations 0vR gmn  
      含有actions的完整连续的package名称 }@6ws/5  
Uq/FH@E=  
struts.custom.i18n.resources AtU%S9  
      Location of additional localization properties files to load [QwEidX|  
      加载附加的国际化属性文件(不包含.properties后缀) )B'&XLK  
i7D[5!  
struts.custom.properties wr>[Eo@%\  
      Location of additional configuration properties files to load ?i'N 9 /(  
      加载附加的配置文件的位置 F#NuZ'U  
4:wVT;?a  
v_^>*Vm*  
struts.devMode ^m pWQ`R  
      Whether Struts is in development mode or not &GYnGrw?@  
      是否为struts开发模式 uIh68UM  
b$FK}D5  
struts.dispatcher.parametersWorkaround 7W[+e&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )<YfLDgTs  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6.5E d-  
pY.R?\  
struts.enable.DynamicMethodInvocation Kcl~cIh77  
      Allows one to disable dynamic method invocation from the URL Ql>bsr}  
        允许动态方法调用 9B3+$uP  
tBU n KPT  
struts.freemarker.manager.classname b:B+x6M  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4, EX2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^Mvgm3hg  
6sjd:~J:  
struts.i18n.encoding cvOCBg38BH  
      The encoding to use for localization messages ' _ZiZ4O  
      国际化信息内码 +%Z#!1u  
uvG' Kx  
struts.i18n.reload OTe h8h  
      Whether the localization messages should automatically be reloaded (fNG51h!  
      是否国际化信息自动加载 At<D36,^"  
~dXiyU,y2  
struts.locale ;*(i}'  
      The default locale for the Struts application (>49SOu;$\  
      默认的国际化地区信息 ~}"5KX\=#  
C*X=nezq  
struts.mapper.class ibP IT!5c  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !#y_vz9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +-X 6 8`  
UpTVLx^c  
struts.multipart.maxSize mY= Q#nG  
      The maximize size of a multipart request (file upload) Phq"A[4=O  
      multipart请求信息的最大尺寸(文件上传用) DyPHQ}G  
v_|k:l  
struts.multipart.parser H~$*R7~  
      The org.apache.struts2.dispatcher.multipart. 1u8 k}  
      MultiPartRequest parser implementation for a multipart request (file upload) g{6FpuA|0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5 6JxHQu  
z!s1$5:"0  
~n=oPm$pR  
struts.multipart.saveDir t1`.M$  
      The directory to use for storing uploaded files 1S+lHG92I  
      设置存储上传文件的目录夹 3-/F]}0y6  
H|)F-aL[  
struts.objectFactory \X2r?   
      The com.opensymphony.xwork2.ObjectFactory implementation class icK>|   
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0?o<cC1Z  
s3-TBhAv  
struts.objectFactory.spring.autoWire tp<v  
      Whether Spring should autoWire or not K>2M*bGc p  
      是否自动绑定Spring ?ESsma6  
Ev Ye1Y-  
struts.objectFactory.spring.useClassCache p!o-+@ava  
      Whether Spring should use its class cache or not oNhCa>)/  
      是否spring应该使用自身的cache ^>/~MCyM.  
I:6H65(&  
struts.objectTypeDeterminer `O0bba=:=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class , Dab(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ??#SQSU  
V_3K((P6  
struts.serve.static.browserCache 'pnOHT  
If static content served by the Struts filter should set browser caching header properties or not !tzk7D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 dL]wu! wE  
CzDV^Iv;Q{  
struts.serve.static ;&dMtYb  
      Whether the Struts filter should serve static content or not b+`qGJrej  
      是否struts过滤器应该提供静态内容 yGY:EvH^?  
!$NQF/Ol  
struts.tag.altSyntax WJJmM*>JW  
      Whether to use the alterative syntax for the tags or not 0Ke2%+yqJ  
      是否可以用替代的语法替代tags }Uu#N H  
hnimd~E52k  
struts.ui.templateDir <2af&-EG s  
      The directory containing UI templates W m&*  
      UI templates的目录夹 I@oSRB  
TKp2C5bX  
struts.ui.theme gNJdP!(t  
      The default UI template theme !bIE%cq  
      默认的UI template主题 EQtYb"_  
5?Ukf$)x  
struts.url.http.port oj/#wF+  
      The HTTP port used by Struts URLs I5@8=rFk  
      设置http端口 K&VMhMVb  
r=HL!XFk  
struts.url.https.port ;i?rd f  
      The HTTPS port used by Struts URLs G<-<>)zO!  
      设置https端口 Hqtv`3g  
G0A\"2U  
struts.url.includeParams ^z`d 2it  
      The default includeParams method to generate Struts URLs >,ABE2t5  
      在url中产生 默认的includeParams [<|$If99\  
q/^?rd  
LGK&&srJs  
struts.velocity.configfile ?bPW*A82{q  
      The Velocity configuration file path hSz_e  
      velocity配置文件路径 uPy5<c  
_T_6Yl&cf)  
struts.velocity.contexts 388vdF  
      List of Velocity context names AJ3%Z$JJ;s  
      velocity的context列表 ;t M  
Y2IMHN tH  
$ V !25jQ  
struts.velocity.manager.classname )5NWUuH 5  
      org.apache.struts2.views.velocity.VelocityManager implementation class 34QW^{dgE  
      org.apache.struts2.views.velocity.VelocityManager接口名 I7W`\d)  
^T#jBqe  
struts.velocity.toolboxlocation W&k@p9  
      The location of the Velocity toolbox Qz89=#W  
      velocity工具盒的位置 S,EL=3},=  
struts.xslt.nocache *07?U")  
      Whether or not XSLT templates should not be cached :p%#U$S4  
      是否XSLT模版应该被缓存 +z[+kir  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八