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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =eA|gt  
[n9l[dN  
struts.action.extension lBP?7`U  
      The URL extension to use to determine if the request is meant for a Struts action SFg4}*"C/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 imOIO[<;  
9Qyc!s`  
struts.configuration l>*X+TpA,  
      The org.apache.struts2.config.Configuration implementation class L|[i<s;  
        org.apache.struts2.config.Configuration接口名 Od.@G~  
+}jzge"  
struts.configuration.files / `cy4<  
      A list of configuration files automatically loaded by Struts QMMpB{FZ`o  
      struts自动加载的一个配置文件列表 qkfof{z  
smCACQ$ (  
struts.configuration.xml.reload gj;gl ="3  
      Whether to reload the XML configuration or not f@sC~A. 9\  
      是否加载xml配置(true,false) mxqZj8VuH  
Gza= 0  
struts.continuations.package R&1>\t  
      The package containing actions that use Rife continuations IB|!51H  
      含有actions的完整连续的package名称 kR+}7G+  
zFOtOz`9H  
struts.custom.i18n.resources >s%Db<(P=  
      Location of additional localization properties files to load fBX@ MedC  
      加载附加的国际化属性文件(不包含.properties后缀) %:C6\4  
a;$V;3C{b&  
struts.custom.properties 2IJniS=[>  
      Location of additional configuration properties files to load X au %v5r  
      加载附加的配置文件的位置 o?]Q&,tO  
Q`i@['?p  
A^lm0[3q  
struts.devMode 9>{ml&$  
      Whether Struts is in development mode or not @+;.W>^h  
      是否为struts开发模式 #~Xj=M%  
;)ay uS sQ  
struts.dispatcher.parametersWorkaround H[w';u[%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dpz@T>MS=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?z&n I#  
shB3[W{}!)  
struts.enable.DynamicMethodInvocation jl59;.P  
      Allows one to disable dynamic method invocation from the URL S^R dj ]  
        允许动态方法调用 @ws&W=NQ  
JQb{?C  
struts.freemarker.manager.classname Vu_oxL}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xS,F DPA  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4UbqYl3 |a  
aVr(*s;/  
struts.i18n.encoding '(iPI  
      The encoding to use for localization messages %nJo:/  
      国际化信息内码 dr#%~I  
*~U*:>hS  
struts.i18n.reload y ;mk]  
      Whether the localization messages should automatically be reloaded 5[g&0  
      是否国际化信息自动加载 \<I&utn  
:V$\y up  
struts.locale GX23c i  
      The default locale for the Struts application i^WY/ OhL  
      默认的国际化地区信息 7j|CWurvq  
i&(1 <S>P  
struts.mapper.class L0VZ>!*o  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H8g 6ZCU~  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .Z]hS7t  
;u`8pF!_eE  
struts.multipart.maxSize !,$K;L  
      The maximize size of a multipart request (file upload) Bor_(eL^  
      multipart请求信息的最大尺寸(文件上传用) RaLV@>jPm  
Z<<=2Xl(  
struts.multipart.parser uPho|hDp  
      The org.apache.struts2.dispatcher.multipart. Y'1 KH}sH  
      MultiPartRequest parser implementation for a multipart request (file upload) L5UZ@R,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !Th5x2  
XFTqt]  
XX-(>B0L  
struts.multipart.saveDir (k+*0.T&?  
      The directory to use for storing uploaded files 1q=Q/L4P  
      设置存储上传文件的目录夹 _{):w~zi  
|WUM=g7PC  
struts.objectFactory ,e|"p[z ~T  
      The com.opensymphony.xwork2.ObjectFactory implementation class B0 A`@9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7"Nda3  
^EN )}:%Z  
struts.objectFactory.spring.autoWire L~/L<Ms  
      Whether Spring should autoWire or not `]]5!U2  
      是否自动绑定Spring =84EX<B  
#Fo#f<b p  
struts.objectFactory.spring.useClassCache mUl0D0#  
      Whether Spring should use its class cache or not f>xi (0  
      是否spring应该使用自身的cache ;HYEJ3  
IAbQgBvUD  
struts.objectTypeDeterminer >r X$E<B\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D]>Z5nr |  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y k!K 5  
f4,|D |  
struts.serve.static.browserCache pC,Z=+:  
If static content served by the Struts filter should set browser caching header properties or not J e|   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `3? HQ2n  
gdSqG2/&  
struts.serve.static >+<b_q|P  
      Whether the Struts filter should serve static content or not %yc-D]P/  
      是否struts过滤器应该提供静态内容 ?=)lbSu K  
Y8%l)g  
struts.tag.altSyntax $XcH.z  
      Whether to use the alterative syntax for the tags or not AJ}m2EH  
      是否可以用替代的语法替代tags B T}l"  
a Z)1SX`D  
struts.ui.templateDir CN` ~DD{  
      The directory containing UI templates 22ySMtxn  
      UI templates的目录夹 PI$i_3N  
yX*$PNL5w  
struts.ui.theme g :B4zlKG  
      The default UI template theme }UcdkKq  
      默认的UI template主题 mc`Z;D/mt  
'+l"zK ]L-  
struts.url.http.port L1+s0g>  
      The HTTP port used by Struts URLs DO{otn 9<  
      设置http端口 bLWY Tj  
C}uzzG6s  
struts.url.https.port oR8'^G0<  
      The HTTPS port used by Struts URLs ml|FdQ  
      设置https端口 9BlpqS:P&  
:!cK?H$+  
struts.url.includeParams A[@koLCL  
      The default includeParams method to generate Struts URLs 6d5J*y2  
      在url中产生 默认的includeParams RX{} UmU<  
kWa5=BW2f  
,K@[+ R!  
struts.velocity.configfile LRWM}'.s  
      The Velocity configuration file path  /s^42  
      velocity配置文件路径 &:ZR% f  
YH+(N  
struts.velocity.contexts Uu*iL< `  
      List of Velocity context names &Qv HjjQ?u  
      velocity的context列表 K0oF=|  
x R$T/]/  
f`;w@gR`=  
struts.velocity.manager.classname 8kcMgCO  
      org.apache.struts2.views.velocity.VelocityManager implementation class x'?p?u~[  
      org.apache.struts2.views.velocity.VelocityManager接口名 SAitufS  
7l/ZRz }1  
struts.velocity.toolboxlocation Yh^8 !  
      The location of the Velocity toolbox Ri AMW|M"C  
      velocity工具盒的位置 kf<c[su  
struts.xslt.nocache CvZ\Z472.j  
      Whether or not XSLT templates should not be cached N3lz-vP-  
      是否XSLT模版应该被缓存 o(DG 3qk  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五