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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l2LO,j}  
`|[UF^9  
struts.action.extension HN&]`cr;  
      The URL extension to use to determine if the request is meant for a Struts action ef:Zi_o   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !-B|x0fs  
}OgZZ8-_M  
struts.configuration ugW.nf*O  
      The org.apache.struts2.config.Configuration implementation class <ou=f'  
        org.apache.struts2.config.Configuration接口名 j6rwlwN  
{\k:?w4  
struts.configuration.files BQ!_i*14+  
      A list of configuration files automatically loaded by Struts A6Wtzt2i  
      struts自动加载的一个配置文件列表 4?x$O{D5?{  
p1\E C#Q  
struts.configuration.xml.reload <2w 41QZX  
      Whether to reload the XML configuration or not UzkX;UA  
      是否加载xml配置(true,false) l_ &T)Ei  
?d)eri8,  
struts.continuations.package YQ}IE[J}v  
      The package containing actions that use Rife continuations c/G^}d%  
      含有actions的完整连续的package名称 0t00X/  
.YIb ny1  
struts.custom.i18n.resources -s:NF;"  
      Location of additional localization properties files to load j&,%v+x  
      加载附加的国际化属性文件(不包含.properties后缀) S'q4va"  
04#r'UIF  
struts.custom.properties +]# p m9  
      Location of additional configuration properties files to load e]l.m!,r  
      加载附加的配置文件的位置 k/%n7 ;1  
OFw93UJ Y  
s|Zv>Qt  
struts.devMode $Mqw)X&q  
      Whether Struts is in development mode or not ARid   
      是否为struts开发模式 kc"SUiy/  
7t/C:2^&  
struts.dispatcher.parametersWorkaround onUF@3V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZOHGGO]1M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `S/;S<';  
a#P{[  
struts.enable.DynamicMethodInvocation ey[+"6Awne  
      Allows one to disable dynamic method invocation from the URL d ?OsVT; U  
        允许动态方法调用 {(`xA,El  
'.tg\]|  
struts.freemarker.manager.classname H?'t>JX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VQ`a-DL  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nnnq6Z}  
d-$/C| J  
struts.i18n.encoding ->U9u lTC  
      The encoding to use for localization messages :]IY w!_-p  
      国际化信息内码 _i1x\Z~ N  
kT{d pGU9  
struts.i18n.reload +C9 l7 q  
      Whether the localization messages should automatically be reloaded G(7WUMjl  
      是否国际化信息自动加载 9GVv[/NAb  
C%kIxa)  
struts.locale @EB2I+[  
      The default locale for the Struts application Z;GZ?NOlY  
      默认的国际化地区信息 F%q}N,W  
| <l=i(  
struts.mapper.class R;2 Z~P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M!b"c4|<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =(>pv,  
p3{ 3[fDx  
struts.multipart.maxSize Q.L.B7'e7  
      The maximize size of a multipart request (file upload) z] teQaUZ  
      multipart请求信息的最大尺寸(文件上传用) R9lb<`  
Z\*jt B:  
struts.multipart.parser c o%-d  
      The org.apache.struts2.dispatcher.multipart. 6"Rw&3D?  
      MultiPartRequest parser implementation for a multipart request (file upload) si3@R?WR6*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l)( 3]  
A<s9c=d6  
qCgoB 0  
struts.multipart.saveDir SpX6PwM  
      The directory to use for storing uploaded files '#@tovr  
      设置存储上传文件的目录夹 qFYM2  
ju?D=n@i  
struts.objectFactory G^/8lIj  
      The com.opensymphony.xwork2.ObjectFactory implementation class Mi&jl_&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) TbA=bkj[4  
\ POQeZ  
struts.objectFactory.spring.autoWire X=i",5;  
      Whether Spring should autoWire or not ]B r 6!U4~  
      是否自动绑定Spring g\lEdxm6Sj  
vmK`QPu 2  
struts.objectFactory.spring.useClassCache $[DSe~  
      Whether Spring should use its class cache or not Vi_6O;  
      是否spring应该使用自身的cache * k ^?L  
*b+ ~@o  
struts.objectTypeDeterminer eww/tGa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "Z*u2_ H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /p_#8}Uh  
E*X-f"  
struts.serve.static.browserCache U/3 <p8  
If static content served by the Struts filter should set browser caching header properties or not El#"vIg(\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3Ja1|;(2  
&x<y4ORH|  
struts.serve.static &F#K=R| .j  
      Whether the Struts filter should serve static content or not x C+TO  
      是否struts过滤器应该提供静态内容 i-*ZW:  
%?z8*G]M  
struts.tag.altSyntax Ea\Khf]2  
      Whether to use the alterative syntax for the tags or not p;<brwN  
      是否可以用替代的语法替代tags YPNG9^Y  
IG=#2 /$  
struts.ui.templateDir |#?:KvU97E  
      The directory containing UI templates #J09Eka;J  
      UI templates的目录夹 ZQY?wO: [  
bL]NSD  
struts.ui.theme s'JbG&T[J  
      The default UI template theme yRv4,{B}X>  
      默认的UI template主题 G2BB]] m3  
Kk9W=vd  
struts.url.http.port p?XVO#  
      The HTTP port used by Struts URLs (N :vDq'  
      设置http端口 c}r"O8M  
W 2.Ap  
struts.url.https.port o-_H+p6a  
      The HTTPS port used by Struts URLs A$Ok^  
      设置https端口 T.?}iz=ZEq  
]XhX aoqL  
struts.url.includeParams wY6m^g$h3  
      The default includeParams method to generate Struts URLs G=l-S\0@  
      在url中产生 默认的includeParams YecV+ K'p:  
;dVYR=l  
FEwPLViso  
struts.velocity.configfile ;"Q.c#pA$g  
      The Velocity configuration file path oK#UEn  
      velocity配置文件路径 %29lDd(<  
B EB[K2[9  
struts.velocity.contexts !)$e+o^W  
      List of Velocity context names @\s*f7  
      velocity的context列表 S5>?j n1  
7/b\NLeJ'  
)LDBvpJyQ  
struts.velocity.manager.classname 5Sv;a(}  
      org.apache.struts2.views.velocity.VelocityManager implementation class ur K~]68  
      org.apache.struts2.views.velocity.VelocityManager接口名 AMf{E  
Z(:q.{"r  
struts.velocity.toolboxlocation j9^V)\6)  
      The location of the Velocity toolbox N83c+vs%c  
      velocity工具盒的位置 hxe X6  
struts.xslt.nocache e .1! K  
      Whether or not XSLT templates should not be cached *BFG{P  
      是否XSLT模版应该被缓存 PEDV9u[A  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八