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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |PVt}*0"  
 :S %lv  
struts.action.extension ;."<m   
      The URL extension to use to determine if the request is meant for a Struts action f>Td)s1 M  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uYO|5a<f~  
eo]#sf@\0  
struts.configuration 0Ce]V,i6C>  
      The org.apache.struts2.config.Configuration implementation class %Q|eiXD  
        org.apache.struts2.config.Configuration接口名 obClBO)@Y  
EmVuwphv  
struts.configuration.files 2-If]Fc  
      A list of configuration files automatically loaded by Struts ]hw-Bu\{  
      struts自动加载的一个配置文件列表 p QE)p  
P @% .`8  
struts.configuration.xml.reload x ,/TXTZ6  
      Whether to reload the XML configuration or not Ps[$.h  
      是否加载xml配置(true,false) eH>#6R1-  
"AueLl)  
struts.continuations.package c$E)P$<j  
      The package containing actions that use Rife continuations `i!wq&1g7  
      含有actions的完整连续的package名称 P<dy3 ;  
VkmRh,T  
struts.custom.i18n.resources D@Da0  
      Location of additional localization properties files to load J@"utY6N  
      加载附加的国际化属性文件(不包含.properties后缀) Xg<[fwW  
~fN%WZ;_  
struts.custom.properties UV7%4xM5v  
      Location of additional configuration properties files to load "u^EleE!  
      加载附加的配置文件的位置 m$Y :0_^-  
$+= <(*  
T8J4C=?/  
struts.devMode haSM=;uPM  
      Whether Struts is in development mode or not Z)< wv&K  
      是否为struts开发模式 Q%ad q-B  
5OLQw(E  
struts.dispatcher.parametersWorkaround ReB7vpd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F}?<v8#z0  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x4?10f(9=  
Jn}n*t3  
struts.enable.DynamicMethodInvocation }U 5Y=RYo  
      Allows one to disable dynamic method invocation from the URL {[G`Z9]z&-  
        允许动态方法调用 $K}. +`vVO  
('k<XOi  
struts.freemarker.manager.classname @M;(K<%h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [uuj?Rbd  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 s'I)A^i+  
V-W'RunnW  
struts.i18n.encoding L^Wz vv]  
      The encoding to use for localization messages &V=7D#L  
      国际化信息内码 6 DF  
>wON\N0V_  
struts.i18n.reload bi[7!VQf  
      Whether the localization messages should automatically be reloaded W.}].7}h  
      是否国际化信息自动加载 9 t:]  
BR_TykP  
struts.locale D#rrW?-z  
      The default locale for the Struts application C*~aSl7  
      默认的国际化地区信息 HD`>-E#  
F3E[wdT  
struts.mapper.class AHh#Fx+K  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a' FN 3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 TRvZ  
2!&pEqs  
struts.multipart.maxSize =yi OJyx  
      The maximize size of a multipart request (file upload) 7qIB7_K5  
      multipart请求信息的最大尺寸(文件上传用) '&yg {n  
Q\_{d0 0  
struts.multipart.parser [[L-j q.'  
      The org.apache.struts2.dispatcher.multipart. :R6Q=g=  
      MultiPartRequest parser implementation for a multipart request (file upload) >9K//co"of  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n]? WCG}cd  
S q@H  
w<nv!e?  
struts.multipart.saveDir kyUl{Zj  
      The directory to use for storing uploaded files ISqfU]>[  
      设置存储上传文件的目录夹 $ @1u+w  
jZ9[=?   
struts.objectFactory lu\o`m5wF  
      The com.opensymphony.xwork2.ObjectFactory implementation class Iin#Wd-/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b{[*N  
4SVW/Zl.?  
struts.objectFactory.spring.autoWire j~av\SCU*  
      Whether Spring should autoWire or not VV3}]GjC  
      是否自动绑定Spring QTJu7^ O9  
JJk#,AP  
struts.objectFactory.spring.useClassCache a:!uORQby  
      Whether Spring should use its class cache or not pa/9F[  
      是否spring应该使用自身的cache #gZ|T M/h  
~ 9M!)\~  
struts.objectTypeDeterminer ;IP~Tb]&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @'jf KW  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "~+.Af  
)C]x?R([m  
struts.serve.static.browserCache V0i9DK|!  
If static content served by the Struts filter should set browser caching header properties or not G?)vWM`j  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .Ao0;:;(2-  
K b(9)Re  
struts.serve.static q?  z>  
      Whether the Struts filter should serve static content or not <4X?EYaTq  
      是否struts过滤器应该提供静态内容 =:7$/T'Qg  
[?KIN_e#  
struts.tag.altSyntax 'CV^M(o'9  
      Whether to use the alterative syntax for the tags or not vgG}d8MW37  
      是否可以用替代的语法替代tags ;)/@Xx  
wyQb5n2`;~  
struts.ui.templateDir V'wi^gq  
      The directory containing UI templates K&`Awv  
      UI templates的目录夹 ohZx03  
x7ATI[b[  
struts.ui.theme NPU^) B  
      The default UI template theme W'$kZ/%[  
      默认的UI template主题 Uene=Q6>  
9%,;XQ  
struts.url.http.port &9B_/m3  
      The HTTP port used by Struts URLs A" !n1P  
      设置http端口 x mo&![P  
3)E(RyQA3  
struts.url.https.port *g7DPN$aQ  
      The HTTPS port used by Struts URLs gY5l.&  
      设置https端口 ,;iA2  
JeQ[qQ  
struts.url.includeParams s-D?)  
      The default includeParams method to generate Struts URLs ([pSVOnIz  
      在url中产生 默认的includeParams \Ow,CUd  
~<O,Vs_C/  
\+B?}P8N*l  
struts.velocity.configfile JZx%J)  
      The Velocity configuration file path [X"k> Sq  
      velocity配置文件路径 VTw/_Hf2p  
W<'<'z5  
struts.velocity.contexts $$gtZ{ukQ  
      List of Velocity context names :YvbU Y  
      velocity的context列表 I,P!@  
&YX6"S_B  
zixE Mi[8  
struts.velocity.manager.classname L#j/0IHD  
      org.apache.struts2.views.velocity.VelocityManager implementation class CT"Fk'B'  
      org.apache.struts2.views.velocity.VelocityManager接口名 k|j:T[_  
OgMI  
struts.velocity.toolboxlocation +VOb  
      The location of the Velocity toolbox w-rOecwFvu  
      velocity工具盒的位置 [ b1hC ~I;  
struts.xslt.nocache #+G`!<7/@f  
      Whether or not XSLT templates should not be cached }~zO+Wf2  
      是否XSLT模版应该被缓存 Uf2:gLrF  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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