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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \Mg_Q$  
VO|ECB2e  
struts.action.extension 1P!)4W  
      The URL extension to use to determine if the request is meant for a Struts action 1l$Ei,9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 aZ4EcQ@-$]  
(4+P7Z,Nc  
struts.configuration 5)!g.8-!  
      The org.apache.struts2.config.Configuration implementation class 5CFNBb%Xy  
        org.apache.struts2.config.Configuration接口名 p0@^1  
MNd\)nX  
struts.configuration.files z$%twBg}#  
      A list of configuration files automatically loaded by Struts %lHHTZ{+  
      struts自动加载的一个配置文件列表 X/~uF 9a'<  
'Zu S  
struts.configuration.xml.reload }mj9$=B4  
      Whether to reload the XML configuration or not N y'\Q"Y]  
      是否加载xml配置(true,false) UY< PiP  
7=CkZ&(?  
struts.continuations.package q Q\j  
      The package containing actions that use Rife continuations =8\.fp  
      含有actions的完整连续的package名称 )\akIA  
,dIev<  
struts.custom.i18n.resources pZnp!!G  
      Location of additional localization properties files to load qiNVaV\wr|  
      加载附加的国际化属性文件(不包含.properties后缀) dht0PZdx?  
Al-`}g+^  
struts.custom.properties b7QE  
      Location of additional configuration properties files to load vgwpuRL5b  
      加载附加的配置文件的位置 CxF d/X,  
.Kb3VNgwvm  
L'= \|r  
struts.devMode RxP H[7oZ  
      Whether Struts is in development mode or not -'&/7e6>y  
      是否为struts开发模式 %j7b0pb  
za_b jE  
struts.dispatcher.parametersWorkaround N6Mr#A-{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X94a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) YWFE*wQ!  
|[*Bn3E:  
struts.enable.DynamicMethodInvocation /{^k8 Q  
      Allows one to disable dynamic method invocation from the URL <3;p>4gN  
        允许动态方法调用 1R2IlUlzFr  
BQ-x#[ %s  
struts.freemarker.manager.classname 23}` e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Cr.YSW g)4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !jj`Ht)  
G|wtl(}3  
struts.i18n.encoding n:5M E*  
      The encoding to use for localization messages Rf:.'/<^  
      国际化信息内码 U$OZkHA[  
$^]K611w9  
struts.i18n.reload 2Rk}ovtD[  
      Whether the localization messages should automatically be reloaded {&51@UX  
      是否国际化信息自动加载 Un6R)MVT  
GJ ^c^`  
struts.locale SMN.AJ J  
      The default locale for the Struts application @>2pY_  
      默认的国际化地区信息 QNNURf\[(  
-%asHDQ{  
struts.mapper.class xRh 22z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V1aP_G-:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )^j_O^T5  
'}.Yf_  
struts.multipart.maxSize x?h/e;  
      The maximize size of a multipart request (file upload) P?0X az  
      multipart请求信息的最大尺寸(文件上传用) /v{+V/'+  
 .U1wVIM  
struts.multipart.parser &,nv+>D  
      The org.apache.struts2.dispatcher.multipart. wI.aV>  
      MultiPartRequest parser implementation for a multipart request (file upload) I ]m  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =xI;D,@S  
?UXF z'  
m:H^m/g  
struts.multipart.saveDir -&Rv=q>  
      The directory to use for storing uploaded files -,J<X\  
      设置存储上传文件的目录夹 qmrT d G  
].d2CJ'  
struts.objectFactory \v2!5z8|  
      The com.opensymphony.xwork2.ObjectFactory implementation class `^M]|7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =?i?-6M  
l]*RiK2AC  
struts.objectFactory.spring.autoWire 6h:QSVfx  
      Whether Spring should autoWire or not n:@!vV   
      是否自动绑定Spring Z\!,f.>g  
UK=ELvt]  
struts.objectFactory.spring.useClassCache cx\"r  
      Whether Spring should use its class cache or not Ymut]`dX  
      是否spring应该使用自身的cache pBsb>wvej  
opcanl9pSW  
struts.objectTypeDeterminer VPMu)1={:p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !>`Q]M`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bC{4a_B  
]2AOW}=  
struts.serve.static.browserCache h<.5:a  
If static content served by the Struts filter should set browser caching header properties or not RXgb/VR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]S2rqKB  
5y#,z`S  
struts.serve.static _"8n&=+  
      Whether the Struts filter should serve static content or not J Enjc/  
      是否struts过滤器应该提供静态内容 J)|3jbX"I]  
b?~p/[  
struts.tag.altSyntax QkrQM&Im  
      Whether to use the alterative syntax for the tags or not 8P n  
      是否可以用替代的语法替代tags 9b. kso9.  
1XGg0SC  
struts.ui.templateDir =G-OIu+H!U  
      The directory containing UI templates UHl3/m7g  
      UI templates的目录夹 }x'*3zI  
Jqoo&T")  
struts.ui.theme 8Km&3nCv$Q  
      The default UI template theme %YG?7PBB  
      默认的UI template主题 vs@d)$N  
, ZsZzZ#  
struts.url.http.port `z!AjAT-G  
      The HTTP port used by Struts URLs iI GK "}  
      设置http端口 T3 w%y`K  
>S5J^c  
struts.url.https.port UP]( 1lAf  
      The HTTPS port used by Struts URLs }k-V(  
      设置https端口 mWviWHK  
j>k ;Z j  
struts.url.includeParams E$"NOR  
      The default includeParams method to generate Struts URLs hh;kBv07o  
      在url中产生 默认的includeParams AR| 4^  
;*%rFt9FK  
Wa;N(zw0h  
struts.velocity.configfile prJd'  
      The Velocity configuration file path Q{/z>-X\x  
      velocity配置文件路径 !Dd'*ee-;  
J 6 ~Sr  
struts.velocity.contexts !LK xZ"  
      List of Velocity context names `>"#d ?,  
      velocity的context列表 geQ!}zXWi  
{"o9pIh{~  
_c>iux;  
struts.velocity.manager.classname 1}VaBsEV  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ca-"3aQkc  
      org.apache.struts2.views.velocity.VelocityManager接口名 W8W7<ml0A  
f_k'@e{  
struts.velocity.toolboxlocation XIcUoKg^  
      The location of the Velocity toolbox 4"&-a1N  
      velocity工具盒的位置 yP58H{hQM8  
struts.xslt.nocache c=sV"r?  
      Whether or not XSLT templates should not be cached * + T(i  
      是否XSLT模版应该被缓存 VEps|d3,,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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