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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {ETM >  
/sfJ:KP0  
struts.action.extension @}=(4%  
      The URL extension to use to determine if the request is meant for a Struts action H2H`7 +I,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 28k=@k^q  
F~q(@.b  
struts.configuration SQ_Je+X  
      The org.apache.struts2.config.Configuration implementation class =Ox}WrU~  
        org.apache.struts2.config.Configuration接口名 y];-D>jk  
(+c1.h  
struts.configuration.files SE'!j]6jI  
      A list of configuration files automatically loaded by Struts AdVc1v&>  
      struts自动加载的一个配置文件列表 Y{D%v  
lD[37U!  
struts.configuration.xml.reload v\GVy[Qyv  
      Whether to reload the XML configuration or not Y=p!xr>  
      是否加载xml配置(true,false) DY -5(6X  
#=t/wAE y:  
struts.continuations.package |GtvgvO,  
      The package containing actions that use Rife continuations W#S82  
      含有actions的完整连续的package名称 jMgXIK\  
J91[w?,  
struts.custom.i18n.resources ;I&VpAPx  
      Location of additional localization properties files to load i|J%jA  
      加载附加的国际化属性文件(不包含.properties后缀) ]I[~0PCSX  
8LbwEKl  
struts.custom.properties 4);_f  
      Location of additional configuration properties files to load &'SD1m1P  
      加载附加的配置文件的位置 -~mgct5  
tO&ffZP8$  
s{-gsSmE  
struts.devMode 7~ PL8  
      Whether Struts is in development mode or not Gq^vto  
      是否为struts开发模式 51SmoFbMz  
<.Ws; HN}  
struts.dispatcher.parametersWorkaround ")T\_ME  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]1|P|Jp  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8.i4QaU  
X` zWw_i  
struts.enable.DynamicMethodInvocation 64<;6*  
      Allows one to disable dynamic method invocation from the URL L5-|-PP|;  
        允许动态方法调用 EU$.{C_O(  
s V_(9@b  
struts.freemarker.manager.classname f#\YX tR,k  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +n)n6} S  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !cwZ*eM  
+!/ATR%Uci  
struts.i18n.encoding %{@Q7  
      The encoding to use for localization messages w G%W{T$  
      国际化信息内码 Cf 2@x  
`POzwYh  
struts.i18n.reload j*jUcD *  
      Whether the localization messages should automatically be reloaded v $Iw?y  
      是否国际化信息自动加载 yD7BZI xW  
Y@UkP+{f=  
struts.locale  .Q{RT p  
      The default locale for the Struts application CL|/I:%0  
      默认的国际化地区信息 *m~-8_ >;  
CD$#}Id  
struts.mapper.class LQ jbEYp  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Smr{+m a  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -8Jw_  
xN1P#  
struts.multipart.maxSize hH %>  
      The maximize size of a multipart request (file upload) Ld4U  
      multipart请求信息的最大尺寸(文件上传用) /yOx=V  
!@xO]Jwv  
struts.multipart.parser J ^'El^F  
      The org.apache.struts2.dispatcher.multipart. mj~:MCC  
      MultiPartRequest parser implementation for a multipart request (file upload) mdj%zJ8/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eb62(:=N6  
E}@C4pS  
 {>]\<  
struts.multipart.saveDir J|`0GDSn  
      The directory to use for storing uploaded files OtG\Uw8  
      设置存储上传文件的目录夹 i5'&u:  
=[6^NR(  
struts.objectFactory ag-A}k>v  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?'a8QJo  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Ql*zl  
Shm> r@C?  
struts.objectFactory.spring.autoWire SmRlZ!%e  
      Whether Spring should autoWire or not oBzl=N3<  
      是否自动绑定Spring c8l>OS5i3_  
NAbVH{*\U  
struts.objectFactory.spring.useClassCache :|S zD4Ag  
      Whether Spring should use its class cache or not %TB(E<p`  
      是否spring应该使用自身的cache zWHq4@K  
nhV"V`|d  
struts.objectTypeDeterminer AK:cDKBO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class iOE. .xA:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {o=?@$6C  
-%nD'qy,.  
struts.serve.static.browserCache xoaO=7\io  
If static content served by the Struts filter should set browser caching header properties or not } M#e\neii  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !`DRJ)h  
_plK(g-1J%  
struts.serve.static R.~[$G!  
      Whether the Struts filter should serve static content or not h^M_yz-f  
      是否struts过滤器应该提供静态内容 l$42MRi/  
1!#85SMx  
struts.tag.altSyntax c}(WniR-"  
      Whether to use the alterative syntax for the tags or not SN{z)q  
      是否可以用替代的语法替代tags -yqsJGY  
6{Wo5O{!\  
struts.ui.templateDir |3H+b,M5  
      The directory containing UI templates |P|B"I<?  
      UI templates的目录夹 9}573M  
,:_c-d#  
struts.ui.theme 5]xuU.w'  
      The default UI template theme kaG/8G(  
      默认的UI template主题 %,>z`D,Hg  
96=<phcwN[  
struts.url.http.port l_B735  
      The HTTP port used by Struts URLs 36d nS>4  
      设置http端口 0|3I^b  
X{9^$/XsJ  
struts.url.https.port <izQ]\kL  
      The HTTPS port used by Struts URLs -<iP$,bq72  
      设置https端口 O-iE0t  
,75)  
struts.url.includeParams %#6@PQ[R.  
      The default includeParams method to generate Struts URLs bIQ,=EA1  
      在url中产生 默认的includeParams TBlSZZ-55]  
) SV.|  
} ueFy<F  
struts.velocity.configfile [&x9<f6  
      The Velocity configuration file path ou,[0B3n0  
      velocity配置文件路径 #-{<d% qk  
yR}. Xq/  
struts.velocity.contexts n1[c\1   
      List of Velocity context names 9A .RD`fg  
      velocity的context列表 w)btv{*  
[%W'd9`>  
bS_#3T  
struts.velocity.manager.classname )^(*B6;z5  
      org.apache.struts2.views.velocity.VelocityManager implementation class F(")ga$r  
      org.apache.struts2.views.velocity.VelocityManager接口名 C.j+Zb1Z(  
$l.*;h*  
struts.velocity.toolboxlocation q0sf\|'<}  
      The location of the Velocity toolbox D9rQ%|}S  
      velocity工具盒的位置 kVn RSg}R  
struts.xslt.nocache >.:+|Br`  
      Whether or not XSLT templates should not be cached _nGx[1G( 5  
      是否XSLT模版应该被缓存 (;NJ<x  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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