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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t{})6  
F^l1WX6  
struts.action.extension #*(}%!rD*  
      The URL extension to use to determine if the request is meant for a Struts action XIcUoKg^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 eWH0zswG  
Z`TfS+O6  
struts.configuration 'sEnh<  
      The org.apache.struts2.config.Configuration implementation class -2.7Z`*(  
        org.apache.struts2.config.Configuration接口名 &}DfIP<  
&8IBf8  
struts.configuration.files .s{ "NqRA  
      A list of configuration files automatically loaded by Struts Nd0tR3gi7  
      struts自动加载的一个配置文件列表 #A)V  
n Bm ]?  
struts.configuration.xml.reload 1l-5H7^w2?  
      Whether to reload the XML configuration or not V60L\?a  
      是否加载xml配置(true,false) Us`=^\  
^4sfVpD2!  
struts.continuations.package hBU)gP75  
      The package containing actions that use Rife continuations N[Z`tk?-  
      含有actions的完整连续的package名称 /pMOinuO  
:jTSO d[r  
struts.custom.i18n.resources >axeUd+@i  
      Location of additional localization properties files to load ZTR9e\F  
      加载附加的国际化属性文件(不包含.properties后缀)  /  
M+ [ho]  
struts.custom.properties TgkVd]4%  
      Location of additional configuration properties files to load %`]+sg[i  
      加载附加的配置文件的位置 7uR;S:WX  
,z&S;f.f  
VR (R.  
struts.devMode ;!<}oZp{  
      Whether Struts is in development mode or not bZ* = fdh  
      是否为struts开发模式 Xs2}n^#i  
uj.i(U s  
struts.dispatcher.parametersWorkaround Pb&tWv\ql  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yGR{-YwU!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v,<14w  
j_JY[sex  
struts.enable.DynamicMethodInvocation B4.: 9Od3  
      Allows one to disable dynamic method invocation from the URL PK]3uh  
        允许动态方法调用 lu.]R>w  
@7 Ry{,A  
struts.freemarker.manager.classname N{%7OG  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AE rPd)yk0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &g|[/~dIr  
>.meecE?Q  
struts.i18n.encoding n&[CTOV  
      The encoding to use for localization messages nCYkUDnZ  
      国际化信息内码 -8l<5g7  
qFmw9\Fn  
struts.i18n.reload "\wMs  
      Whether the localization messages should automatically be reloaded ]oP1c-GEk  
      是否国际化信息自动加载 K1@ Pt}  
A3eCI  
struts.locale $INB_/R E  
      The default locale for the Struts application Q ^b&   
      默认的国际化地区信息 (%6fMVp  
-#ZvjEaey  
struts.mapper.class '|[!I!WB`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !Gmnck&+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 g~DuK|+  
i.mv`u Dm  
struts.multipart.maxSize `*s:[k5k  
      The maximize size of a multipart request (file upload) 3RaduN]  
      multipart请求信息的最大尺寸(文件上传用) @:>]jp}uq  
JI>Y?1i0O  
struts.multipart.parser SA TX_  
      The org.apache.struts2.dispatcher.multipart. `;85Mo:qJ  
      MultiPartRequest parser implementation for a multipart request (file upload) Ll]5u~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *qzdt^[ xo  
4Fg2/O_3  
|Y uf/G%/  
struts.multipart.saveDir AYn65Ly  
      The directory to use for storing uploaded files JX&U?Z  
      设置存储上传文件的目录夹 *D|a`R!Y  
M`Q$-#E:  
struts.objectFactory sT?{  
      The com.opensymphony.xwork2.ObjectFactory implementation class ei5YxV6I  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \OW:-  
?oYO !  
struts.objectFactory.spring.autoWire d6MWgg  
      Whether Spring should autoWire or not Qj^Uz+b  
      是否自动绑定Spring cKVFykwM  
Y D<3#Dr]  
struts.objectFactory.spring.useClassCache U<'N=#A J  
      Whether Spring should use its class cache or not |.)LZP,  
      是否spring应该使用自身的cache ?F05BS#)X  
y-hTTd"{  
struts.objectTypeDeterminer Em!- W5*s  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W]po RTJ:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <H^jbK  
'ma X  
struts.serve.static.browserCache }2]|*?1,  
If static content served by the Struts filter should set browser caching header properties or not `jeATxWv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %r|sb=(yT  
_}5vO$kdO  
struts.serve.static p)SW(pS  
      Whether the Struts filter should serve static content or not :'T+`(  
      是否struts过滤器应该提供静态内容 `Abd=1nH  
TdPd8ig8{  
struts.tag.altSyntax OJm ]gb7  
      Whether to use the alterative syntax for the tags or not #&.Znk:@.f  
      是否可以用替代的语法替代tags OH/9<T?  
M8-8 T  
struts.ui.templateDir M@T{uo  
      The directory containing UI templates ,NGHv?.N  
      UI templates的目录夹 AGFA;X  
<,:{Q75  
struts.ui.theme ]fajj\  
      The default UI template theme |&4A"2QN  
      默认的UI template主题 Un]wP`  
;n't:yQW  
struts.url.http.port 0h1u W26^  
      The HTTP port used by Struts URLs b|_e):V|  
      设置http端口 k@7#8(3  
!SK`!/7c?  
struts.url.https.port vhF9|('G  
      The HTTPS port used by Struts URLs 2B4.o*Q\  
      设置https端口 J!om"h  
{]6-,/3UR  
struts.url.includeParams 1KUjb@"  
      The default includeParams method to generate Struts URLs 45 ^ Z5t  
      在url中产生 默认的includeParams -1 dD~S$  
frcX'M}%  
brTNwRze  
struts.velocity.configfile ~B[e*| d  
      The Velocity configuration file path -;gQy[U  
      velocity配置文件路径 hj1;f<' U  
d*tWFr|J-  
struts.velocity.contexts Ct'tUF<K5  
      List of Velocity context names #;8)UNc)}  
      velocity的context列表 y CHOg  
V<5. 4{[G  
Z=8&`  
struts.velocity.manager.classname !BVCuuM>w  
      org.apache.struts2.views.velocity.VelocityManager implementation class fBh"  
      org.apache.struts2.views.velocity.VelocityManager接口名 bqH [-mu6  
{- I+  
struts.velocity.toolboxlocation #)}BY"C%  
      The location of the Velocity toolbox BP j?l  
      velocity工具盒的位置 koT3~FK  
struts.xslt.nocache 5 Y&`ZJ  
      Whether or not XSLT templates should not be cached N?m)u,6-l  
      是否XSLT模版应该被缓存 f&$Bjq  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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