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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  {kmaMP  
SYl :X   
struts.action.extension iv56zsR  
      The URL extension to use to determine if the request is meant for a Struts action KiCZEA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2-{8+*_'  
JU"!qXQr  
struts.configuration bC)<AG@Z\  
      The org.apache.struts2.config.Configuration implementation class ]YwIuz6]  
        org.apache.struts2.config.Configuration接口名 xu_Tocvop  
"qwRcuHY  
struts.configuration.files iRPd=)  
      A list of configuration files automatically loaded by Struts @++ X H}  
      struts自动加载的一个配置文件列表 SX*os$  
_ sM$O>  
struts.configuration.xml.reload *A8CJ  
      Whether to reload the XML configuration or not N8m^h:b  
      是否加载xml配置(true,false) @$t Qz  
F\>`j   
struts.continuations.package @^`f~0#:  
      The package containing actions that use Rife continuations J7mT&U&Ru  
      含有actions的完整连续的package名称 2t[inzn=E  
WL$WWA08_  
struts.custom.i18n.resources 6 rmK_Y  
      Location of additional localization properties files to load d eTUfbd'  
      加载附加的国际化属性文件(不包含.properties后缀) *Z{W,8h*s  
o F @{&  
struts.custom.properties >Z>*Iz,LP  
      Location of additional configuration properties files to load ( 6r9y3'  
      加载附加的配置文件的位置 ^=W%G^jJy  
SD TX0v  
$\0j:<o  
struts.devMode e6{/e+/R  
      Whether Struts is in development mode or not VsUEp_I  
      是否为struts开发模式 E{lq@it32p  
n>!E ]  
struts.dispatcher.parametersWorkaround EStHl(DUPq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f~"3#MaV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZXr]V'Q?  
+5^*c^C  
struts.enable.DynamicMethodInvocation o#w6]Fmc  
      Allows one to disable dynamic method invocation from the URL Ry/NfF=  
        允许动态方法调用 ^S, "i V  
#<se0CJB  
struts.freemarker.manager.classname \'1%"JWK   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class pz-`Tp w  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 V ;>{-p  
LscAsq<H<  
struts.i18n.encoding ir/2/ E  
      The encoding to use for localization messages ~\XB'  
      国际化信息内码 d9sgk3K  
WhK?>u  
struts.i18n.reload -?@ $`{-K  
      Whether the localization messages should automatically be reloaded 3)GXu>) t  
      是否国际化信息自动加载 iiRK3m  
Fbk<qQH  
struts.locale y(N-1  
      The default locale for the Struts application BPi>SI0  
      默认的国际化地区信息 OE:t!66  
[IW@ mn>  
struts.mapper.class m<OxO\Mpf  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a9D 5qj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 hRA.u'M  
Qaagi `  
struts.multipart.maxSize {)F-US  
      The maximize size of a multipart request (file upload) l:faI&o.@  
      multipart请求信息的最大尺寸(文件上传用) LzgD#Kz  
HqN|CwGgJ:  
struts.multipart.parser ydlH6>  
      The org.apache.struts2.dispatcher.multipart. }KZ/>Z;^  
      MultiPartRequest parser implementation for a multipart request (file upload) b6Ntt Y!3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8N|*n"`}  
u,oxUySeG  
EiT raWV"O  
struts.multipart.saveDir Jr1^qY`0+  
      The directory to use for storing uploaded files '^P Ud`  
      设置存储上传文件的目录夹 w*bVBuX s  
0<i~XN0g  
struts.objectFactory o AQ92~b  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0.+iVOz+Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) s?_b[B d  
6`+DBr  
struts.objectFactory.spring.autoWire #0^Q UOp  
      Whether Spring should autoWire or not /$q;-/DnTZ  
      是否自动绑定Spring YQ?|Vb U  
6aK%s{%3s  
struts.objectFactory.spring.useClassCache hefV0)4K  
      Whether Spring should use its class cache or not _X@:- _  
      是否spring应该使用自身的cache MjG .Ili$m  
5^%^8o  
struts.objectTypeDeterminer O<%U*:B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0<>iMrD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gXf_~zxS  
gR?3)m  
struts.serve.static.browserCache JWxPH5L  
If static content served by the Struts filter should set browser caching header properties or not 8YYY *>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -Fl3m  
4+ 4? 0R  
struts.serve.static X>Xpx<RY!  
      Whether the Struts filter should serve static content or not kfmIhHlYQ  
      是否struts过滤器应该提供静态内容 ^5GS !u"  
t_j.@|/FZ  
struts.tag.altSyntax ;$0za]x  
      Whether to use the alterative syntax for the tags or not Sb{S^w\m0  
      是否可以用替代的语法替代tags ^?juY}rZ=|  
T!;<Fy"p  
struts.ui.templateDir 6J=~*&  
      The directory containing UI templates fA+M/}=  
      UI templates的目录夹 A4&e#  
z?7s'2w&{  
struts.ui.theme Rx'7tff%I  
      The default UI template theme O050Q5zy  
      默认的UI template主题 hSg: Rqnk  
4wNxn lP  
struts.url.http.port h eh! cDK  
      The HTTP port used by Struts URLs 7&sCEYEb  
      设置http端口 8 3<kaeu,^  
i[YYR,X|  
struts.url.https.port V<d'psb 6  
      The HTTPS port used by Struts URLs cBm3|@7  
      设置https端口 }!.7QpA$  
-(1e!5_-@  
struts.url.includeParams ltD:w{PO]  
      The default includeParams method to generate Struts URLs )p!dql K  
      在url中产生 默认的includeParams esLY1c%"/  
m\~[^H~g  
#b8/gRfS  
struts.velocity.configfile t@4vEKw?.X  
      The Velocity configuration file path C{>?~@z&5  
      velocity配置文件路径 TbX ZU$[c  
zZE?G:isR  
struts.velocity.contexts -R\}Q"  
      List of Velocity context names )s^XVs.-  
      velocity的context列表 L\"=H4r  
s5z@`M5'm  
:;|x'[JoE?  
struts.velocity.manager.classname a~{St v  
      org.apache.struts2.views.velocity.VelocityManager implementation class IGI2).$[  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;M JM~\L0  
1}'Jbj"/  
struts.velocity.toolboxlocation QeQbO  
      The location of the Velocity toolbox X5<L  
      velocity工具盒的位置 bqLv81V  
struts.xslt.nocache :m+:%keK  
      Whether or not XSLT templates should not be cached W``e6RX-  
      是否XSLT模版应该被缓存 ")o.x7~N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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