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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]Otl(\v(h  
7@VR:~n}k  
struts.action.extension GHWpL\A{8`  
      The URL extension to use to determine if the request is meant for a Struts action M9S[{Jj*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `V0]t_*D  
-3b0;L&4>x  
struts.configuration lu.2ZQE  
      The org.apache.struts2.config.Configuration implementation class Ki@8  
        org.apache.struts2.config.Configuration接口名 X4*/h$48 w  
C[$<7Mi|;  
struts.configuration.files l}c<eEfOy"  
      A list of configuration files automatically loaded by Struts `wG&Cy]v  
      struts自动加载的一个配置文件列表 55|$Imnf  
g(;ejKSR  
struts.configuration.xml.reload ln!KL'T]  
      Whether to reload the XML configuration or not }mJ)gK5b 6  
      是否加载xml配置(true,false) X}bgRzj  
DFjkp;`1  
struts.continuations.package tv|=`~Y  
      The package containing actions that use Rife continuations )ZmE"  
      含有actions的完整连续的package名称 +V\NMW4d  
-XY]WWlq  
struts.custom.i18n.resources (/Y gcT  
      Location of additional localization properties files to load &c@I4RV|q  
      加载附加的国际化属性文件(不包含.properties后缀) ZNA?`Z)f  
o_$r*Z|HG  
struts.custom.properties RMrt4:-DI  
      Location of additional configuration properties files to load !! K=v7M  
      加载附加的配置文件的位置 ,|c_l)  
~d5{Q?T)  
sQH.}W$C  
struts.devMode x[oYN9O  
      Whether Struts is in development mode or not 1X9sx&5H  
      是否为struts开发模式 bFx?HM.AGW  
q{JD]A:  
struts.dispatcher.parametersWorkaround ZyWC_r!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $1@{Zz!S  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Hm^p^,}_x  
F;NZJEy  
struts.enable.DynamicMethodInvocation mg;AcAS.o,  
      Allows one to disable dynamic method invocation from the URL ,zyrBO0 Eq  
        允许动态方法调用 _bz,G"w+:  
bo"I:)n;  
struts.freemarker.manager.classname Tp6ysjao  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dX3> j{_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %E!0,y,:  
fu&]t8MJC  
struts.i18n.encoding 5Np.&  
      The encoding to use for localization messages XZT( :(  
      国际化信息内码 '}Y8a$(;V  
=gqZ^v&5U  
struts.i18n.reload _1 JvA-  
      Whether the localization messages should automatically be reloaded hg>YOf&RG  
      是否国际化信息自动加载 ! O>mu6:Rf  
";. 3+z  
struts.locale Tuy*Df  
      The default locale for the Struts application V7v,)a" L  
      默认的国际化地区信息 |3cR'|<Ual  
~5#7i_%@E}  
struts.mapper.class gddGl=rm  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y{'G2)e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Stw6%T-  
Te13Af~  
struts.multipart.maxSize gy[uq m_ T  
      The maximize size of a multipart request (file upload) 0\o'd\  
      multipart请求信息的最大尺寸(文件上传用) ?k?Hp:8?=  
%qv7;E2C  
struts.multipart.parser 87/{\h  
      The org.apache.struts2.dispatcher.multipart. g/yXPzLU  
      MultiPartRequest parser implementation for a multipart request (file upload) cK } Qu  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) D.GSl  
u!S{[7 FY  
0?sp  
struts.multipart.saveDir Aws TDM  
      The directory to use for storing uploaded files ^YZ#P0 y  
      设置存储上传文件的目录夹 MG@19R2s  
/4 f;Niem  
struts.objectFactory 8| /YxF<  
      The com.opensymphony.xwork2.ObjectFactory implementation class i\'N1S<D  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #>V;ZV5"  
_ 8>"&1n  
struts.objectFactory.spring.autoWire 33 4*nQ  
      Whether Spring should autoWire or not wDG4rN9x  
      是否自动绑定Spring <.2Z{;z  
RinRQd  
struts.objectFactory.spring.useClassCache 3QVng^"B)  
      Whether Spring should use its class cache or not kgu+ q\?  
      是否spring应该使用自身的cache .PxM #;i2  
_ Owz%  
struts.objectTypeDeterminer NlMx!f>b%/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3^a"$VW1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s'^#[%EgB  
&Hqu`A/^  
struts.serve.static.browserCache Lsz`nD5  
If static content served by the Struts filter should set browser caching header properties or not WveFB%@`;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1,J.  
b,W '0gl  
struts.serve.static wtKh8^:YD  
      Whether the Struts filter should serve static content or not (qrT0D6  
      是否struts过滤器应该提供静态内容 YGO@X(ej,  
5W48z%MN  
struts.tag.altSyntax o5R\7}]GE  
      Whether to use the alterative syntax for the tags or not 6M9rC[h\  
      是否可以用替代的语法替代tags zl[JnVF\6  
CAA~VEUL  
struts.ui.templateDir #@fypCc  
      The directory containing UI templates gr=`_k4~1  
      UI templates的目录夹 >seB["C  
BSY#xe V  
struts.ui.theme SOL=3hfb^  
      The default UI template theme >vU Hf`4T  
      默认的UI template主题 bW]+Og  
yN.D(ZwF:  
struts.url.http.port G dU W$.  
      The HTTP port used by Struts URLs ,L;vN6~  
      设置http端口 ^q` *!B 9@  
Vmc)or*#  
struts.url.https.port $%-?S]6)  
      The HTTPS port used by Struts URLs Ymu=G3-  
      设置https端口 ZIp=JR8o$  
u/f&Wq/  
struts.url.includeParams =)8Ct  
      The default includeParams method to generate Struts URLs 68*{Lo?U  
      在url中产生 默认的includeParams |*5nr5c_L  
1^3#3duV  
Q/9b'^UJ  
struts.velocity.configfile 1c!},O  
      The Velocity configuration file path ~}*;Ko\  
      velocity配置文件路径 xTMTkVa+B  
[)A#9L~s=  
struts.velocity.contexts *&]l  
      List of Velocity context names 2LU'C,o?  
      velocity的context列表 P>-,6a>  
$EIkk= z  
D,/9rH  
struts.velocity.manager.classname /(aX>_7jg  
      org.apache.struts2.views.velocity.VelocityManager implementation class 08a|]li  
      org.apache.struts2.views.velocity.VelocityManager接口名 [Bo$?  
ihrrmlN?  
struts.velocity.toolboxlocation B(LV22#  
      The location of the Velocity toolbox 0 y%R  
      velocity工具盒的位置 }[`?#`sW  
struts.xslt.nocache :N}KScS|Wa  
      Whether or not XSLT templates should not be cached eZi<C}z  
      是否XSLT模版应该被缓存 cG:`Zj~4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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