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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cM_!_8o  
:<P3fW  
struts.action.extension Nsf>b8O  
      The URL extension to use to determine if the request is meant for a Struts action ~K/_51O'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J?9n4 u  
(Q?@LzCjy  
struts.configuration }vX iqT  
      The org.apache.struts2.config.Configuration implementation class ;F;Vm$  
        org.apache.struts2.config.Configuration接口名 Fks #Y1rI  
JP,yRb\  
struts.configuration.files }?)U`zF)7}  
      A list of configuration files automatically loaded by Struts p]eVby"  
      struts自动加载的一个配置文件列表 0FcG;i+  
cj\?vX\V  
struts.configuration.xml.reload Ul<:Yt&nI  
      Whether to reload the XML configuration or not Di"Tv<RlQ  
      是否加载xml配置(true,false) koa-sy)#L  
yz<$?Gblz  
struts.continuations.package r"|UgCc  
      The package containing actions that use Rife continuations 5AbY 59  
      含有actions的完整连续的package名称 XiM d|D  
XW.k%H4@  
struts.custom.i18n.resources Nu;?})tF  
      Location of additional localization properties files to load ^M)+2@6  
      加载附加的国际化属性文件(不包含.properties后缀) ' ~ 1/*F%8  
U#G<cV79  
struts.custom.properties 2!_DkE  
      Location of additional configuration properties files to load 8F K%7\V  
      加载附加的配置文件的位置 %"Ia]0  
c6T[2Ig  
=D&XE*qkZ  
struts.devMode R>t?6HOcp  
      Whether Struts is in development mode or not o1Krp '*  
      是否为struts开发模式 z2lT4SAv+  
JT! Cb$!  
struts.dispatcher.parametersWorkaround ~p`[z~|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |ju+{+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b]4\$rW7  
A<y]D.Z"  
struts.enable.DynamicMethodInvocation vW-o%u*  
      Allows one to disable dynamic method invocation from the URL <{T5}"e  
        允许动态方法调用 pkf$%{"e  
2~l+2..  
struts.freemarker.manager.classname 2YQ;Kh"S   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x=03 WQ8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,R\ex =c  
\1O wZ@  
struts.i18n.encoding t"Bp # U1  
      The encoding to use for localization messages #p<(2wN  
      国际化信息内码 xpJ=yxO  
T#\=v(_NR  
struts.i18n.reload H]}mg='kI  
      Whether the localization messages should automatically be reloaded mX%T"_^  
      是否国际化信息自动加载 '=`af>Nc  
-(},%!-_  
struts.locale }9V0Cu1  
      The default locale for the Struts application Nwo*tb:  
      默认的国际化地区信息 +|--}iE5n  
2fgYcQ8`  
struts.mapper.class Zb7%$1)L~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class p}Um+I=1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 H;seT XL  
Qv<p$Up6  
struts.multipart.maxSize 9PUobV_^Wo  
      The maximize size of a multipart request (file upload) mT/^F{c  
      multipart请求信息的最大尺寸(文件上传用) 8!{ }WLwb  
u+O"c  
struts.multipart.parser {PkR6.XhR  
      The org.apache.struts2.dispatcher.multipart. q|}O-A*wa  
      MultiPartRequest parser implementation for a multipart request (file upload) <TTBIXV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A34O(fE  
-,Js2+QZ#  
~z(0XKq0d  
struts.multipart.saveDir nsM. `s@V  
      The directory to use for storing uploaded files %d%FI"!K  
      设置存储上传文件的目录夹 P]iJ"d]+X  
?O Puv5!pI  
struts.objectFactory |l-O e  
      The com.opensymphony.xwork2.ObjectFactory implementation class RBfzti6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -Q/wW4dE=  
wRZFBf~ :  
struts.objectFactory.spring.autoWire 3 Q~0b+k  
      Whether Spring should autoWire or not W!"Oho'  
      是否自动绑定Spring 1gnLKfc  
_F(Np\%_  
struts.objectFactory.spring.useClassCache ^ E_chx-e}  
      Whether Spring should use its class cache or not gC F9XKW  
      是否spring应该使用自身的cache u_}UU 2  
bXeJk]#y  
struts.objectTypeDeterminer 86eaX+F  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5|7<ZL 3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iaJLIrl  
E5 #ff5  
struts.serve.static.browserCache  6HPuCP  
If static content served by the Struts filter should set browser caching header properties or not LLFQ5py{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 * H~=dPC  
Cd ]g+R}j  
struts.serve.static :*/g~y(fE  
      Whether the Struts filter should serve static content or not ^ p7z3ng  
      是否struts过滤器应该提供静态内容 A9KPU:  
Kf6 D)B 26  
struts.tag.altSyntax YCVT0d  
      Whether to use the alterative syntax for the tags or not <(_Tanx9Q  
      是否可以用替代的语法替代tags @r^s70{}  
l$ kO%E'  
struts.ui.templateDir x:Q$1&3N  
      The directory containing UI templates 3ZbqZ"rE  
      UI templates的目录夹 &JYkh >  
N{}8Zh4op  
struts.ui.theme 7[mP@ {  
      The default UI template theme /bn$@Cy@  
      默认的UI template主题 ^G 'n z  
*8+HQ[[#  
struts.url.http.port Q{5.;{/eC  
      The HTTP port used by Struts URLs ~Q#! oh'i  
      设置http端口 H )>3c1  
lWH#/5`h  
struts.url.https.port _#Lq~02 %  
      The HTTPS port used by Struts URLs ]t~'wL#Z  
      设置https端口 N ]14~r=  
,c0t#KgQ.  
struts.url.includeParams XwfR/4  
      The default includeParams method to generate Struts URLs AyW=.  
      在url中产生 默认的includeParams |26[=_[q  
h:|BQC  
XZS%az1%  
struts.velocity.configfile K2\)9  
      The Velocity configuration file path ujl ?!  
      velocity配置文件路径 vRn]u57O  
~W={"n?=  
struts.velocity.contexts `DE_<l  
      List of Velocity context names cs _  
      velocity的context列表 L0I |V[  
<CJy3<$u  
"',;pGg|K  
struts.velocity.manager.classname HO_(it \  
      org.apache.struts2.views.velocity.VelocityManager implementation class q!+:zZu  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]NtBP  
k7{|\w%  
struts.velocity.toolboxlocation c<lEFk!g  
      The location of the Velocity toolbox _mk@1ft  
      velocity工具盒的位置 6tjV^sjs  
struts.xslt.nocache }#; .b'`  
      Whether or not XSLT templates should not be cached K<r5jb  
      是否XSLT模版应该被缓存 Um4DVg5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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