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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }G_ i+  
<HI5xB_  
struts.action.extension hP,SvN#!2  
      The URL extension to use to determine if the request is meant for a Struts action [K x_%Le  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0}-&v+  
zZGPA j  
struts.configuration 74xI#`E  
      The org.apache.struts2.config.Configuration implementation class E.t9F3  
        org.apache.struts2.config.Configuration接口名 { SJ=|L6  
WSKG8JT^|  
struts.configuration.files ,r+=>vre  
      A list of configuration files automatically loaded by Struts kjJ\7x6M  
      struts自动加载的一个配置文件列表 rN8 ZQiJC  
G{$9e}#  
struts.configuration.xml.reload t&eY+3y,T  
      Whether to reload the XML configuration or not 4f'WF5S/}8  
      是否加载xml配置(true,false) !nC Z,  
)k- 7mwkZ  
struts.continuations.package VNx}ADXu]  
      The package containing actions that use Rife continuations e*:[#LJ]C  
      含有actions的完整连续的package名称 a:7"F{D91  
,`B*rCOa  
struts.custom.i18n.resources ')}$v+9h  
      Location of additional localization properties files to load 0 A/GWSmF  
      加载附加的国际化属性文件(不包含.properties后缀)  >pT92VN  
` L6H2:pf  
struts.custom.properties 7f~DD8R  
      Location of additional configuration properties files to load Vt*Duh+4  
      加载附加的配置文件的位置 [p_R?2uT  
$BwWhR  
UdT ~ h  
struts.devMode E _/v$  
      Whether Struts is in development mode or not Y[X5S{H`wj  
      是否为struts开发模式 cg}46)^<QH  
6P3ezl@#;  
struts.dispatcher.parametersWorkaround l92#F*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9v_gR52vh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) to(OVg7_  
!f V.#9AB#  
struts.enable.DynamicMethodInvocation 8HxB\ !0F?  
      Allows one to disable dynamic method invocation from the URL &H-39;?u  
        允许动态方法调用 w(<; $9  
M\DUx5d J,  
struts.freemarker.manager.classname j+88J  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8~Rja  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =3^YKI  
3-FS} {,  
struts.i18n.encoding 6oL-Atf  
      The encoding to use for localization messages KAO}*?  
      国际化信息内码 Hvnak{5  
#B &D  
struts.i18n.reload ^Qs-@]E-  
      Whether the localization messages should automatically be reloaded {uDL"~^\  
      是否国际化信息自动加载 ak;fCx&  
hJrxb<9@Y0  
struts.locale P5%DvZB$w  
      The default locale for the Struts application \"<&8  
      默认的国际化地区信息 P (_:8|E  
f)vD2_E  
struts.mapper.class (IAl$IP63s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k'xnl"q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <xOpm8  
8L|rj4z<#  
struts.multipart.maxSize 7'xT)~*$4  
      The maximize size of a multipart request (file upload) 3Yp_k  
      multipart请求信息的最大尺寸(文件上传用) OHR9u  
~i=/@;wRp  
struts.multipart.parser Q{0-pHr}  
      The org.apache.struts2.dispatcher.multipart. ZL+{?1&-  
      MultiPartRequest parser implementation for a multipart request (file upload) F C2oP,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J<H$B +;qR  
m Wsegq4  
9 %,_G.  
struts.multipart.saveDir `Z{; c  
      The directory to use for storing uploaded files EN+WEMro  
      设置存储上传文件的目录夹 L`V6\Ix(I  
o`DBzC  
struts.objectFactory u> %r(  
      The com.opensymphony.xwork2.ObjectFactory implementation class VX[{X8PkS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ? Ls]k  
3|[:8  
struts.objectFactory.spring.autoWire ;KbnaUAS8  
      Whether Spring should autoWire or not w(k7nGU]  
      是否自动绑定Spring {t;Q#Ou.  
lmz{,O  
struts.objectFactory.spring.useClassCache k(3 s^B  
      Whether Spring should use its class cache or not uY5f mM9  
      是否spring应该使用自身的cache AA^3P?iD  
QtW5; A-h  
struts.objectTypeDeterminer /ZvNgaH5M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 13}=;4O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~g;(` g  
t/u$Ts  
struts.serve.static.browserCache .Xg%><{~  
If static content served by the Struts filter should set browser caching header properties or not OE}L})"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 s<sqO,!  
+0^N#0)  
struts.serve.static L&Qdb xn  
      Whether the Struts filter should serve static content or not  UY+~,a  
      是否struts过滤器应该提供静态内容 +VAfT\G2  
"Y7RvL!U  
struts.tag.altSyntax oYup*@t  
      Whether to use the alterative syntax for the tags or not $ *MjNj2  
      是否可以用替代的语法替代tags Y=vA ;BE]R  
tZk@ RX  
struts.ui.templateDir (=)+as"u9*  
      The directory containing UI templates Oa$ ew'  
      UI templates的目录夹 b0rC\^x  
u8~.6]Ae  
struts.ui.theme ?$ Uk[  
      The default UI template theme IgptiZ7~!  
      默认的UI template主题 +4G uA0N6  
DL2e 9  
struts.url.http.port ceH7Rq:4W  
      The HTTP port used by Struts URLs -+'{C =  
      设置http端口 tqmM7$}}P  
oHxaa>C>  
struts.url.https.port 1mFc]1W  
      The HTTPS port used by Struts URLs $gJMF(  
      设置https端口 Y xGIv8O]  
~N>[7I"*  
struts.url.includeParams 3-h u'xSU  
      The default includeParams method to generate Struts URLs G"O %u|7  
      在url中产生 默认的includeParams 2a (w7/W:  
}]=b%CPJh+  
o-("S|A-  
struts.velocity.configfile Lyt6DvAp"  
      The Velocity configuration file path XFG]%y=/6  
      velocity配置文件路径 \%mR*J+  
RgRyo  
struts.velocity.contexts :1hp_XfJb  
      List of Velocity context names -x:Wp*,  
      velocity的context列表 [LjYLm%<  
(|(Y;%>-v  
`5O<U~'d  
struts.velocity.manager.classname [B+ o4+K3  
      org.apache.struts2.views.velocity.VelocityManager implementation class G\*`EM4  
      org.apache.struts2.views.velocity.VelocityManager接口名 nD MNaMYb  
JBeC\ \QX  
struts.velocity.toolboxlocation !CPv{c`|qg  
      The location of the Velocity toolbox v?K X Tc%Z  
      velocity工具盒的位置 lU:z>gC  
struts.xslt.nocache i._d^lR\t  
      Whether or not XSLT templates should not be cached K{x<zv&,  
      是否XSLT模版应该被缓存 M GN*i9CE  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五