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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 q*\ #H C  
)Rn}4)9!iT  
struts.action.extension 7:I` ~ @m  
      The URL extension to use to determine if the request is meant for a Struts action ;-lk#D?n9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gpe^G64c`  
IR?ICXmtx  
struts.configuration Y>{K2#k  
      The org.apache.struts2.config.Configuration implementation class  RN'|./N  
        org.apache.struts2.config.Configuration接口名 !!b5vzyve  
Ni'vz7j  
struts.configuration.files $xyG0Q.  
      A list of configuration files automatically loaded by Struts lKrD.iYt8  
      struts自动加载的一个配置文件列表 OA_:_%a(  
LXG,IG  
struts.configuration.xml.reload Mje6Q  
      Whether to reload the XML configuration or not d3+pS\&IX?  
      是否加载xml配置(true,false) x1]^].#Eo  
0"kNn5  
struts.continuations.package C#`eN{%.YT  
      The package containing actions that use Rife continuations uR|Jn)/m(  
      含有actions的完整连续的package名称 Y{B|*[xM  
zJOjc/\  
struts.custom.i18n.resources G7DEavtr  
      Location of additional localization properties files to load 9;k_"@A6  
      加载附加的国际化属性文件(不包含.properties后缀) l!<Nw8+U  
E#`=xg  
struts.custom.properties {^1GHU  
      Location of additional configuration properties files to load =4"D8 UaHr  
      加载附加的配置文件的位置 Bl2y~fCA  
F"#bCnS  
fKf5i@CvB@  
struts.devMode M])Y|}wv8  
      Whether Struts is in development mode or not ((\s4-   
      是否为struts开发模式 VJS|H!CH  
~(aQ!!H6  
struts.dispatcher.parametersWorkaround cXFNX<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0 ML=]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &7!&]kA+  
Gmi4ffIb3  
struts.enable.DynamicMethodInvocation ``)ys^V  
      Allows one to disable dynamic method invocation from the URL n|Iy  
        允许动态方法调用 3<1Uq3Pa  
w-2p'u['Z  
struts.freemarker.manager.classname ^<'5 V)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y'&A~/Adf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `=RJ8u  
F``$}]9KHD  
struts.i18n.encoding OWx YV$  
      The encoding to use for localization messages -LJbx<'  
      国际化信息内码 I#zrz3WU  
%kS+n_*  
struts.i18n.reload IExo#\0'6  
      Whether the localization messages should automatically be reloaded SEq_37  
      是否国际化信息自动加载 :D8V*F6P  
='q:Io?T  
struts.locale ykH?;Xu  
      The default locale for the Struts application 8C#R  
      默认的国际化地区信息 B\wH`5/KW  
^&MMtWR  
struts.mapper.class jxU1u"WU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %Wkvo-rOq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;t{Ew+s  
dFFJw[$8w  
struts.multipart.maxSize Q<3=s6@T  
      The maximize size of a multipart request (file upload) XZLo*C!MG  
      multipart请求信息的最大尺寸(文件上传用) Jp=eh   
ME7jF9d  
struts.multipart.parser bYGK}:T8U  
      The org.apache.struts2.dispatcher.multipart. 1T a48  
      MultiPartRequest parser implementation for a multipart request (file upload) `9n%Dy<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9}Ud'#E  
oA%8k51>~K  
CvKXVhf0$J  
struts.multipart.saveDir BoE;,s>]NW  
      The directory to use for storing uploaded files y8'WR-;  
      设置存储上传文件的目录夹 $@"o BCc  
yT%"<m6Y*\  
struts.objectFactory 3`S|I_$(T"  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?F1NZA[%t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >j5) MF{"  
i\lur ET  
struts.objectFactory.spring.autoWire eVyXh>b*  
      Whether Spring should autoWire or not 4n @}X-)  
      是否自动绑定Spring Kv^ez%I  
fNNkc[YTZI  
struts.objectFactory.spring.useClassCache ^I=c]D]);  
      Whether Spring should use its class cache or not YQ9@Dk0R  
      是否spring应该使用自身的cache ?Y7'OlO  
tfW/Mf  
struts.objectTypeDeterminer swJ3_WhbdT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4NT zK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 OvqCuX  
CB{% ~  
struts.serve.static.browserCache ~s{yh-B  
If static content served by the Struts filter should set browser caching header properties or not ^m.QW*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3o&PVU? Q  
j/`- x  
struts.serve.static 8\+kfK  
      Whether the Struts filter should serve static content or not D 's'LspQ  
      是否struts过滤器应该提供静态内容 { </MC`  
_-eF &D  
struts.tag.altSyntax ,_@C(O  
      Whether to use the alterative syntax for the tags or not PXqLK3AE  
      是否可以用替代的语法替代tags 3^AycwNBA  
d0ThhO  
struts.ui.templateDir 7cV9xIe^  
      The directory containing UI templates xdb9oH  
      UI templates的目录夹 wNMgY  
1t haQ"  
struts.ui.theme np,L39:sf  
      The default UI template theme M3c!SXx\  
      默认的UI template主题 KKP}fN  
f_a.BTtNO  
struts.url.http.port xP%`QTl\  
      The HTTP port used by Struts URLs <3C~<  
      设置http端口 g^ZsV:D  
eYZ{mo7  
struts.url.https.port Bf33%I~  
      The HTTPS port used by Struts URLs '2mR;APz  
      设置https端口 WBD e`  
Rp$t;=SMD  
struts.url.includeParams MF:]J  
      The default includeParams method to generate Struts URLs qI;"yG-x-  
      在url中产生 默认的includeParams X_GR{z%  
&$F4/2|b%  
`##qf@M  
struts.velocity.configfile iU3)4(R  
      The Velocity configuration file path T&Z%=L_Q  
      velocity配置文件路径 -6a4H?L  
b* Ny  
struts.velocity.contexts  $0>>Z  
      List of Velocity context names eQ _dO]Q  
      velocity的context列表 sf )ojq6s  
2<HG=iSf  
Z0*Lm+d9z  
struts.velocity.manager.classname y57]q#k  
      org.apache.struts2.views.velocity.VelocityManager implementation class H }w"4s  
      org.apache.struts2.views.velocity.VelocityManager接口名 ReE-I/n8f  
'{=dEEi  
struts.velocity.toolboxlocation 5N "fD{v{  
      The location of the Velocity toolbox gM_z`H 5[!  
      velocity工具盒的位置 R\k= CoJJ  
struts.xslt.nocache pwo5Ij,~q  
      Whether or not XSLT templates should not be cached F F<xsoZJ  
      是否XSLT模版应该被缓存 &Fo)ea  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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