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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 H.|FEV@  
6yv*AmFh  
struts.action.extension 42ttmN1F  
      The URL extension to use to determine if the request is meant for a Struts action sW3-JA]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nd'zO#"m?  
q`"gT;3S  
struts.configuration #f\U3p  
      The org.apache.struts2.config.Configuration implementation class **fJAANc  
        org.apache.struts2.config.Configuration接口名 D0lgKQ  
EAj2uV  
struts.configuration.files wrac\.  
      A list of configuration files automatically loaded by Struts ?9OiF-:n  
      struts自动加载的一个配置文件列表 hi`\3B  
-P(q<T2MV'  
struts.configuration.xml.reload E`u=$~K  
      Whether to reload the XML configuration or not .!l#z|/x  
      是否加载xml配置(true,false) |XLx6E2F  
_dmgNbs  
struts.continuations.package A^bg*t,  
      The package containing actions that use Rife continuations _\"7  
      含有actions的完整连续的package名称 \&Mipf7a  
\m*?5]m ;  
struts.custom.i18n.resources F?T3fINR  
      Location of additional localization properties files to load kbM4v G  
      加载附加的国际化属性文件(不包含.properties后缀) @&83/U?  
7K {/2k  
struts.custom.properties 4F??9o8}  
      Location of additional configuration properties files to load l {\~I  
      加载附加的配置文件的位置 ) e;)9~  
FxTOc@<  
UyEyk$6SU  
struts.devMode qyP@[8eH  
      Whether Struts is in development mode or not <,`=m|z9k  
      是否为struts开发模式 UqsVqi h(  
IgG@v9'  
struts.dispatcher.parametersWorkaround Pi40w+/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <&t^&6k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) YaFQy0t%/5  
5A>W;Q\4  
struts.enable.DynamicMethodInvocation PHyS^J`  
      Allows one to disable dynamic method invocation from the URL dSS_^E[{  
        允许动态方法调用 T,TKt%  
&g\D-At  
struts.freemarker.manager.classname kbI:}b7H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <q~&g &&+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ALiA+k N  
/IxMRi=  
struts.i18n.encoding T]Vh]|_s  
      The encoding to use for localization messages z%hB=V!~91  
      国际化信息内码 K9m L1[B  
I o|NL6[  
struts.i18n.reload yLW iY~Fd  
      Whether the localization messages should automatically be reloaded ;E,%\<  
      是否国际化信息自动加载 ZcYxH|Gn  
k =ru) _$2  
struts.locale bO>Mvf  
      The default locale for the Struts application cZe,l1$  
      默认的国际化地区信息 E@}t1!E<  
erdWGUfQOe  
struts.mapper.class _W@q%L>  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '%. lY9D  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %A,4vLe~6  
vnw83a%3  
struts.multipart.maxSize G)?VC^Q  
      The maximize size of a multipart request (file upload) ]>b.oI/  
      multipart请求信息的最大尺寸(文件上传用) LR@rn2Z  
2ZNTj u7h  
struts.multipart.parser ^+Ie   
      The org.apache.struts2.dispatcher.multipart. G[)Ll=  
      MultiPartRequest parser implementation for a multipart request (file upload) Q$iYhR  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'ZgrN14  
7i`@`0   
ac6L3=u\  
struts.multipart.saveDir &y[Od{=  
      The directory to use for storing uploaded files S#/[>Cb  
      设置存储上传文件的目录夹 h2# G  
/XEUJC4  
struts.objectFactory Ob$| IH8.  
      The com.opensymphony.xwork2.ObjectFactory implementation class byR|L:L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c |  
\Bg;}\8 X  
struts.objectFactory.spring.autoWire Q&}`( ]k  
      Whether Spring should autoWire or not nsQx\Tnhx  
      是否自动绑定Spring Zg "g/I.+d  
e|Rd#  
struts.objectFactory.spring.useClassCache _5 Zhv-7  
      Whether Spring should use its class cache or not M<hX !B  
      是否spring应该使用自身的cache yANk(  
)R.y>Ucb0  
struts.objectTypeDeterminer `?+lM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w#_/CU L  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h W\q  
J8>y2rAi  
struts.serve.static.browserCache 'B ocMjRA  
If static content served by the Struts filter should set browser caching header properties or not M@ILB-H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G[z!;Zuf  
FJDx80J  
struts.serve.static P~/Gla k  
      Whether the Struts filter should serve static content or not ^iAOz-H  
      是否struts过滤器应该提供静态内容 \yP\@cpY{  
;L (dmx?  
struts.tag.altSyntax [}Vne;V  
      Whether to use the alterative syntax for the tags or not ~jWG U-m  
      是否可以用替代的语法替代tags mcvd/  
Qxr&zT7f  
struts.ui.templateDir oKjQ? 4  
      The directory containing UI templates BM9J/24  
      UI templates的目录夹 Khp`KPxz%  
O}5mDx  
struts.ui.theme ;LSdY}*%0  
      The default UI template theme &qKJN#NM@  
      默认的UI template主题 32j@6!  
Y|$3%t  
struts.url.http.port Sxo9y0K8-  
      The HTTP port used by Struts URLs z2p@d1  
      设置http端口 K'z|a{ru.{  
=s3f{0G  
struts.url.https.port &cy @Be}|T  
      The HTTPS port used by Struts URLs }@JPvI E  
      设置https端口 8Ac5K!  
>~C*m `#  
struts.url.includeParams q{v?2v{  
      The default includeParams method to generate Struts URLs F#d`nZ=M  
      在url中产生 默认的includeParams AY3nQH   
7&-i :2  
_4H 9rPhf  
struts.velocity.configfile p1^k4G  
      The Velocity configuration file path rq=D[vX\N(  
      velocity配置文件路径 ]3UEju8$  
c!#DD;<Q  
struts.velocity.contexts ]7W !  
      List of Velocity context names %C}TdG(C  
      velocity的context列表 +JQ/DNv  
)y8 u+5^  
?&v+-4%4PI  
struts.velocity.manager.classname w#ha ^4  
      org.apache.struts2.views.velocity.VelocityManager implementation class c*iZ6j"iI  
      org.apache.struts2.views.velocity.VelocityManager接口名 Qe8F(k~k  
"zpc)'$ L=  
struts.velocity.toolboxlocation 0A$x'pU)  
      The location of the Velocity toolbox 3eOwy~  
      velocity工具盒的位置 aE]/w1a  
struts.xslt.nocache 9/[1a_ r  
      Whether or not XSLT templates should not be cached 7Q_AZR 4  
      是否XSLT模版应该被缓存 *>b*I4dz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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