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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 m c+wRx  
#rpqt{m l  
struts.action.extension /C:'qhY,  
      The URL extension to use to determine if the request is meant for a Struts action XH *tChf<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {e%abr_B  
?iLd5 Z  
struts.configuration oGVSy`ku  
      The org.apache.struts2.config.Configuration implementation class i@CMPz-h&  
        org.apache.struts2.config.Configuration接口名 -n *>zGc  
&o/4hnHYt  
struts.configuration.files ?R]y}6 P$  
      A list of configuration files automatically loaded by Struts ;F""}wzn  
      struts自动加载的一个配置文件列表 ZQkw}3*n  
JZ% F  
struts.configuration.xml.reload &a=e=nR5  
      Whether to reload the XML configuration or not ~8m>DSs)D  
      是否加载xml配置(true,false) 4LEE /  
hu|hOr8  
struts.continuations.package ww($0A`ek  
      The package containing actions that use Rife continuations SO<m(o)G2  
      含有actions的完整连续的package名称 iHn!KV  
i5KwYoN  
struts.custom.i18n.resources @6co\.bv  
      Location of additional localization properties files to load ?GNF=#=M  
      加载附加的国际化属性文件(不包含.properties后缀) S9NN.dKu  
vNt>ESPB  
struts.custom.properties P"x-7>c>Y  
      Location of additional configuration properties files to load j 3MciQ`  
      加载附加的配置文件的位置 !Gp3/<"Wy$  
5g1M_8e'+  
v$m[#&O^V?  
struts.devMode  aoDD&JE  
      Whether Struts is in development mode or not s!'A\nVV1$  
      是否为struts开发模式 o~x39  
eq~c  
struts.dispatcher.parametersWorkaround Yb\\ w<@g  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q Iy^N:C2'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ejms)JK+  
uR ;-eK  
struts.enable.DynamicMethodInvocation +F o$o  
      Allows one to disable dynamic method invocation from the URL "P'&+dH8  
        允许动态方法调用 ],F}}pv  
gXu^"  
struts.freemarker.manager.classname `_1(Q9Q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M7DLs;sD  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $}nh[@  
DMQNr(w{!2  
struts.i18n.encoding 3_MS'&M  
      The encoding to use for localization messages 'q92E(  
      国际化信息内码 ,MM>cOQ  
qo6LC>Qg  
struts.i18n.reload /> 3  
      Whether the localization messages should automatically be reloaded WBr:|F+~s  
      是否国际化信息自动加载 xegQRc  
5e)6ua,  
struts.locale ^m_^  
      The default locale for the Struts application [v0ri<sm  
      默认的国际化地区信息 E69:bQ94u  
2;4]PRD6w  
struts.mapper.class ahNX/3; y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i_=?eUq%q/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (!*Xhz,(-  
#0bO)m+NZ  
struts.multipart.maxSize EmX>T>~#D  
      The maximize size of a multipart request (file upload) >gk z4.*  
      multipart请求信息的最大尺寸(文件上传用) "{A*(.  
[eNkU">}  
struts.multipart.parser @S}/g/+2  
      The org.apache.struts2.dispatcher.multipart. o_Jn_3=  
      MultiPartRequest parser implementation for a multipart request (file upload) P +dA~2k  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]V36-%^  
c62dorDqy  
v2hZq-q  
struts.multipart.saveDir -)1-~7 r  
      The directory to use for storing uploaded files I@0z/4H``  
      设置存储上传文件的目录夹 C4QeDvpI  
iq"ob8.  
struts.objectFactory Rx6l|'e  
      The com.opensymphony.xwork2.ObjectFactory implementation class kSbO[)p   
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3 p/b  
DR:8oo&E  
struts.objectFactory.spring.autoWire 8Y2xW`  
      Whether Spring should autoWire or not B7!<{i  
      是否自动绑定Spring (I-<f$3  
i2){xg~c  
struts.objectFactory.spring.useClassCache Rn`ld@=p[  
      Whether Spring should use its class cache or not U|gpCy  
      是否spring应该使用自身的cache CSMeSPOm]  
=p <?Hu  
struts.objectTypeDeterminer 1T ( u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v" }WP34  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &V'519vmoZ  
u!Xb?:3uj  
struts.serve.static.browserCache pb!V|#u"  
If static content served by the Struts filter should set browser caching header properties or not qG<7hr@x]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #/Ruz'H1>  
eGm:)   
struts.serve.static X1+ wX`f  
      Whether the Struts filter should serve static content or not *LANGQ"2(i  
      是否struts过滤器应该提供静态内容 >F1G!#$0  
HBH$  
struts.tag.altSyntax ~ 9GOk;{~&  
      Whether to use the alterative syntax for the tags or not <,"4k&0Q>V  
      是否可以用替代的语法替代tags (n,u|}8Y  
Wf#VA;d  
struts.ui.templateDir K]c4"JJ  
      The directory containing UI templates 0}{'C5  
      UI templates的目录夹 E<>*(x/\e  
"#yJHsu]  
struts.ui.theme 7BR8/4gcPu  
      The default UI template theme bLzs?eos  
      默认的UI template主题 &-%>q B|*  
6i.gyD  
struts.url.http.port k.<3HU  
      The HTTP port used by Struts URLs a5@z:i  
      设置http端口 Q_]d5pl  
glj7$  
struts.url.https.port (D<(6?  
      The HTTPS port used by Struts URLs y%S1ZT ScO  
      设置https端口 7FLXx?nLY  
r> k-KdS  
struts.url.includeParams -&|: 0#@P  
      The default includeParams method to generate Struts URLs $= B8qZ+  
      在url中产生 默认的includeParams 9T7e\<8"vC  
> @_im6  
:IMdN}(L  
struts.velocity.configfile OtJ\T/q,  
      The Velocity configuration file path aZ Xmlq  
      velocity配置文件路径 qnM|w~G  
4[yIOs  
struts.velocity.contexts LJFG0 W  
      List of Velocity context names lx |5?P  
      velocity的context列表 6KHN&P  
:XG;ru%i  
,1oQ cC  
struts.velocity.manager.classname H#i{?RM@l  
      org.apache.struts2.views.velocity.VelocityManager implementation class *T`-|H*6@  
      org.apache.struts2.views.velocity.VelocityManager接口名 YO+{,$  
DC+b=IOz  
struts.velocity.toolboxlocation x YfD()w<I  
      The location of the Velocity toolbox b|xpNd-  
      velocity工具盒的位置 4dawg8K`9  
struts.xslt.nocache q[3x2sR  
      Whether or not XSLT templates should not be cached ?S Z1`.S  
      是否XSLT模版应该被缓存 G7GZDi  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八