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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 OIJT~Z}  
DJ DQH\&  
struts.action.extension #N"u 0  
      The URL extension to use to determine if the request is meant for a Struts action lWe cxD$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tS>^x  
LP=y$B  
struts.configuration 4&=</ok6`0  
      The org.apache.struts2.config.Configuration implementation class JEk'2Htx  
        org.apache.struts2.config.Configuration接口名  DR{O.TX  
3@qv[yOE  
struts.configuration.files 7nPcm;Er  
      A list of configuration files automatically loaded by Struts FZ?:BX^  
      struts自动加载的一个配置文件列表 5.*,IedY  
lKB9n}P  
struts.configuration.xml.reload ,zdGY]$  
      Whether to reload the XML configuration or not i!RfUod  
      是否加载xml配置(true,false) Gx8!AmeX  
y|)VNnWM  
struts.continuations.package }W'4(V;:  
      The package containing actions that use Rife continuations ,<* I5:  
      含有actions的完整连续的package名称 ^86M 94k  
zPc"r$'0 U  
struts.custom.i18n.resources x+j@YWDpG"  
      Location of additional localization properties files to load P%)r4+at  
      加载附加的国际化属性文件(不包含.properties后缀) Ix6\5}.c9  
cFt&Efj  
struts.custom.properties XPU>} 4{  
      Location of additional configuration properties files to load P1Z"}Qw  
      加载附加的配置文件的位置 /OWwC%tM/  
BvsSrse  
1f<R,>  
struts.devMode ol*,&C:{  
      Whether Struts is in development mode or not gHp*QL\?9  
      是否为struts开发模式 +8C }%6aX  
Z[OX {_2]K  
struts.dispatcher.parametersWorkaround n."n?C'{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v\5O\ I ^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) W} i6{ Vh  
w;gk=<_  
struts.enable.DynamicMethodInvocation tc0;Ake-&  
      Allows one to disable dynamic method invocation from the URL q~b# ml2QS  
        允许动态方法调用 6e rYjq  
2 4+  
struts.freemarker.manager.classname 4U\}"Mk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  =aZ d>{Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X!qK[b@Z  
CNefk$/cR  
struts.i18n.encoding ^S 3G%{"  
      The encoding to use for localization messages 5XUm}D$  
      国际化信息内码 Ga5*tWj  
xy]O8> b  
struts.i18n.reload **L&I5Hhm  
      Whether the localization messages should automatically be reloaded p X{wEc6}  
      是否国际化信息自动加载 jwT` Z  
F5qA!jZ1]  
struts.locale Q{|%kU"  
      The default locale for the Struts application yAryw{(  
      默认的国际化地区信息 HoABo:  
?UAuUFueA  
struts.mapper.class C[<}eD4bV  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {KNaJ/:>W  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Vf&U`K  
Yr/$92(  
struts.multipart.maxSize T2MC`s|`  
      The maximize size of a multipart request (file upload) )b #5rQ  
      multipart请求信息的最大尺寸(文件上传用) hqvhnqQk  
V!+iq*Z|=  
struts.multipart.parser $C;i}q#  
      The org.apache.struts2.dispatcher.multipart. b^Z2Vf:k]  
      MultiPartRequest parser implementation for a multipart request (file upload) ?E"192 ,z@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) D[/fs`XES  
'EiCT l  
L@{'J  
struts.multipart.saveDir qC> tni%  
      The directory to use for storing uploaded files Vo@7G@7K(  
      设置存储上传文件的目录夹 U-9Aq  
X|T|iB,vT  
struts.objectFactory !xfDWbvHV  
      The com.opensymphony.xwork2.ObjectFactory implementation class #\w N2`" W  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \jwG*a  
1H-Y3G>jN  
struts.objectFactory.spring.autoWire U L $!  
      Whether Spring should autoWire or not q4[}b-fF  
      是否自动绑定Spring UeO/<ml3>J  
VKDOM0{V  
struts.objectFactory.spring.useClassCache j|[rT^b@  
      Whether Spring should use its class cache or not 9?H$0xZV  
      是否spring应该使用自身的cache ; R}>SS'  
^)~Smj^d  
struts.objectTypeDeterminer `!vqT 3p,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `FPQOa*%3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 94+^K=lAX  
}ouGxs+^[  
struts.serve.static.browserCache {&n- @$?  
If static content served by the Struts filter should set browser caching header properties or not ~i"=:D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 F<,pAxl~@  
3p=Xv%xd  
struts.serve.static x(TF4W=j  
      Whether the Struts filter should serve static content or not ks0Q+YW  
      是否struts过滤器应该提供静态内容 ?Fl}@EA#M  
%=UD~5!G0  
struts.tag.altSyntax BA c+T  
      Whether to use the alterative syntax for the tags or not 9jTBLp-i#N  
      是否可以用替代的语法替代tags ->b5"{t  
[t?tLUg|6  
struts.ui.templateDir "Xv} l@  
      The directory containing UI templates S&` 6pN  
      UI templates的目录夹 6kH6"  
y''~j<'  
struts.ui.theme a yA;6Qt  
      The default UI template theme w 0_P9g:  
      默认的UI template主题 d/7R}n^  
<R7{W"QTA)  
struts.url.http.port Zo<)r2|O.  
      The HTTP port used by Struts URLs }ssV"5M  
      设置http端口 >[;W ~*  
$pES>>P  
struts.url.https.port LL#REK|lm8  
      The HTTPS port used by Struts URLs _ p\L,No  
      设置https端口 [[ ie  
GQtNk<?$I  
struts.url.includeParams 4=^_VDlpd  
      The default includeParams method to generate Struts URLs r'OqG^6JFN  
      在url中产生 默认的includeParams bFG~08Z ,d  
XPX?+W=mv  
(SyD)G\rj  
struts.velocity.configfile F0<)8{s  
      The Velocity configuration file path ]%E h"   
      velocity配置文件路径 ?}KRAtJ8  
=wh[D$n$~  
struts.velocity.contexts lnyb4d/  
      List of Velocity context names eM<N?9s  
      velocity的context列表 kkq1:\pZ]a  
Kyh>O)"G^%  
=\O#F88ui  
struts.velocity.manager.classname -{\(s=%  
      org.apache.struts2.views.velocity.VelocityManager implementation class MT-Tt  
      org.apache.struts2.views.velocity.VelocityManager接口名 F@u7Oel@m  
iwK.*07+  
struts.velocity.toolboxlocation <gF]9%2E  
      The location of the Velocity toolbox k_7m[o  
      velocity工具盒的位置 *]]Zpa6  
struts.xslt.nocache E{orezP  
      Whether or not XSLT templates should not be cached 'dKfXYY1`N  
      是否XSLT模版应该被缓存 wb$uq/|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八