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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g$jZpU  
W;Ei>~E  
struts.action.extension CAl]Kpc  
      The URL extension to use to determine if the request is meant for a Struts action n@Ar%%\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4D-4BxN*  
}}'0r2S  
struts.configuration nmZJ%n  
      The org.apache.struts2.config.Configuration implementation class y`OL^D4  
        org.apache.struts2.config.Configuration接口名 nwm1YPs%v]  
(n,!v)  
struts.configuration.files fudIUG.  
      A list of configuration files automatically loaded by Struts o@&d d NO  
      struts自动加载的一个配置文件列表 l6lyRJ  
hh<Es|v  
struts.configuration.xml.reload oJEUNgY&  
      Whether to reload the XML configuration or not BcvCm+.S:  
      是否加载xml配置(true,false) <x|P}  
_#8OHG.x  
struts.continuations.package ZCbnDj  
      The package containing actions that use Rife continuations (wRJ"Nwu  
      含有actions的完整连续的package名称 &gL &@';,  
8T#tB,<fFW  
struts.custom.i18n.resources \%FEQa0u  
      Location of additional localization properties files to load ,{br6*E  
      加载附加的国际化属性文件(不包含.properties后缀) GDW$R`2  
J!GWP:b3  
struts.custom.properties 1/H9(2{L  
      Location of additional configuration properties files to load XPt<k&o1,  
      加载附加的配置文件的位置 Do&/+Ssnu  
PnKgUJoa0  
2-<i#nA3  
struts.devMode LZB=vc|3/  
      Whether Struts is in development mode or not O*ql!9}E{  
      是否为struts开发模式 x(Us O}  
0Lo)Ni^"  
struts.dispatcher.parametersWorkaround 5k^UZw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `]8z]PD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9"H]zfW  
;m+*R/  
struts.enable.DynamicMethodInvocation Oa'DVfw2J  
      Allows one to disable dynamic method invocation from the URL ,L"1Ah  
        允许动态方法调用 h!L/ZeRaV  
AMhHq/Dw  
struts.freemarker.manager.classname m*d {pX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Yc,qXK-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 B7fV_-p:G  
[JY1|N  
struts.i18n.encoding 8a^E{x@HT  
      The encoding to use for localization messages ,/=Fm  
      国际化信息内码 n8.W$&-ia  
H.HXwN/x  
struts.i18n.reload QD}'2{M!  
      Whether the localization messages should automatically be reloaded \NEXtr`Th  
      是否国际化信息自动加载 >2[\WF*"X  
1$*ZN4  
struts.locale "0(H! }D  
      The default locale for the Struts application V u/{Hr  
      默认的国际化地区信息 C#r1zr6  
,p,$(V  
struts.mapper.class J\BTrN7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;e>pu"#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 o-))R| ~z  
e7(iMe  
struts.multipart.maxSize OUd&fUmH  
      The maximize size of a multipart request (file upload) QD6in>+B@  
      multipart请求信息的最大尺寸(文件上传用) (Mk9##R#  
ky`xBO =  
struts.multipart.parser DaV:Slp9  
      The org.apache.struts2.dispatcher.multipart. W]]@pbG"H\  
      MultiPartRequest parser implementation for a multipart request (file upload) NEpomE(>x  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]}wo$7pO  
_dgS@n;6  
5ir[}I^z  
struts.multipart.saveDir P,|%7'?Y  
      The directory to use for storing uploaded files ]>33sb S6  
      设置存储上传文件的目录夹 JfJLJ(}  
I,*zZNv Ri  
struts.objectFactory atW=xn  
      The com.opensymphony.xwork2.ObjectFactory implementation class UkE  fuH  
      com.opensymphony.xwork2.ObjectFactory接口(spring) TJHab;7F  
(^:0g.~c  
struts.objectFactory.spring.autoWire ,[ UqUEO  
      Whether Spring should autoWire or not eCDwY:t`  
      是否自动绑定Spring ]5V=kNu i  
dOm@cs  
struts.objectFactory.spring.useClassCache +ld]P}  
      Whether Spring should use its class cache or not yBJf'-K  
      是否spring应该使用自身的cache < )dqv0=  
J-6l<%962%  
struts.objectTypeDeterminer 3N(5V;ti  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4@b~)av)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 yh  
0%Y8M` ~s7  
struts.serve.static.browserCache fd{75J5%  
If static content served by the Struts filter should set browser caching header properties or not K/Q%tr1W0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 UP18?uM  
>tmv3_<=  
struts.serve.static A)2eo<ij4  
      Whether the Struts filter should serve static content or not Ej\M e  
      是否struts过滤器应该提供静态内容 l@ amAusE  
xnuu#@f  
struts.tag.altSyntax qT<OiIMj^  
      Whether to use the alterative syntax for the tags or not B<99-7x3  
      是否可以用替代的语法替代tags kq{PM-]l  
")'9:c  
struts.ui.templateDir X=8CZq4  
      The directory containing UI templates !CBvFl/v  
      UI templates的目录夹 Oy,7>vWQI  
H2ZRUFu  
struts.ui.theme ;qA(!`h+  
      The default UI template theme ~o_zV'^f@o  
      默认的UI template主题 ?5N7,|K)  
Hwz.5hV"  
struts.url.http.port [tKH'}/s=  
      The HTTP port used by Struts URLs q X"Pg  
      设置http端口 qhdY<[6  
DRDn;j  
struts.url.https.port !mjrI "_  
      The HTTPS port used by Struts URLs :7WeR0*%  
      设置https端口 BHNcE*U}@?  
CAbeb+O  
struts.url.includeParams 9J*M~gKbz  
      The default includeParams method to generate Struts URLs X j>?P/=Z  
      在url中产生 默认的includeParams MO_-7,.y  
LpQ=Y]{j  
o*fNY  
struts.velocity.configfile !-cO 0c!  
      The Velocity configuration file path ,ln=kj  
      velocity配置文件路径 ^=CO gO]e  
BF="gZoU<  
struts.velocity.contexts _Q**4  
      List of Velocity context names g< F7UA  
      velocity的context列表 }nsxo5WP  
'%W`:K'  
#nD]G#>e  
struts.velocity.manager.classname #FZoi:'Q  
      org.apache.struts2.views.velocity.VelocityManager implementation class L@|xpq  
      org.apache.struts2.views.velocity.VelocityManager接口名 #OQT@uF!  
fEWXC|"  
struts.velocity.toolboxlocation j3Sz+kOf,  
      The location of the Velocity toolbox 0SHF 8kek  
      velocity工具盒的位置 z]twh&^1L  
struts.xslt.nocache TtWE:xE  
      Whether or not XSLT templates should not be cached  dcd9AW=  
      是否XSLT模版应该被缓存 +Fk]hCL  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八