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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7|&e[@B  
DA<F{n.Z:  
struts.action.extension YSR mt/  
      The URL extension to use to determine if the request is meant for a Struts action !_CX2|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kz ZDtI)  
q"gqO%Wb|  
struts.configuration qP~WEcH`[  
      The org.apache.struts2.config.Configuration implementation class ,?l~rc  
        org.apache.struts2.config.Configuration接口名 _j:UGMTi(U  
R)0N0gH  
struts.configuration.files \~JNQ&_o  
      A list of configuration files automatically loaded by Struts +h0PR?  
      struts自动加载的一个配置文件列表 $& cz$jyY  
:J^qjAV  
struts.configuration.xml.reload :ozV3`%$(  
      Whether to reload the XML configuration or not vU=9ydAj?  
      是否加载xml配置(true,false) "$XYIuT  
:83,[;GO2  
struts.continuations.package FJP< bREQ  
      The package containing actions that use Rife continuations ^4c,U9J=  
      含有actions的完整连续的package名称 )v[XmJ>H~o  
8F#osN  
struts.custom.i18n.resources j|:dYt`WM  
      Location of additional localization properties files to load I Byf_E;r  
      加载附加的国际化属性文件(不包含.properties后缀) _f cS>/<a  
"j{i,&Y$_  
struts.custom.properties F%xK"l`&  
      Location of additional configuration properties files to load xK(IS:HJ*  
      加载附加的配置文件的位置 >[ eW">:>K  
9ky7r;?  
;{|X,;s  
struts.devMode <d5@CA+M  
      Whether Struts is in development mode or not o^3FL||P#r  
      是否为struts开发模式 >(X #<`  
H2_/,n  
struts.dispatcher.parametersWorkaround "jMqt9ysN  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic JnfqXbE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4-mVB wq  
>~_J q|KBB  
struts.enable.DynamicMethodInvocation 6+.>5e  
      Allows one to disable dynamic method invocation from the URL S]}}A  
        允许动态方法调用 n.*3,4.]  
PU W[e%  
struts.freemarker.manager.classname i+g~ Uj}h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,V,f2W 4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $@_{p*q  
4SgF,ac3r  
struts.i18n.encoding ?w-1:NW jt  
      The encoding to use for localization messages RctU'T  
      国际化信息内码 |,b2b2v ?  
zj<ahg%z  
struts.i18n.reload >R!"P[*  
      Whether the localization messages should automatically be reloaded l^\(ss0~  
      是否国际化信息自动加载 U4BqO :sd  
8p&kLo&  
struts.locale [F+(^- (  
      The default locale for the Struts application $.pTB(tO  
      默认的国际化地区信息 @Mm/C?#*O  
._?V%/  
struts.mapper.class %SAw;ZtQ:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `Oq M8U @  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;j{7!GeKa  
YTK^ijmU6x  
struts.multipart.maxSize MaO"#{i  
      The maximize size of a multipart request (file upload) .2 0V 3  
      multipart请求信息的最大尺寸(文件上传用) yub{8f;v  
F$Hx`hoy  
struts.multipart.parser 69-:]7.g  
      The org.apache.struts2.dispatcher.multipart. u:@U $:sZ  
      MultiPartRequest parser implementation for a multipart request (file upload) B{C_hy-fw  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^T:gb]i'Qa  
O gmSQ  
K/txD20 O|  
struts.multipart.saveDir LXj5R99S  
      The directory to use for storing uploaded files (9 sIA*,}  
      设置存储上传文件的目录夹 jNA1O68N  
4:7mK/Z  
struts.objectFactory yEq#Dr  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5Fm av5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8TE>IPjm  
v?%LQKO  
struts.objectFactory.spring.autoWire ]IZ>2!6r  
      Whether Spring should autoWire or not rEdY>\'  
      是否自动绑定Spring /.Fj.6U5  
_%~$'Hy  
struts.objectFactory.spring.useClassCache pj0fM{E  
      Whether Spring should use its class cache or not }g|nz8  
      是否spring应该使用自身的cache 5{d\u E%'p  
Tkw;pb  
struts.objectTypeDeterminer lT'9u,6   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |Y},V_@d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5{K}?*3hJ  
*FK`&(B+}  
struts.serve.static.browserCache ](#&.q%5!  
If static content served by the Struts filter should set browser caching header properties or not }s_hD`'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [84F0 9HU  
=>|C~@C?  
struts.serve.static $d/&k`  
      Whether the Struts filter should serve static content or not (&[[46  
      是否struts过滤器应该提供静态内容 z x@$RS+]  
"7,FXTaer  
struts.tag.altSyntax ~>Kq<]3~  
      Whether to use the alterative syntax for the tags or not nPN?kO=]  
      是否可以用替代的语法替代tags PE"v*9k  
H6K`\8/SeN  
struts.ui.templateDir )}MHx`KT2  
      The directory containing UI templates s =Umj'1k  
      UI templates的目录夹 KVPR}qTP;  
wJeG(h  
struts.ui.theme \L # INP4~  
      The default UI template theme S{#cD1>.  
      默认的UI template主题 }^-<k0A4?  
yHeEobvb  
struts.url.http.port -)jax  
      The HTTP port used by Struts URLs c>HK9z{  
      设置http端口 ibpzeuUl  
,qQG;w,m  
struts.url.https.port #Yuvbb[  
      The HTTPS port used by Struts URLs k`\R+WK$  
      设置https端口 LOvHkk@+  
"Pz}@=  
struts.url.includeParams +*}{`L- :  
      The default includeParams method to generate Struts URLs ; A,#;%j  
      在url中产生 默认的includeParams 2;$ k(x]  
F S"eM"z  
wW2d\Zd&  
struts.velocity.configfile 4/e60jA  
      The Velocity configuration file path egk7O4zwP  
      velocity配置文件路径 P[ r];e  
47r&8C+&\  
struts.velocity.contexts f )Z%pgB  
      List of Velocity context names t<j^q`;@v  
      velocity的context列表 pI.+"Hz  
=IU*}>#  
l"(6]Z 4  
struts.velocity.manager.classname e`K)_>^n#  
      org.apache.struts2.views.velocity.VelocityManager implementation class LD>\#q8a*  
      org.apache.struts2.views.velocity.VelocityManager接口名 *Dmx&F=3,5  
1L nyWZ  
struts.velocity.toolboxlocation dRi5hC$  
      The location of the Velocity toolbox B@y(.  
      velocity工具盒的位置 _ oFs #kW  
struts.xslt.nocache 2xwlKmI N  
      Whether or not XSLT templates should not be cached l?8M p$M  
      是否XSLT模版应该被缓存 5J2=`=FK  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八