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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %0INtq  
#h ;j2  
struts.action.extension ~X5yHf3  
      The URL extension to use to determine if the request is meant for a Struts action ADA%$NhJ!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O+`^]D7  
#`:s:bwM:  
struts.configuration 2ko7t9y&  
      The org.apache.struts2.config.Configuration implementation class tu77Sb  
        org.apache.struts2.config.Configuration接口名 \8Mkb]QA  
E xKH%I  
struts.configuration.files nFW^^v<  
      A list of configuration files automatically loaded by Struts w(r$n|Ks9  
      struts自动加载的一个配置文件列表 SDiZOypS  
COFs?L.`  
struts.configuration.xml.reload jM1_+Lm1  
      Whether to reload the XML configuration or not EVNTn`J_  
      是否加载xml配置(true,false) B+);y  
p\:_E+lsU  
struts.continuations.package Y_>z"T  
      The package containing actions that use Rife continuations BzF.KCScs  
      含有actions的完整连续的package名称 51.F,uY  
a\vf{2  
struts.custom.i18n.resources CB_(9T72H  
      Location of additional localization properties files to load :tdx:  
      加载附加的国际化属性文件(不包含.properties后缀) VbM5]UT/  
/}2 bsiJT  
struts.custom.properties 0NfO|l7P  
      Location of additional configuration properties files to load )]J I Q"rR  
      加载附加的配置文件的位置 5h1!E  
C-qsyJgZy  
>tr?5iKxc  
struts.devMode "+_]N9%)  
      Whether Struts is in development mode or not vKAHf;1  
      是否为struts开发模式 _|DP  
uByF*}d1  
struts.dispatcher.parametersWorkaround vIU+ZdBw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r{)d?Ho=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !/< 5.9!9r  
5|m|R"I*Y  
struts.enable.DynamicMethodInvocation KwPJ0 ]('_  
      Allows one to disable dynamic method invocation from the URL =t@m:  
        允许动态方法调用 ~0ZEnejy  
D\(,:_ge  
struts.freemarker.manager.classname 78+H|bH8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *IGxa  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =d~]*[8  
ifTVTd7O  
struts.i18n.encoding x@DXW(  
      The encoding to use for localization messages &-<"HW  
      国际化信息内码 }K~JM1(26  
2@08 V|  
struts.i18n.reload H4l:L(!D  
      Whether the localization messages should automatically be reloaded F Paj p  
      是否国际化信息自动加载 )@eBe^  
H xb{bF  
struts.locale r{\cm Ds  
      The default locale for the Struts application <kLY1 EILM  
      默认的国际化地区信息 ]~?k%Mpw  
QIi*'21a+  
struts.mapper.class CSr{MF`]e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MF 5w.@62X  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~e{2Y%  
+ A0@# :B  
struts.multipart.maxSize h4?+/jk7  
      The maximize size of a multipart request (file upload) rA` zuYo  
      multipart请求信息的最大尺寸(文件上传用) KNY<"b  
07(E/A]  
struts.multipart.parser q{U -kuui  
      The org.apache.struts2.dispatcher.multipart. ~%#?;hJ  
      MultiPartRequest parser implementation for a multipart request (file upload) v[Q)cqj/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C{!Czz.N  
EHzZ9zH\  
GK&yP%Z3  
struts.multipart.saveDir M<ad>M  
      The directory to use for storing uploaded files JYSw!!eC  
      设置存储上传文件的目录夹 Phb<##OB  
t<`ar@}  
struts.objectFactory *s%s|/  
      The com.opensymphony.xwork2.ObjectFactory implementation class d\)v62P  
      com.opensymphony.xwork2.ObjectFactory接口(spring) kk~{2   
50I6:=@\\  
struts.objectFactory.spring.autoWire ..~{cU4Tt  
      Whether Spring should autoWire or not Gi<f/xQk>  
      是否自动绑定Spring iGhapD  
wSAm[.1i  
struts.objectFactory.spring.useClassCache Ey6K@@%  
      Whether Spring should use its class cache or not W2<X 5'  
      是否spring应该使用自身的cache y:,{U*49  
:lE7v~!Z  
struts.objectTypeDeterminer &1Y+ q]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \]9;c6(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #5H@/o8!s=  
KDXo9FzF  
struts.serve.static.browserCache Iewq?s\Fo  
If static content served by the Struts filter should set browser caching header properties or not wZC'BLD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 '@fk(~|  
&>s(f-\8  
struts.serve.static AoR`/tr,  
      Whether the Struts filter should serve static content or not }2\"(_  
      是否struts过滤器应该提供静态内容 >|iy= Zn%'  
JHQ8o5bEQp  
struts.tag.altSyntax @?1%*/  
      Whether to use the alterative syntax for the tags or not [ =9R5.)c  
      是否可以用替代的语法替代tags t&&OhHK  
*,R e&N8  
struts.ui.templateDir t%TZu>(1O  
      The directory containing UI templates ^#=L?e  
      UI templates的目录夹 c^bA]l^a  
}!d}febk_  
struts.ui.theme xO.7cSqgw  
      The default UI template theme .H>Rqikj  
      默认的UI template主题 S5d{dTPq  
Olno9_'  
struts.url.http.port "~[Rwh?  
      The HTTP port used by Struts URLs - a=yi d  
      设置http端口 t]` 2f3UO  
q@\_q!  
struts.url.https.port .Yf h*  
      The HTTPS port used by Struts URLs .U1dcL6  
      设置https端口 Y{O&- 5H^|  
p;5WLAF  
struts.url.includeParams b9Y pUm7#  
      The default includeParams method to generate Struts URLs +p[~hM6?  
      在url中产生 默认的includeParams gO/(/e>P  
JxvwquI  
=3T?U_u@  
struts.velocity.configfile 1y@-  
      The Velocity configuration file path H,I}R  
      velocity配置文件路径 :D,YR(])  
9F-k:hD |  
struts.velocity.contexts W+eN%w5  
      List of Velocity context names ;+jp,( 7  
      velocity的context列表 {jVFlKP>  
\8$`:3,@  
OM.^>=  
struts.velocity.manager.classname M ?3N  
      org.apache.struts2.views.velocity.VelocityManager implementation class D!P?sq_5r  
      org.apache.struts2.views.velocity.VelocityManager接口名 XMdc n,  
wiGwN  
struts.velocity.toolboxlocation ]lo1Kw  
      The location of the Velocity toolbox |HA7 C  
      velocity工具盒的位置 KF'M4P  
struts.xslt.nocache &Ch)SD  
      Whether or not XSLT templates should not be cached |HEw~x<=  
      是否XSLT模版应该被缓存 t,+S~Cj|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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