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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AQZ<,TE0,  
^$Y9.IH"  
struts.action.extension .{ v$;g  
      The URL extension to use to determine if the request is meant for a Struts action lgews"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SrKitSG  
v*.R<- X:  
struts.configuration ob>)F^.iS  
      The org.apache.struts2.config.Configuration implementation class jq H)o2"/  
        org.apache.struts2.config.Configuration接口名 JwMRquQv  
IRbyW?/Xv  
struts.configuration.files ]0D-g2!|A  
      A list of configuration files automatically loaded by Struts =n,;S W  
      struts自动加载的一个配置文件列表 eJoM4v  
n~629&  
struts.configuration.xml.reload qy|bOl  
      Whether to reload the XML configuration or not :-{"9cgF R  
      是否加载xml配置(true,false) ;^/ruf[t  
^8&}Nk[j  
struts.continuations.package eV"%(<{  
      The package containing actions that use Rife continuations oEX,\@+u  
      含有actions的完整连续的package名称 wm@j(h4  
P|Aac,nE+^  
struts.custom.i18n.resources IRg2\Hq  
      Location of additional localization properties files to load =G}a%)?As\  
      加载附加的国际化属性文件(不包含.properties后缀) 30HUY?'K  
Z8=?Hu  
struts.custom.properties kZF]BPh.  
      Location of additional configuration properties files to load *fm?"0M5  
      加载附加的配置文件的位置 w"0$cL3  
7 (2}Vs!5  
a[hF2/*  
struts.devMode !EIH"`>!  
      Whether Struts is in development mode or not Ij(dgY  
      是否为struts开发模式 `p\%ha!,w  
()6% 1zCO  
struts.dispatcher.parametersWorkaround ~ n<|f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]L~z9)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $R}C(k ;?  
wwl,F=| Y  
struts.enable.DynamicMethodInvocation 8 o}5QOW  
      Allows one to disable dynamic method invocation from the URL "22./vWV|i  
        允许动态方法调用 mRx `G(u:v  
a >fA-@  
struts.freemarker.manager.classname ?`TJ0("z"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ),{3LIr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |Kd6.Mx  
0c>>:w20D  
struts.i18n.encoding k Fl* Im  
      The encoding to use for localization messages E{6ku=2F  
      国际化信息内码 t'F$/mx.  
@Xoh@:j\  
struts.i18n.reload R}Zaz3( Hd  
      Whether the localization messages should automatically be reloaded *4~7p4 [  
      是否国际化信息自动加载 wp:$Tqa$  
!}c D e12  
struts.locale X:Y1g)|K  
      The default locale for the Struts application U+VJiz<!  
      默认的国际化地区信息 }|h-=T '  
ZS:[ZehF  
struts.mapper.class RPa]VL1W  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nxN("$'cq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7h9oY<W  
07^.Z[(pCt  
struts.multipart.maxSize fXevr `  
      The maximize size of a multipart request (file upload) ,dba:D= l  
      multipart请求信息的最大尺寸(文件上传用) NTJ,U2  
*Iw19o-I  
struts.multipart.parser TJ>YJ D  
      The org.apache.struts2.dispatcher.multipart. R&s/s`pLW  
      MultiPartRequest parser implementation for a multipart request (file upload) W9cvxsox  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7# 'j>]  
L,_U co  
%|@?)[;  
struts.multipart.saveDir Ge$&k  
      The directory to use for storing uploaded files PvUY Q>Kw  
      设置存储上传文件的目录夹 &\?{%xj  
mp3Dc  
struts.objectFactory 5YZ\@<|rH  
      The com.opensymphony.xwork2.ObjectFactory implementation class WV}pE~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) KI<x`b  
lItr*,A]  
struts.objectFactory.spring.autoWire 0T3r#zQ  
      Whether Spring should autoWire or not ?{Xp'D\z  
      是否自动绑定Spring M]\"]H?  
o\j<EQb.  
struts.objectFactory.spring.useClassCache E3Z>R=s  
      Whether Spring should use its class cache or not hQSJt[8My  
      是否spring应该使用自身的cache ^(xVjsHp#  
p*P0<01Z  
struts.objectTypeDeterminer W6B o\UK  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *|+ ~V/#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bVRxGn @l  
k!@/|]3z  
struts.serve.static.browserCache fv3)#>Dgp>  
If static content served by the Struts filter should set browser caching header properties or not lSId<v?C>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 43J8PMY  
'9wD+'c=A  
struts.serve.static /|e"0;{  
      Whether the Struts filter should serve static content or not Qe/=(P<  
      是否struts过滤器应该提供静态内容 U|h@Pw z  
_Q;M$.[zyR  
struts.tag.altSyntax $PbN=@  
      Whether to use the alterative syntax for the tags or not Q;$/&Y*  
      是否可以用替代的语法替代tags (Gxv?\  
Vo2frWF$  
struts.ui.templateDir [laX~(ND{  
      The directory containing UI templates "=!QSb  
      UI templates的目录夹 c9E9Rx  
+ACV,GG  
struts.ui.theme s.dn~|a  
      The default UI template theme ?Ve5}N  
      默认的UI template主题 &<i>)Ss  
u= +  
struts.url.http.port TAJ9Y<  
      The HTTP port used by Struts URLs 4_I,wG@  
      设置http端口 `TsfscN  
ZCJ8I  
struts.url.https.port  Ez1*}  
      The HTTPS port used by Struts URLs B&Ci*#e  
      设置https端口 Y.*lO  
"AVj]jR  
struts.url.includeParams :U[_V4? 7  
      The default includeParams method to generate Struts URLs ?R{?Qv  
      在url中产生 默认的includeParams s9GPDfZ  
$kz5)vj "  
/s*>V@Q  
struts.velocity.configfile $ .Z2Rdlv(  
      The Velocity configuration file path >qUO_>  
      velocity配置文件路径 7<:w-  
:3n.nKANr  
struts.velocity.contexts ez5`B$$  
      List of Velocity context names ti#sh{t  
      velocity的context列表 /+1Fa):  
n0i&P9@B1  
o%9>elOju  
struts.velocity.manager.classname A07 P$3>/W  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0 De M  
      org.apache.struts2.views.velocity.VelocityManager接口名 dO//  
9FLn7Y  
struts.velocity.toolboxlocation V= *J9~K  
      The location of the Velocity toolbox f8^58]wx0  
      velocity工具盒的位置 qRGb3l  
struts.xslt.nocache CGe'z  
      Whether or not XSLT templates should not be cached 6uXYZ.A  
      是否XSLT模版应该被缓存 5)o IPHXw  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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