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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6^;^rUlm  
2zK"*7b?  
struts.action.extension &x0C4Kh  
      The URL extension to use to determine if the request is meant for a Struts action f7J,&<<5w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 iITp**l  
C0fmmI0z~  
struts.configuration Qw?+!-7TN  
      The org.apache.struts2.config.Configuration implementation class w(B H247`  
        org.apache.struts2.config.Configuration接口名 'L{p,  
gDCOLDM  
struts.configuration.files ]TSg!H  
      A list of configuration files automatically loaded by Struts m_* R.a  
      struts自动加载的一个配置文件列表 .#fPw_i  
MdC<4^|  
struts.configuration.xml.reload K;U39ofW  
      Whether to reload the XML configuration or not kX[fy7rVt  
      是否加载xml配置(true,false) wGJjA=C  
knT.l"  
struts.continuations.package W J+> e+  
      The package containing actions that use Rife continuations sS!w}o2X  
      含有actions的完整连续的package名称 X \f[  
@u) 'yS  
struts.custom.i18n.resources B8m_'!;;  
      Location of additional localization properties files to load iePf ]O*  
      加载附加的国际化属性文件(不包含.properties后缀) nxaT.uFd1  
h1+ hds+  
struts.custom.properties (ZP87Gz  
      Location of additional configuration properties files to load ->E=&X  
      加载附加的配置文件的位置 >qR~'$,$  
9s`/~ a@  
j'G tgT  
struts.devMode j7 d:v7+_  
      Whether Struts is in development mode or not J!h^egP  
      是否为struts开发模式 <y)E>Fl  
phP> 3f.T  
struts.dispatcher.parametersWorkaround M3pjXc<O  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f v LC_'M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +a|/l  
#Qbl=o4  
struts.enable.DynamicMethodInvocation '#Dg8/r!  
      Allows one to disable dynamic method invocation from the URL &Un6ay  
        允许动态方法调用 PuXUuJx(  
:Q@)*kQH  
struts.freemarker.manager.classname aMK~1]Cx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5HlWfD  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 dqe7sZl!  
X=~V6m  
struts.i18n.encoding b |7ja_  
      The encoding to use for localization messages Y)b@0'  
      国际化信息内码 =Q(vni83<  
DjHp+TyT  
struts.i18n.reload 8)xt(~qF  
      Whether the localization messages should automatically be reloaded 'iUg[{'+  
      是否国际化信息自动加载 feEMg  
0 ^~\COa  
struts.locale SwH2$:f  
      The default locale for the Struts application &ZJgQ-Pc(m  
      默认的国际化地区信息 & ,L9OU  
xx8U$,Ng  
struts.mapper.class _:J*Cm[q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z$'I Bv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [@"wd_f{l  
Owf.f;QR  
struts.multipart.maxSize )1F<6R  
      The maximize size of a multipart request (file upload) naNyGE7)  
      multipart请求信息的最大尺寸(文件上传用) TJy4<rb  
>dQK.CG  
struts.multipart.parser Bct"X#W|&  
      The org.apache.struts2.dispatcher.multipart. N.j "S'(i  
      MultiPartRequest parser implementation for a multipart request (file upload) kzO&24  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uDuF#3 +"  
1u}nm;3  
$Ui&D I  
struts.multipart.saveDir .ve *Vp  
      The directory to use for storing uploaded files jo98 jA<  
      设置存储上传文件的目录夹 \u{8Bak0  
SEF6B45}1  
struts.objectFactory \#dl6:"  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q M 1F?F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +S~.c;EK  
{G*QY%j^  
struts.objectFactory.spring.autoWire GsV4ZZ  
      Whether Spring should autoWire or not M{N(~ql  
      是否自动绑定Spring 6Nh0  
MZv\ C  
struts.objectFactory.spring.useClassCache i$UQbd  
      Whether Spring should use its class cache or not  Mm= Mz  
      是否spring应该使用自身的cache {3edTu  
.~klG&>aV  
struts.objectTypeDeterminer c[cAUsk i  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :q+N&j'3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 uS5o?fg\e  
SR7j\1a/2A  
struts.serve.static.browserCache F u _@!K  
If static content served by the Struts filter should set browser caching header properties or not X K>&$<5{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t\R; < x  
RiFw?Q+  
struts.serve.static ..KwTf  
      Whether the Struts filter should serve static content or not k#)Ad*t  
      是否struts过滤器应该提供静态内容 t})$lM  
7_\Mwy{P  
struts.tag.altSyntax wu~hqd  
      Whether to use the alterative syntax for the tags or not ?S#\K^  
      是否可以用替代的语法替代tags O\beKBT;  
'ks{D(`  
struts.ui.templateDir raB+,Oi$G  
      The directory containing UI templates 0[a}n6X Tk  
      UI templates的目录夹 P-Su5F  
%3=J*wj>D  
struts.ui.theme NHaMo*xQ  
      The default UI template theme TD,nIgH`  
      默认的UI template主题 RKkGITDk  
>PalH24]  
struts.url.http.port :FQ1[X1 xm  
      The HTTP port used by Struts URLs pY}/j;.[  
      设置http端口 sbsu(Sz+  
V1bh|+o9  
struts.url.https.port $Ua56Y  
      The HTTPS port used by Struts URLs i|$z'HK;+  
      设置https端口 Ax<\jW<  
Z<z;L<tJ 9  
struts.url.includeParams Cmd329AH  
      The default includeParams method to generate Struts URLs R p.W,)i  
      在url中产生 默认的includeParams eaZQ2  
_sMs}?^  
r%=[},JQ  
struts.velocity.configfile [ygF0-3ND  
      The Velocity configuration file path +m$5a YX  
      velocity配置文件路径 #V_GOy1-  
VWf %v  
struts.velocity.contexts /iM$Tb5  
      List of Velocity context names YUkud2,j  
      velocity的context列表 @h9MxCE!  
Of7 +/UV  
}NmNanW^  
struts.velocity.manager.classname |X(2Zv^O  
      org.apache.struts2.views.velocity.VelocityManager implementation class tIZ~^*'  
      org.apache.struts2.views.velocity.VelocityManager接口名 :@. ;  
'jaoO9KY K  
struts.velocity.toolboxlocation 1~5trsB+5  
      The location of the Velocity toolbox G$JFuz)|  
      velocity工具盒的位置 oRY!\ADR  
struts.xslt.nocache IF_DZ   
      Whether or not XSLT templates should not be cached \7 a4uc  
      是否XSLT模版应该被缓存 kDsIp=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五