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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 q0Pu6"^  
x:lf=D lA  
struts.action.extension l= S_#  
      The URL extension to use to determine if the request is meant for a Struts action FuBRb(I  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^- Ji]5~  
W<7Bq_L[|  
struts.configuration YU(x!<Z  
      The org.apache.struts2.config.Configuration implementation class qrYeh`Mv  
        org.apache.struts2.config.Configuration接口名 `2  
2F7R,rr  
struts.configuration.files \Da$bJ  
      A list of configuration files automatically loaded by Struts L-dKZ8Q  
      struts自动加载的一个配置文件列表 &H{>7q#r  
O0YGjS|d  
struts.configuration.xml.reload 4q8%!\A+  
      Whether to reload the XML configuration or not [' 1?'*  
      是否加载xml配置(true,false) >i E  
f |5|n>*  
struts.continuations.package &>+Z$ZD  
      The package containing actions that use Rife continuations r:-WfDz.  
      含有actions的完整连续的package名称 ]!w52kF7  
3i~{x[Jc  
struts.custom.i18n.resources r'?&VS-Cj  
      Location of additional localization properties files to load ,#Y".23G  
      加载附加的国际化属性文件(不包含.properties后缀) (6'Hzl^Kp  
wX;NU4)n  
struts.custom.properties P 'k39  
      Location of additional configuration properties files to load  ond/e&1  
      加载附加的配置文件的位置 iJeT+}  
2eYkWHi  
)dcGV$4t[  
struts.devMode *A`^ C  
      Whether Struts is in development mode or not 0AenDm@9  
      是否为struts开发模式 XWV~6"  
rE~O}2a#H  
struts.dispatcher.parametersWorkaround t[~i})yS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic / KM+PeO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r; !us~  
5S bSz!s`$  
struts.enable.DynamicMethodInvocation c2"OpI  
      Allows one to disable dynamic method invocation from the URL Xw)+5+t"{  
        允许动态方法调用 s]OXB {M  
0@;E8^pa  
struts.freemarker.manager.classname m^KkS   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?zqXHv#x  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gr?gHAT  
<o}t-Bgg  
struts.i18n.encoding *L_wRhhk  
      The encoding to use for localization messages '#?hm-Ga  
      国际化信息内码 '/?&Gol-  
u"ow?[E  
struts.i18n.reload 4esf&-gG  
      Whether the localization messages should automatically be reloaded &(0);I@fc  
      是否国际化信息自动加载  .~']gih#  
2e &Zs%u  
struts.locale mi?Fy0\  
      The default locale for the Struts application s!Vtw p9  
      默认的国际化地区信息 yMxS'j1  
i8F~$6C  
struts.mapper.class ?jnEHn  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x g@;d  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .w&Z=YM  
6 ?cV1:jh  
struts.multipart.maxSize ^m\n[<x^  
      The maximize size of a multipart request (file upload) -v] 0@jNe  
      multipart请求信息的最大尺寸(文件上传用) 8~7EWl  
'yqp   
struts.multipart.parser Lm/^ 8V+  
      The org.apache.struts2.dispatcher.multipart. ~ nIZ g5  
      MultiPartRequest parser implementation for a multipart request (file upload) ezeGw?/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1Cthi[ B  
0vEa]ljS  
;x"B ):?\  
struts.multipart.saveDir 1L ow[i  
      The directory to use for storing uploaded files ~QXNOtVsN  
      设置存储上传文件的目录夹 l8Ox]%F  
p /:L;5F  
struts.objectFactory 6|9fcIh]B  
      The com.opensymphony.xwork2.ObjectFactory implementation class dc* #?G6^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) UNJ|J$T]  
4e4$AB"  
struts.objectFactory.spring.autoWire $!t!=  
      Whether Spring should autoWire or not KT}}=st%  
      是否自动绑定Spring va)\uXW.N  
aj:+"X-;  
struts.objectFactory.spring.useClassCache G[<iVt$y  
      Whether Spring should use its class cache or not <K~#@.^`  
      是否spring应该使用自身的cache azSS:=A  
\y=,=;yv  
struts.objectTypeDeterminer b^ZrevM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f7L|Jc  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 yl*S|= 8;k  
zuOIos  
struts.serve.static.browserCache h&XyMm9C  
If static content served by the Struts filter should set browser caching header properties or not N4r`czoj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v^pE= f*/  
Sx}h$E:  
struts.serve.static $W)FpN;CW/  
      Whether the Struts filter should serve static content or not =i.[|g"  
      是否struts过滤器应该提供静态内容 zOcMc{w0   
)g-*fSa  
struts.tag.altSyntax 'del|"h!M  
      Whether to use the alterative syntax for the tags or not E+_ }8J .  
      是否可以用替代的语法替代tags v/)dsSNZ0u  
xH0Bk<`V:  
struts.ui.templateDir M@.1P<:h  
      The directory containing UI templates ~k&b3-A}  
      UI templates的目录夹 x;N?'"GP  
N$. ''D?7D  
struts.ui.theme edch'H^2+P  
      The default UI template theme n '&WIf3  
      默认的UI template主题 joa$Y6  
h/X),aK3  
struts.url.http.port xv /w %  
      The HTTP port used by Struts URLs TJCoID7a8  
      设置http端口 -7lJ  
w>#~_x, `  
struts.url.https.port +Q{jV^IT9  
      The HTTPS port used by Struts URLs ]wP)!UZ  
      设置https端口 7eY*Y"GX  
U*zjEY:A  
struts.url.includeParams (FBKP#x)^  
      The default includeParams method to generate Struts URLs 1=s%.0  
      在url中产生 默认的includeParams ]+oPwp;il  
p%n}a%%I  
YoXXelO&  
struts.velocity.configfile 0 {w?u%'  
      The Velocity configuration file path t4nAy)I)P  
      velocity配置文件路径 \!-X&ws  
k38Ds_sW6d  
struts.velocity.contexts mI l_ [  
      List of Velocity context names yfq"atj  
      velocity的context列表 =oSv=xY  
RS$e^_W  
M6?*\ 9E  
struts.velocity.manager.classname H4)){\  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;i1H {hB  
      org.apache.struts2.views.velocity.VelocityManager接口名 jn]{|QZ  
z}Xn>-N-  
struts.velocity.toolboxlocation ?g!py[CrE  
      The location of the Velocity toolbox l( "_JI  
      velocity工具盒的位置 h!$W^Tm2g  
struts.xslt.nocache )wAqaG_d  
      Whether or not XSLT templates should not be cached x3]es"4Q  
      是否XSLT模版应该被缓存 ]zu" x9-`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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