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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M-eX>}CDm  
?v6xa Vg:  
struts.action.extension [/'W#x  
      The URL extension to use to determine if the request is meant for a Struts action wPyfne?~,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K1jE_]@Z  
'};pu;GA7  
struts.configuration h^cM#L^B  
      The org.apache.struts2.config.Configuration implementation class iXI > >9  
        org.apache.struts2.config.Configuration接口名 WSUU_^.  
I_\j05  
struts.configuration.files A3MVNz$wo"  
      A list of configuration files automatically loaded by Struts ]e!9{\X,*  
      struts自动加载的一个配置文件列表 NU O9,  
}qxw Nmx  
struts.configuration.xml.reload i ,ga2{GnM  
      Whether to reload the XML configuration or not Ub3^Js!b%  
      是否加载xml配置(true,false) I vO#tI  
Tw 8$6KUW  
struts.continuations.package g6MK~JG$?h  
      The package containing actions that use Rife continuations )ui]vS:>  
      含有actions的完整连续的package名称 eqV;4dhm  
(*F/^4p!$  
struts.custom.i18n.resources ve<D[jQsk  
      Location of additional localization properties files to load JZB7?@h%  
      加载附加的国际化属性文件(不包含.properties后缀) ^i:%0"[*^i  
*6<<6f`(  
struts.custom.properties bu$YW'  
      Location of additional configuration properties files to load 'a[|'  
      加载附加的配置文件的位置 HW"@~-\  
0.!_k )tu  
WWZ`RY  
struts.devMode G*^4+^Vz?  
      Whether Struts is in development mode or not WS6'R    
      是否为struts开发模式 ;<hLy(@  
GKIO@!@[  
struts.dispatcher.parametersWorkaround ir !/{IQx  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Yv>kToa\^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [7 _1GSS1  
hv (>9N  
struts.enable.DynamicMethodInvocation 7Ji|x{``  
      Allows one to disable dynamic method invocation from the URL \SKobO?qI  
        允许动态方法调用 wl7G6Y2  
Lh\ 1L  
struts.freemarker.manager.classname m9M#)<@*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :Y>FuE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4j_\_:$w<  
B63puX{u#  
struts.i18n.encoding 07b =Zhh  
      The encoding to use for localization messages &PZ&'N|P  
      国际化信息内码 i24t$7q  
eCFMWFhC  
struts.i18n.reload ma TQ 0GX  
      Whether the localization messages should automatically be reloaded 4 ))ZBq?  
      是否国际化信息自动加载 A*^aBWFR  
@S9^~W3G3  
struts.locale ur\<NApT;  
      The default locale for the Struts application }ff+RGxLIG  
      默认的国际化地区信息 A1g.ww:  
Nk2n&(~$  
struts.mapper.class [] cF*en  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _3%eIyk4T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 uHeKttR-  
SFJ"(ey$  
struts.multipart.maxSize lV".-:u_  
      The maximize size of a multipart request (file upload) _59f.FsVR  
      multipart请求信息的最大尺寸(文件上传用) zCji]:  
[|&#A;{F#  
struts.multipart.parser G9_7jX*  
      The org.apache.struts2.dispatcher.multipart. /Ixv{H)H  
      MultiPartRequest parser implementation for a multipart request (file upload) f*o+g:]3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r:3h 2J[_  
\:-"?  
/L{V3}[j  
struts.multipart.saveDir 7D&O5Z=%+  
      The directory to use for storing uploaded files FRhHp(0}5  
      设置存储上传文件的目录夹 t03X/%H  
{'cm;V+  
struts.objectFactory &8\6%C  
      The com.opensymphony.xwork2.ObjectFactory implementation class g286 P_a`*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q?y-s  
InA=ty]"_U  
struts.objectFactory.spring.autoWire |W*#N8I P  
      Whether Spring should autoWire or not zt;aB>jz#  
      是否自动绑定Spring mR O@ZY;5  
*Za'^Z2  
struts.objectFactory.spring.useClassCache 7y4jk  
      Whether Spring should use its class cache or not (1e,9!?  
      是否spring应该使用自身的cache T].Xx`  
YJGP8  
struts.objectTypeDeterminer otA'+4\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G4rd<V0[D  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m`BE{%  
|BBo  
struts.serve.static.browserCache S-5O$EnD  
If static content served by the Struts filter should set browser caching header properties or not (T!#7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mor[AJ  
LEuDDJ -  
struts.serve.static  < v1.+  
      Whether the Struts filter should serve static content or not ~jJF&*)  
      是否struts过滤器应该提供静态内容 / %1-tGh  
*b7evU *1  
struts.tag.altSyntax % oJH 6F  
      Whether to use the alterative syntax for the tags or not K;7ea47m N  
      是否可以用替代的语法替代tags {X 5G  
@>*r2=#14  
struts.ui.templateDir `y>BbJqy  
      The directory containing UI templates /Z~5bb(  
      UI templates的目录夹 MzMVs3w|  
9zl-C*9vj  
struts.ui.theme MbxJ3"@  
      The default UI template theme Q[Gs%/>  
      默认的UI template主题 (QTQxZ  
"[ieOFI  
struts.url.http.port M1=eS@  
      The HTTP port used by Struts URLs W2 {4s 1  
      设置http端口 .On3ZN  
h<G7ocu!  
struts.url.https.port C<#_1@^:8e  
      The HTTPS port used by Struts URLs yMEI^,0"  
      设置https端口 !t[;~`d9  
,]tEh:QC  
struts.url.includeParams !5 ?<QKOe  
      The default includeParams method to generate Struts URLs 3N ?"s1U  
      在url中产生 默认的includeParams RR2M+vQ  
JmC2buO  
dTWcn7C  
struts.velocity.configfile ]?T,J+S  
      The Velocity configuration file path RdB,;Um9f  
      velocity配置文件路径 (%'`t(<  
%GP`H/H(  
struts.velocity.contexts N)/7j7c~;  
      List of Velocity context names 7+Er}y>  
      velocity的context列表 LJA uTg  
FqZD'Uu7  
XMzQ8|]  
struts.velocity.manager.classname P{HR='2  
      org.apache.struts2.views.velocity.VelocityManager implementation class Wcbm,O4u  
      org.apache.struts2.views.velocity.VelocityManager接口名 Wr@q+Whq  
,#bT  
struts.velocity.toolboxlocation ^fV-m&F)K*  
      The location of the Velocity toolbox 85q!FpuH  
      velocity工具盒的位置 `_sKR,LhB  
struts.xslt.nocache XqGa]/;}  
      Whether or not XSLT templates should not be cached I+QM":2  
      是否XSLT模版应该被缓存 #r,!-;^'p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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