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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g_`8K,6ln  
aE+E'iL  
struts.action.extension h4U .wk  
      The URL extension to use to determine if the request is meant for a Struts action hM-qC|!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ] GJskBm  
MEE]6nU  
struts.configuration Mppb34y  
      The org.apache.struts2.config.Configuration implementation class 'yl`0,3wV  
        org.apache.struts2.config.Configuration接口名  -H{{  
$%/Zm*H  
struts.configuration.files `C3F?Lch  
      A list of configuration files automatically loaded by Struts ~b e&T:7.  
      struts自动加载的一个配置文件列表 `#~@f!';  
aDs[\ '  
struts.configuration.xml.reload >PTq5pk  
      Whether to reload the XML configuration or not XS>4efCJ  
      是否加载xml配置(true,false) J?{uG8)  
?U&onGy  
struts.continuations.package Xa36O5$4]9  
      The package containing actions that use Rife continuations j&F&wRD%r  
      含有actions的完整连续的package名称 'n\ZmG{  
l ^{]pD  
struts.custom.i18n.resources u VB&D E  
      Location of additional localization properties files to load R]dc(D  
      加载附加的国际化属性文件(不包含.properties后缀) U7O2.y+  
A\:M}D-(  
struts.custom.properties l#Iof)@#  
      Location of additional configuration properties files to load xZ .:H&0G  
      加载附加的配置文件的位置 zk?lNs  
Fik*7!XQ8  
;kdJxxUox  
struts.devMode b8O:@j2  
      Whether Struts is in development mode or not "p<f#s}  
      是否为struts开发模式 wI)W:mUZZ  
]RV6( |U4_  
struts.dispatcher.parametersWorkaround w\a\I  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ],#9L   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >t.I,Zn  
.S[5CO^  
struts.enable.DynamicMethodInvocation :iq1-Pw  
      Allows one to disable dynamic method invocation from the URL wEk9(|  
        允许动态方法调用 /#blXI  
|>m@]s7Z  
struts.freemarker.manager.classname V /|@   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]F,5Oh :OY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (UpSi6?\  
~s+\Y/@A  
struts.i18n.encoding ).LJY<A  
      The encoding to use for localization messages #;+GNF}0mG  
      国际化信息内码 Bdf3@sbM]  
NVP~`sxiZ  
struts.i18n.reload 8L0#<"'0  
      Whether the localization messages should automatically be reloaded |= ~9y"F  
      是否国际化信息自动加载 ?=aQG0  
g=b 'T-  
struts.locale W;2y.2*  
      The default locale for the Struts application V;.=O}Lr  
      默认的国际化地区信息 /6g*WX2P1  
nlh%O@,  
struts.mapper.class ?'^xO:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class oA`Ncu5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pj'Yv  
="MG>4j3.F  
struts.multipart.maxSize [<6ez;2q'  
      The maximize size of a multipart request (file upload) 8g$pfHt|e  
      multipart请求信息的最大尺寸(文件上传用) :0r@o:H  
gmt`_Dpm$  
struts.multipart.parser Tk)y*y  
      The org.apache.struts2.dispatcher.multipart. .#CTL|x  
      MultiPartRequest parser implementation for a multipart request (file upload) s %/3X\_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5E4np`J  
IpHGit28  
'(=krM9;  
struts.multipart.saveDir tMC<\e  
      The directory to use for storing uploaded files 5s8k^n"A  
      设置存储上传文件的目录夹 r-=#C1eY&  
?bY'J6n.  
struts.objectFactory @r=O~x  
      The com.opensymphony.xwork2.ObjectFactory implementation class VP5_Y1e7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (;\JCeGA  
{o AJL  
struts.objectFactory.spring.autoWire o[aRG7C  
      Whether Spring should autoWire or not fE,\1LK4  
      是否自动绑定Spring ^k/@y@%  
dCN4aY[d  
struts.objectFactory.spring.useClassCache kowBB0  
      Whether Spring should use its class cache or not (zte'F4  
      是否spring应该使用自身的cache 2e#hJ-/`-  
<\Lii0hi!  
struts.objectTypeDeterminer ("ql//SL  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SK#; /fav6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *$Bx#0J8  
qo/`9%^E?  
struts.serve.static.browserCache #Mrof9  
If static content served by the Struts filter should set browser caching header properties or not L `3x0u2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0;KjP?5  
1)w^.8f  
struts.serve.static /U+0T>(HS  
      Whether the Struts filter should serve static content or not Zg_ fec~6q  
      是否struts过滤器应该提供静态内容 m>DBO|`  
ZDMS:w.'T  
struts.tag.altSyntax ;5M I8  
      Whether to use the alterative syntax for the tags or not i1}Y;mj  
      是否可以用替代的语法替代tags AKu]c-  
*7FtEk/l  
struts.ui.templateDir 2XNO*zbve  
      The directory containing UI templates h:[%' htz  
      UI templates的目录夹 /5pVzv+rm  
%xPJJ $P  
struts.ui.theme S8 .1%sw  
      The default UI template theme rUmaKh?v|X  
      默认的UI template主题 !E#FzY!}Pl  
nW1u;.  
struts.url.http.port I82GZL  
      The HTTP port used by Struts URLs dv1Y2[  
      设置http端口 5LMAy"  
f0S$p R  
struts.url.https.port jI[Y< (F ;  
      The HTTPS port used by Struts URLs b9X"p*'p  
      设置https端口 b8@?fC+tm  
gw O]U=Y  
struts.url.includeParams sYE|  
      The default includeParams method to generate Struts URLs :"{("!x   
      在url中产生 默认的includeParams eaB6e@]@  
rK(TekU  
V q4g#PcG  
struts.velocity.configfile 3qggdi  
      The Velocity configuration file path %m)vQ\Vtx  
      velocity配置文件路径 LYhjI  
'ioX,KD  
struts.velocity.contexts *5m4 j=-  
      List of Velocity context names /fgy07T  
      velocity的context列表 rU/8R'S  
:< X&y  
w]1Ltq*g/  
struts.velocity.manager.classname K-<<s  
      org.apache.struts2.views.velocity.VelocityManager implementation class C( wZj O?N  
      org.apache.struts2.views.velocity.VelocityManager接口名 Bc&Y[u-n  
J@$KF GUs  
struts.velocity.toolboxlocation >= O5=\`  
      The location of the Velocity toolbox Op<,e{[]  
      velocity工具盒的位置 &1 t84p:^=  
struts.xslt.nocache ]?c9;U  
      Whether or not XSLT templates should not be cached =/kwUjC?  
      是否XSLT模版应该被缓存 S3 Dmc\f  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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