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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $-EbJ  
}L3kpw  
struts.action.extension N{ @B@]  
      The URL extension to use to determine if the request is meant for a Struts action D<]z.33  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =i4Ds  
_ ^r KOd  
struts.configuration 1nye.i~  
      The org.apache.struts2.config.Configuration implementation class &ScADmZP^d  
        org.apache.struts2.config.Configuration接口名 eI/9uR%  
JF IUD{>fp  
struts.configuration.files XL1v&'HLV  
      A list of configuration files automatically loaded by Struts E?m(&O j  
      struts自动加载的一个配置文件列表 5\A[ra  
HE,# pj(D  
struts.configuration.xml.reload TG~:Cmc  
      Whether to reload the XML configuration or not d:|X|0#\uH  
      是否加载xml配置(true,false) 5^~%10=  
|x3.r t  
struts.continuations.package gT 22!  
      The package containing actions that use Rife continuations a= +qR:wT  
      含有actions的完整连续的package名称 k,LeBCqGcb  
1D sgU6"  
struts.custom.i18n.resources 7loIX Qw  
      Location of additional localization properties files to load N=YRYU o  
      加载附加的国际化属性文件(不包含.properties后缀) s+8 v7ZJ  
3i/$YX5@  
struts.custom.properties <b~KR8  
      Location of additional configuration properties files to load %qfql  
      加载附加的配置文件的位置 " qY Pi  
G'{$$+U^K  
|[7xTD  
struts.devMode : " 9F.U  
      Whether Struts is in development mode or not ]L@VpHEj  
      是否为struts开发模式 -^`]tF`M  
,|,DXw  
struts.dispatcher.parametersWorkaround uW3`gwwlU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3Sv<Viuo  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &'uFy0d,  
Pwn"!pk  
struts.enable.DynamicMethodInvocation 5*l~7R  
      Allows one to disable dynamic method invocation from the URL (,#Rj$W  
        允许动态方法调用 l*T> 9yC  
O]o `! c  
struts.freemarker.manager.classname hqd}L~o:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `j{q$Y=AG  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2"*7H S  
K+5S7wFDZ  
struts.i18n.encoding po~V{>fUm  
      The encoding to use for localization messages S-&[Tp+N  
      国际化信息内码 q-P$ \":  
W 0%FZ0 l  
struts.i18n.reload rnz9TmN:*1  
      Whether the localization messages should automatically be reloaded - |n\  
      是否国际化信息自动加载 Yq-Nk:H|  
ua# sW  
struts.locale Z6F>SL  
      The default locale for the Struts application r<,W{Va  
      默认的国际化地区信息 Mn7nS:  
St}j^i  
struts.mapper.class k\W%^Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B:Ec(USe  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >bWx!M]  
~0aWjMc(>  
struts.multipart.maxSize _-$O6eZ  
      The maximize size of a multipart request (file upload) eY^;L_7}p  
      multipart请求信息的最大尺寸(文件上传用) pCS2sq8RC  
6m"_=.k%  
struts.multipart.parser %T4htZa  
      The org.apache.struts2.dispatcher.multipart. *u^N_y  
      MultiPartRequest parser implementation for a multipart request (file upload) b0|q@!z>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {KYbsD  
m`l3@ Z  
]@)T]  
struts.multipart.saveDir >Ng7q?h   
      The directory to use for storing uploaded files ^_BHgbS%;  
      设置存储上传文件的目录夹 gmkD'CX*A  
)y&}c7xW  
struts.objectFactory \' (_r  
      The com.opensymphony.xwork2.ObjectFactory implementation class {Bk9]:'$5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) H-$)@  
g"gh2#!D  
struts.objectFactory.spring.autoWire iLiEh2%P  
      Whether Spring should autoWire or not teh$W<C  
      是否自动绑定Spring jsL\{I^>  
HL-zuZa`Ju  
struts.objectFactory.spring.useClassCache YcW[BMy5h  
      Whether Spring should use its class cache or not gU1E6V-Jm  
      是否spring应该使用自身的cache eV$pza  
Ej\EuX  
struts.objectTypeDeterminer C,T9xm  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <Hw)},_*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %"Tn=fZIF  
'wB6-  
struts.serve.static.browserCache Rd7[e^HSN  
If static content served by the Struts filter should set browser caching header properties or not <20rxOEnf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 04>dxw)8  
PI@/jh  
struts.serve.static Bwv@D4bii  
      Whether the Struts filter should serve static content or not V9 qZa  
      是否struts过滤器应该提供静态内容 )2t!= ua  
foY=?mbL  
struts.tag.altSyntax }`M53>C,gQ  
      Whether to use the alterative syntax for the tags or not kNqSBzg  
      是否可以用替代的语法替代tags 3NRxf8  
mNS7/I\  
struts.ui.templateDir o;bK 7D  
      The directory containing UI templates l1BbL5#1Q>  
      UI templates的目录夹 JQ|qg\[  
_q*4+x  
struts.ui.theme Du@?j7&l=$  
      The default UI template theme :l<)p;\  
      默认的UI template主题 r_/=iYYJ  
_hT-5)1r  
struts.url.http.port 5A(zQ'6  
      The HTTP port used by Struts URLs ]l\'1-/  
      设置http端口 # LRN@?P  
P{2V@ <}  
struts.url.https.port o|#Mq"od  
      The HTTPS port used by Struts URLs PR rf$& u  
      设置https端口 2D|2/ >[  
Omy4Rkj8bh  
struts.url.includeParams b=[gK|fu  
      The default includeParams method to generate Struts URLs ;4XvlcGo  
      在url中产生 默认的includeParams Bc%A aZ0x  
e45gjjts  
X :2%U  
struts.velocity.configfile "[(&$ I  
      The Velocity configuration file path py#`  
      velocity配置文件路径 jM`)N d  
P&PPX#%  
struts.velocity.contexts V/w:^@5+p  
      List of Velocity context names ~<b/%l>h1  
      velocity的context列表 X"QIH|qx-  
R  Fgy  
EX^}#|e*h  
struts.velocity.manager.classname ];BGJ5^j  
      org.apache.struts2.views.velocity.VelocityManager implementation class vd>K=! J  
      org.apache.struts2.views.velocity.VelocityManager接口名 |X&.+RI  
eeI aH >  
struts.velocity.toolboxlocation @j +8M  
      The location of the Velocity toolbox !O=?n<Ex"  
      velocity工具盒的位置 =@%;6`AVcp  
struts.xslt.nocache B&^WRM;7t  
      Whether or not XSLT templates should not be cached 1~BDtHW7`n  
      是否XSLT模版应该被缓存 jIY    
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五