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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;3/}"yG<p  
b23A&1X  
struts.action.extension n0=]C%wr  
      The URL extension to use to determine if the request is meant for a Struts action &|XgWZS5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U(f@zGV  
nG'Yo8I^5  
struts.configuration B!Wp=9)G  
      The org.apache.struts2.config.Configuration implementation class X)!XR/?  
        org.apache.struts2.config.Configuration接口名 futYMoV  
%AO6 =  
struts.configuration.files >\1twd{u]  
      A list of configuration files automatically loaded by Struts E,m|E]WP  
      struts自动加载的一个配置文件列表 pX_  
Dd1k?  
struts.configuration.xml.reload <~dfp  
      Whether to reload the XML configuration or not QG*hQh  
      是否加载xml配置(true,false) aA4RC0'  
iAH,f5T  
struts.continuations.package [k$GUU,jY  
      The package containing actions that use Rife continuations lW c[Q1  
      含有actions的完整连续的package名称 nDvfb* \  
sc]#T)xG  
struts.custom.i18n.resources qefp3&ls  
      Location of additional localization properties files to load Gt*<Awn8  
      加载附加的国际化属性文件(不包含.properties后缀) :z8/iD y  
>3/ mV<g f  
struts.custom.properties _5Lcr)  
      Location of additional configuration properties files to load |6Y:W$7k  
      加载附加的配置文件的位置 8~(,qU8-N  
\r IOnZ.WK  
Hpix:To  
struts.devMode +1wEoU.l2  
      Whether Struts is in development mode or not 1R}9k)JQ  
      是否为struts开发模式 n=-vOa%  
(LK@w9)i;  
struts.dispatcher.parametersWorkaround !U?C _  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y)k"KRW+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ze%S<xT!O  
K ar!  
struts.enable.DynamicMethodInvocation p1'q{E+o*  
      Allows one to disable dynamic method invocation from the URL vT#R>0@mi  
        允许动态方法调用 D N!V".m`J  
;[ QIHA!  
struts.freemarker.manager.classname C+/EPPi  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y!j/,FU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^!B]V>L-  
diNSF-wi,,  
struts.i18n.encoding gN}$$vS  
      The encoding to use for localization messages <zqIq9}r  
      国际化信息内码 )s>|;K{  
`mcb0  
struts.i18n.reload [,U l  
      Whether the localization messages should automatically be reloaded K-]) RIM  
      是否国际化信息自动加载 WblH}  
QyA^9@iVs  
struts.locale #Tc`W_-  
      The default locale for the Struts application Mc c%&j  
      默认的国际化地区信息 3DO*kM1s@  
oPs asa  
struts.mapper.class B4un6-<i  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2`Bb9&ut>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q.$/I+&j  
P>q~ocq<  
struts.multipart.maxSize U>kaQ54/  
      The maximize size of a multipart request (file upload) <&[`  +  
      multipart请求信息的最大尺寸(文件上传用) #*:1Ch]B  
<q'?[aKvR  
struts.multipart.parser  zr ez*  
      The org.apache.struts2.dispatcher.multipart. ;L:UYhDbUx  
      MultiPartRequest parser implementation for a multipart request (file upload) rWWp P<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "zw{m+7f,  
]iTP5~8U  
O)^F z:  
struts.multipart.saveDir kR1 12J9P  
      The directory to use for storing uploaded files ]foS.D,  
      设置存储上传文件的目录夹 ,sj(g/hg  
c k[uvH   
struts.objectFactory )P R`irw  
      The com.opensymphony.xwork2.ObjectFactory implementation class <,O| fY%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yUcU-pQ  
4%}iKoT   
struts.objectFactory.spring.autoWire G-D}J2r=F  
      Whether Spring should autoWire or not Ox ,Rk  
      是否自动绑定Spring [.l,#-vp  
Y|mtQ E?c  
struts.objectFactory.spring.useClassCache 0;a10b  
      Whether Spring should use its class cache or not !JdZ0l  
      是否spring应该使用自身的cache elM<S3  
UHV"<9tk  
struts.objectTypeDeterminer \gT({XU?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q !}~c  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vZQraY nJ  
R,.qQF\*  
struts.serve.static.browserCache yuq o ^i  
If static content served by the Struts filter should set browser caching header properties or not lw8t#_P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Jm=3 %H  
@=g{4(zR ^  
struts.serve.static DCa=o  
      Whether the Struts filter should serve static content or not ;]R5:LbXS  
      是否struts过滤器应该提供静态内容 KKk<wya&O  
YA+R!t:F{  
struts.tag.altSyntax d?5oJ'JU  
      Whether to use the alterative syntax for the tags or not 2 .Xx)(>  
      是否可以用替代的语法替代tags 9[~.{{Y  
PQi(Oc  
struts.ui.templateDir V,Bol(wY  
      The directory containing UI templates a-#$T)mmfj  
      UI templates的目录夹 L   
i%i s<'  
struts.ui.theme v\(6uej^  
      The default UI template theme +bso4 }rS  
      默认的UI template主题 q+qF;7dN@  
[fwk[qFa  
struts.url.http.port K d#(eGe  
      The HTTP port used by Struts URLs ~"bBwPI  
      设置http端口 LCXWpU j~  
q(EN]W],  
struts.url.https.port Ta3* G  
      The HTTPS port used by Struts URLs ?;w`hA3ei  
      设置https端口 t\:=|t,  
SPe%9J+  
struts.url.includeParams Bvj  
      The default includeParams method to generate Struts URLs e~he#o[%a  
      在url中产生 默认的includeParams Q4Wz5n1yp7  
HOPl0fY$L  
6%9 kc+ 9  
struts.velocity.configfile lP4s"8E`h  
      The Velocity configuration file path N.|zz)y  
      velocity配置文件路径 @G>e Cj  
B)d 4]]4\\  
struts.velocity.contexts "Qc4v@~)  
      List of Velocity context names 4K~>  
      velocity的context列表 am 'K$s  
W3('1  
YHgNL LZ?  
struts.velocity.manager.classname o*~=NoR  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ke[`zui@?  
      org.apache.struts2.views.velocity.VelocityManager接口名 h0x'QiCc  
Jz0AYiCq  
struts.velocity.toolboxlocation _/ 5  
      The location of the Velocity toolbox vEE\{1  
      velocity工具盒的位置 Vv`94aQTD  
struts.xslt.nocache S]}}r)  
      Whether or not XSLT templates should not be cached -:!Wds  
      是否XSLT模版应该被缓存 lkp$rJ#6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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