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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 DHhty qm  
.R4,fCN  
struts.action.extension ?J+*i d  
      The URL extension to use to determine if the request is meant for a Struts action F }F{/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ",5=LW&,  
1o_Zw.  
struts.configuration !K=$Q Uq  
      The org.apache.struts2.config.Configuration implementation class pvWj)4e  
        org.apache.struts2.config.Configuration接口名 t"~X6o|R  
1 K^-tms  
struts.configuration.files {65Y Tt%  
      A list of configuration files automatically loaded by Struts G7GKO  
      struts自动加载的一个配置文件列表 KB^GC5L>  
{~#01p5  
struts.configuration.xml.reload A;^{%S  
      Whether to reload the XML configuration or not _ Fk^lDI-  
      是否加载xml配置(true,false) F7=\*U  
"*c&[ALw  
struts.continuations.package RZ9_*Lq7+  
      The package containing actions that use Rife continuations YXF^4||j.c  
      含有actions的完整连续的package名称 >$3 =yw%  
uVX,[%*P  
struts.custom.i18n.resources _S* QIbO  
      Location of additional localization properties files to load hr&UD|E=  
      加载附加的国际化属性文件(不包含.properties后缀) "cOBEhn%l  
m<;MOS  
struts.custom.properties ulEtZ#O{_  
      Location of additional configuration properties files to load 3+ C;zDKa  
      加载附加的配置文件的位置 VVuNU"-  
f*m^x7  
I;<__  
struts.devMode l4I',79l  
      Whether Struts is in development mode or not Y_XRf8Sw  
      是否为struts开发模式 jrm^n_6};  
R(}!gv}s  
struts.dispatcher.parametersWorkaround ;d}n89DXj  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %X\Rfn0J"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A-^B ?E  
hsK(09:J  
struts.enable.DynamicMethodInvocation E1A5<^t  
      Allows one to disable dynamic method invocation from the URL b+dmJ]c  
        允许动态方法调用 HR  
h9nh9a(2  
struts.freemarker.manager.classname hA`9[58/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gxVJH'[V5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 e9CvdR  
qr*e9Uk^  
struts.i18n.encoding HuxvIg  
      The encoding to use for localization messages 'I[xZu/8yg  
      国际化信息内码 G 8tK"LC  
!_dW  `  
struts.i18n.reload {=Py|N \\t  
      Whether the localization messages should automatically be reloaded pUgas?e&  
      是否国际化信息自动加载 i1HO>X:ea  
27F:-C~.9  
struts.locale J3r':I}\  
      The default locale for the Struts application JvJ)}d$,&  
      默认的国际化地区信息 Pi%-bD/w  
V Kc`mE  
struts.mapper.class O=u.J8S2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :19s=0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {D]I[7f8Ev  
E*v+@rv  
struts.multipart.maxSize lZ,$lZg9Z  
      The maximize size of a multipart request (file upload) y7z ,I  
      multipart请求信息的最大尺寸(文件上传用) LG?b]'#  
bvJ*REPL ?  
struts.multipart.parser +xr;X 9  
      The org.apache.struts2.dispatcher.multipart. 1aUu:#c  
      MultiPartRequest parser implementation for a multipart request (file upload) #yCnM]cEn  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j{m{hVa  
PhmtCp0-7-  
/sSif0I24  
struts.multipart.saveDir C+C1(b;1  
      The directory to use for storing uploaded files 0.wN&:I8t  
      设置存储上传文件的目录夹 L_=3`xE _  
^<aj~0v  
struts.objectFactory a uve&y"R  
      The com.opensymphony.xwork2.ObjectFactory implementation class G<~P||Lu^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) I%0J=V;o{  
#vR5a}BAk  
struts.objectFactory.spring.autoWire %nkbQ2^  
      Whether Spring should autoWire or not A.!3{pAb  
      是否自动绑定Spring ?Xp+5{  
NL"w#kTc()  
struts.objectFactory.spring.useClassCache ;tZ8Sh)  
      Whether Spring should use its class cache or not {Q0DHNP(G  
      是否spring应该使用自身的cache Bf,}mCq  
gdqED}v  
struts.objectTypeDeterminer k{\a_e`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NE@P8pQ>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %1i *Y*wg  
.n}k,da@(  
struts.serve.static.browserCache I=8MLv  
If static content served by the Struts filter should set browser caching header properties or not "N=q>jaX  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tqU8>d0^  
d^|r#"o[  
struts.serve.static L%.=Sb mS  
      Whether the Struts filter should serve static content or not XfwH1n/o#  
      是否struts过滤器应该提供静态内容 (8GA;:G7G  
d5=yAn-+=  
struts.tag.altSyntax wY7+E/  
      Whether to use the alterative syntax for the tags or not 3cFvS[JG  
      是否可以用替代的语法替代tags :XO7#P  
c{/KkmI  
struts.ui.templateDir ;:Y/"5h  
      The directory containing UI templates :*Z@UY   
      UI templates的目录夹 8WG_4e  
1[". z{V3*  
struts.ui.theme 4 ..V  
      The default UI template theme 9kas]zQ%=P  
      默认的UI template主题 u%CJjy  
PO0/C q)  
struts.url.http.port \j vS`+  
      The HTTP port used by Struts URLs 3,@|kN<  
      设置http端口 Z ^yn S  
[\"<=lb`  
struts.url.https.port gL wNHS  
      The HTTPS port used by Struts URLs h)?Km{u%  
      设置https端口 #pMpGw$  
yL3F  
struts.url.includeParams oeG?2!Zh  
      The default includeParams method to generate Struts URLs A)f/ww)Q  
      在url中产生 默认的includeParams 1h?:gOig  
tkhEjTZ  
-k3WY&9,  
struts.velocity.configfile ]8XIw`:f  
      The Velocity configuration file path zS}!87r)  
      velocity配置文件路径 @<p9 O0  
3T@`V FbE  
struts.velocity.contexts <kWNx.eci  
      List of Velocity context names R!_1*H$  
      velocity的context列表 1++Fs  
atfK?VK#  
\ id(P3M  
struts.velocity.manager.classname FVoKNaK-  
      org.apache.struts2.views.velocity.VelocityManager implementation class $/P\@|MqYQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 8EZ,hY^  
9CHn6 v ~)  
struts.velocity.toolboxlocation P6 mDwR  
      The location of the Velocity toolbox  W o$UV  
      velocity工具盒的位置 El3Ayd3  
struts.xslt.nocache i&,1  
      Whether or not XSLT templates should not be cached z~yLc{M  
      是否XSLT模版应该被缓存 ZF;s`K)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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