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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4N K{RN3  
xf|vz|J?y  
struts.action.extension *]K/8MbiF  
      The URL extension to use to determine if the request is meant for a Struts action !kQJ6U  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _C4N6YdU  
a<CJ#B2K  
struts.configuration Va-.  
      The org.apache.struts2.config.Configuration implementation class (k$KUP  
        org.apache.struts2.config.Configuration接口名 9D`p2cO  
0 zn }l6OS  
struts.configuration.files v/G)E_  
      A list of configuration files automatically loaded by Struts Vjqs\  
      struts自动加载的一个配置文件列表 U UYx-x  
T`W37fz0  
struts.configuration.xml.reload tO~o-R  
      Whether to reload the XML configuration or not L|y 9T {s  
      是否加载xml配置(true,false) kP[LS1}*  
2qDyb]9  
struts.continuations.package =u<jxV9  
      The package containing actions that use Rife continuations e13' dCG  
      含有actions的完整连续的package名称 ;=lQMKx0  
4NDT5sL  
struts.custom.i18n.resources 2q}lSa7r  
      Location of additional localization properties files to load $,8}3R5}  
      加载附加的国际化属性文件(不包含.properties后缀) L g2z `uv  
g$T% C?  
struts.custom.properties *5z"Xy3J  
      Location of additional configuration properties files to load m ?#WQf  
      加载附加的配置文件的位置 E5Zxp3N  
cL+bMM$4r~  
EXizRL-9o  
struts.devMode ['_W <  
      Whether Struts is in development mode or not PM8*/4Cu.5  
      是否为struts开发模式 7*(K%e"U  
hwi$:[  
struts.dispatcher.parametersWorkaround {1L{   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic a"!r]=r  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a+ s%9l  
v<:/u(i  
struts.enable.DynamicMethodInvocation WKB K)=  
      Allows one to disable dynamic method invocation from the URL W0\ n?$ZC~  
        允许动态方法调用 ?XnKKw\  
,jJbQIu#  
struts.freemarker.manager.classname PNRZUZ4Z|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V]6CHE:BS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h: Hpz  
v@Bk)Z  
struts.i18n.encoding Ry`Y +  
      The encoding to use for localization messages l5<&pb#b  
      国际化信息内码 G~{#%i  
UUR` m  
struts.i18n.reload LDY k\[81  
      Whether the localization messages should automatically be reloaded {(_>A\zi  
      是否国际化信息自动加载 @% .;}tC  
iu'At7  
struts.locale OYj~"-3y)  
      The default locale for the Struts application DlxL:  
      默认的国际化地区信息 W3y9>]{x^  
*x@.$=NF"  
struts.mapper.class 9PWqoz2c  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H'x) [2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x]pZcx9  
gbT1d:T  
struts.multipart.maxSize U$EQeb  
      The maximize size of a multipart request (file upload) v 0D@`C  
      multipart请求信息的最大尺寸(文件上传用) MxLi'R=  
25/M2u?  
struts.multipart.parser VPUm4%?p$  
      The org.apache.struts2.dispatcher.multipart. de,4M s!%  
      MultiPartRequest parser implementation for a multipart request (file upload) ?7\$zn)v#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4C`p`AQqpQ  
*9|*21  
8w9?n3z=}  
struts.multipart.saveDir @9\L|O'~?  
      The directory to use for storing uploaded files Zz^!QlF  
      设置存储上传文件的目录夹 6&[rA TU+  
o>@9[F,h+  
struts.objectFactory *s (L!+  
      The com.opensymphony.xwork2.ObjectFactory implementation class W ,|JocDq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !"s~dL,7  
OJXK]dZ  
struts.objectFactory.spring.autoWire ' qN"!\  
      Whether Spring should autoWire or not ?~WDl j3  
      是否自动绑定Spring Tu7sA.73k  
}<mK79m  
struts.objectFactory.spring.useClassCache Oi,:q&  
      Whether Spring should use its class cache or not xL\R-H^c]  
      是否spring应该使用自身的cache Ue!~|:  
n--w-1  
struts.objectTypeDeterminer !z |a+{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <a)L5<#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UCI !>G  
>;Vy{bL8  
struts.serve.static.browserCache %617f=(E?!  
If static content served by the Struts filter should set browser caching header properties or not %C~LKs5oH  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T56%3i  
Iv51,0A  
struts.serve.static OuV f<@a  
      Whether the Struts filter should serve static content or not faPgp  
      是否struts过滤器应该提供静态内容 &v.Nj9{zi  
Uq:CM6q\  
struts.tag.altSyntax fSw6nEXn  
      Whether to use the alterative syntax for the tags or not :2E?|}`7\  
      是否可以用替代的语法替代tags JQk][3Rv  
aT20FEZ;  
struts.ui.templateDir Vc?=cQ'c  
      The directory containing UI templates Wv-nRDNG  
      UI templates的目录夹 Pef$-3aP>E  
iw0|A  
struts.ui.theme YLFM3IaP  
      The default UI template theme hWfC"0  
      默认的UI template主题 y)0wM~E;2  
N9X`81)t  
struts.url.http.port 8bW,.to(?x  
      The HTTP port used by Struts URLs }8)iFP&"  
      设置http端口 $}z%}v  
2/.I6IbL  
struts.url.https.port bZd)4  
      The HTTPS port used by Struts URLs 5M mSQ_  
      设置https端口 c^%&-],  
Nd;,Wz]  
struts.url.includeParams xe9V'wICp(  
      The default includeParams method to generate Struts URLs oC >l|?h,  
      在url中产生 默认的includeParams P h/!a6y  
r E<Ou"  
j  hr pS  
struts.velocity.configfile >cRE$d?  
      The Velocity configuration file path Mxk0XFA  
      velocity配置文件路径 _MST8  
GZk{tTv  
struts.velocity.contexts 4Up \_  
      List of Velocity context names '?j,oRz^T  
      velocity的context列表 {j4J(dtO  
$zYo~5M?i-  
o%V%@q H  
struts.velocity.manager.classname o.M.zkP a  
      org.apache.struts2.views.velocity.VelocityManager implementation class rWnZIt"  
      org.apache.struts2.views.velocity.VelocityManager接口名 !K5D:x  
8zWKKcf7t  
struts.velocity.toolboxlocation V/CZcMY_  
      The location of the Velocity toolbox }`*DMI;-  
      velocity工具盒的位置 [ r;hF  
struts.xslt.nocache  0gOB $W  
      Whether or not XSLT templates should not be cached RY9h^q*  
      是否XSLT模版应该被缓存 c</u]TD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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