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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =+!l8o&o,  
:D)(3U5  
struts.action.extension V]p{jLG  
      The URL extension to use to determine if the request is meant for a Struts action 2]5{Xmmo9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X@\W* nq  
qcj {rG18  
struts.configuration sCFxn  
      The org.apache.struts2.config.Configuration implementation class C 1k< P  
        org.apache.struts2.config.Configuration接口名 -^xbd_'  
A I.(}W4]  
struts.configuration.files "Wwu Ty|  
      A list of configuration files automatically loaded by Struts /kbU<  
      struts自动加载的一个配置文件列表 `5IrV&a  
|vI`u[P  
struts.configuration.xml.reload 4 O!2nP  
      Whether to reload the XML configuration or not <e2l@@#oy  
      是否加载xml配置(true,false) mn/)_1',  
K*>%,mP$i  
struts.continuations.package 3f[Yk# "  
      The package containing actions that use Rife continuations {]T?)!V m  
      含有actions的完整连续的package名称 <.6rl  
6O7s^d&K  
struts.custom.i18n.resources ;Bs~E  
      Location of additional localization properties files to load 6:ettdj  
      加载附加的国际化属性文件(不包含.properties后缀) ,CfslhO{j  
.<"XE7  
struts.custom.properties @NLcO}  
      Location of additional configuration properties files to load q!$s<n  
      加载附加的配置文件的位置 e&}W#  
h_%q`y,  
MiT0!6Pg  
struts.devMode 7IX8ck[D  
      Whether Struts is in development mode or not nkW})LyB\  
      是否为struts开发模式 7~Y\qJ4b  
.kT]^rv ;  
struts.dispatcher.parametersWorkaround PI9,*rOy  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +%JBr+1#\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3p%e_?  
8xPt1Sotq[  
struts.enable.DynamicMethodInvocation o,6t: ?Z  
      Allows one to disable dynamic method invocation from the URL @Rr=uf G  
        允许动态方法调用 @/ z\p7e  
3UZd_?JI[^  
struts.freemarker.manager.classname \P<aK$g  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >JpBX+]5m  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 J:Cr.K`  
%{u@{uG0'3  
struts.i18n.encoding D:z'`v0j  
      The encoding to use for localization messages azPH~' E'  
      国际化信息内码 g#5R|| r  
xfYKUOp/  
struts.i18n.reload \|HEe{nA  
      Whether the localization messages should automatically be reloaded >y3FU1w5d  
      是否国际化信息自动加载 QAs)zl0  
U,Z\)+-R  
struts.locale F@BpAl  
      The default locale for the Struts application 1m*)MZ)  
      默认的国际化地区信息 Cv**iW  
'C]w3Rh'  
struts.mapper.class scg&"s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Qg4D*r\|@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6{h\CU}"  
0AQ azhm  
struts.multipart.maxSize EF0v!XW  
      The maximize size of a multipart request (file upload) ={g)[:(C.  
      multipart请求信息的最大尺寸(文件上传用) OoB|Eh|),  
q$:1Xkl  
struts.multipart.parser s<I)THC  
      The org.apache.struts2.dispatcher.multipart. X +`Dg::  
      MultiPartRequest parser implementation for a multipart request (file upload) roADC?@r  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) aI=p_+.h  
3&hR#;,"X  
~y<0Cc3Vs  
struts.multipart.saveDir \<7Bx[/D4  
      The directory to use for storing uploaded files 'RjEdLrI  
      设置存储上传文件的目录夹 uo"<}>iJ  
dyQ7@K.E  
struts.objectFactory }z` x-(V  
      The com.opensymphony.xwork2.ObjectFactory implementation class %e iV^>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .9J^\%JD  
I9X \@ lTf  
struts.objectFactory.spring.autoWire DQG%`-J  
      Whether Spring should autoWire or not B/a gW  
      是否自动绑定Spring Y{} ub]i  
zMSwU]4I!  
struts.objectFactory.spring.useClassCache vjEDd`jYZ  
      Whether Spring should use its class cache or not F2N"aQ&  
      是否spring应该使用自身的cache XZE(& (s  
x@NfN*?/+i  
struts.objectTypeDeterminer \e86'&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5CI {&E  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lC5zqyG  
%' DO FiU  
struts.serve.static.browserCache 0#V"   
If static content served by the Struts filter should set browser caching header properties or not 6#z8 %k aX  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 SU0SsgFB  
!>48`o ^  
struts.serve.static }B0[S_mw  
      Whether the Struts filter should serve static content or not " MnWd BS  
      是否struts过滤器应该提供静态内容 UC`h o%OBF  
&y? |$p\;/  
struts.tag.altSyntax LUQ.=:mBR  
      Whether to use the alterative syntax for the tags or not 9\8ektq}Z  
      是否可以用替代的语法替代tags Ej(BE@6>s  
}qWnn>h9xv  
struts.ui.templateDir |lNp0b  
      The directory containing UI templates 9vRLM*9|  
      UI templates的目录夹 j4XVk@'OX  
[UwQi!^-O  
struts.ui.theme ?`RlYu  
      The default UI template theme =M1}HF,7>l  
      默认的UI template主题 vu( 5s  
GCl *x:  
struts.url.http.port $%EX~$=m]-  
      The HTTP port used by Struts URLs J!Z6$VERy  
      设置http端口 kFjv'[Y1N  
,!Wo6{'  
struts.url.https.port .$\-{)  
      The HTTPS port used by Struts URLs OU{c| O  
      设置https端口 c/ Pql!h+  
lWRl  
struts.url.includeParams 3EYEd39E  
      The default includeParams method to generate Struts URLs SPqJ [ F  
      在url中产生 默认的includeParams B EwaQvQ!  
> TYDkEs0  
L } R"1O  
struts.velocity.configfile 7rD 8  
      The Velocity configuration file path '{WEyhaS  
      velocity配置文件路径 t?9J'.p  
b36{vcs~  
struts.velocity.contexts db 99S   
      List of Velocity context names  )M;~j  
      velocity的context列表 y A5h^I  
%ddH4Q/p  
U*+-#  
struts.velocity.manager.classname k (AE%eA  
      org.apache.struts2.views.velocity.VelocityManager implementation class d'(n/9K  
      org.apache.struts2.views.velocity.VelocityManager接口名 4D&L]eJ  
X>$Wf3  
struts.velocity.toolboxlocation =|J*9z;  
      The location of the Velocity toolbox bIm4s  
      velocity工具盒的位置 r(S h  
struts.xslt.nocache ^?{&v19m  
      Whether or not XSLT templates should not be cached '=nmdqP  
      是否XSLT模版应该被缓存 _N;@jq\q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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