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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 nV?e(}D  
$4]"g}_  
struts.action.extension -'::$ {  
      The URL extension to use to determine if the request is meant for a Struts action )Xd2qbi  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F5/,H:K\  
YBY!!qjPx  
struts.configuration .k:Uj-&  
      The org.apache.struts2.config.Configuration implementation class #6qLu  
        org.apache.struts2.config.Configuration接口名 sBWLgJz?C  
N^By#Z  
struts.configuration.files "%{J$o  
      A list of configuration files automatically loaded by Struts #wZBWTj.  
      struts自动加载的一个配置文件列表 J l9w/T  
p+|(lrYC  
struts.configuration.xml.reload jR o4+8  
      Whether to reload the XML configuration or not xouy|Nn'  
      是否加载xml配置(true,false) <LOas$  
 9/R<,  
struts.continuations.package }TAHVcX*p  
      The package containing actions that use Rife continuations naWW i]9  
      含有actions的完整连续的package名称 zrCQEQq  
gAViwy9{  
struts.custom.i18n.resources zu|=1C#5h  
      Location of additional localization properties files to load / ,#&Htk  
      加载附加的国际化属性文件(不包含.properties后缀) :TN^}RML  
{,b:f  
struts.custom.properties ;l2pdP4jf  
      Location of additional configuration properties files to load pbb6?R,  
      加载附加的配置文件的位置 F5;x>;r  
<ooRpn  
*[[TDduh&  
struts.devMode <)$b=z  
      Whether Struts is in development mode or not 7"Iagrgw  
      是否为struts开发模式 ]{'lV~fc  
E7UYJ)6]  
struts.dispatcher.parametersWorkaround Qg4g(0E@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @+ U++  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :6X?EbXhK  
L BP|  
struts.enable.DynamicMethodInvocation (3M7RpsL@  
      Allows one to disable dynamic method invocation from the URL /J0ctJ2k  
        允许动态方法调用 Fl&Z}&5p  
^\zf8kPti  
struts.freemarker.manager.classname Um\_G@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A/{0J\pA  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9U~sRj=D  
DU1\K  
struts.i18n.encoding Gu@Znh-D  
      The encoding to use for localization messages bdkxCt  
      国际化信息内码 1PjqXgN5p  
Blnc y  
struts.i18n.reload d]w%zo,yr  
      Whether the localization messages should automatically be reloaded }?XNA.Wz  
      是否国际化信息自动加载 ,7|Wf %X  
.q9wyVi7GI  
struts.locale ~Y'j8W  
      The default locale for the Struts application YR}By;Bq  
      默认的国际化地区信息 5WG:m'$$  
9V( esveq  
struts.mapper.class ?br4 wl  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [u}2xsSx  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m kHcGB!~  
3Mt Alc0xp  
struts.multipart.maxSize x$Tf IFy  
      The maximize size of a multipart request (file upload) W05>\Rl  
      multipart请求信息的最大尺寸(文件上传用) &[|P/gj#>  
5 ]v]^Y'?  
struts.multipart.parser ;m cu(J  
      The org.apache.struts2.dispatcher.multipart. h`b[c.%  
      MultiPartRequest parser implementation for a multipart request (file upload) *]RCfHo\=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a #4 'X*  
Seb J}P1x  
N_),'2  
struts.multipart.saveDir *oU-V#   
      The directory to use for storing uploaded files Y]>Qu f.!  
      设置存储上传文件的目录夹 <tp#KZE  
"/}cV5=Z  
struts.objectFactory @O%d2bgEWV  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;IYH5sG{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) KK4"H]!.  
WYNO6Xb#:  
struts.objectFactory.spring.autoWire f:|O);nM  
      Whether Spring should autoWire or not hXx.  
      是否自动绑定Spring {r2fIj~V  
KL\]1YX  
struts.objectFactory.spring.useClassCache a#G]5T Z  
      Whether Spring should use its class cache or not Ps_q\R  
      是否spring应该使用自身的cache S|?Ht61k  
&b7i> ()  
struts.objectTypeDeterminer +Jv*u8T'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *.ZU" 5e  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aR~Od Ys  
Oe[qfsdW  
struts.serve.static.browserCache jJDY l([  
If static content served by the Struts filter should set browser caching header properties or not .&Ok53]b  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xRU ~h Q  
4%L-3Ij  
struts.serve.static ^HasT4M+x  
      Whether the Struts filter should serve static content or not l`A4)8Y@  
      是否struts过滤器应该提供静态内容 ZT'Sw%U:  
X0"f>.Lg  
struts.tag.altSyntax Lc:DJA  
      Whether to use the alterative syntax for the tags or not 9x40  
      是否可以用替代的语法替代tags c@1q8,  
@ dF]X  
struts.ui.templateDir }th^l*g  
      The directory containing UI templates }475c{  
      UI templates的目录夹 [M{EO)  
3!V$fl0  
struts.ui.theme p/f!\  
      The default UI template theme b-XC\  
      默认的UI template主题 >&3ATH;&(  
OK^0,0kS3  
struts.url.http.port bb^$]lT'  
      The HTTP port used by Struts URLs P.;S6i n  
      设置http端口 e;/C}sK:  
IAJYD/Y&?  
struts.url.https.port |rbl sL2?Z  
      The HTTPS port used by Struts URLs ax)j$  
      设置https端口 +#d}3^_]  
6b8@6;&LI  
struts.url.includeParams 2!4.L&Ki  
      The default includeParams method to generate Struts URLs '#b7Z?83C  
      在url中产生 默认的includeParams _7M!b 9oA  
ToB^/ n[  
5@{+V!o,  
struts.velocity.configfile ]O;Hlty(g  
      The Velocity configuration file path 8{GRrwQ>  
      velocity配置文件路径 23;e/Qr  
BOQeP/>  
struts.velocity.contexts _2,eS[wP  
      List of Velocity context names Hw"UJP  
      velocity的context列表 H~P"uYKIZ  
pM i w9}  
C,!}WB@VME  
struts.velocity.manager.classname E(&GZ QE  
      org.apache.struts2.views.velocity.VelocityManager implementation class M5Twulz/w  
      org.apache.struts2.views.velocity.VelocityManager接口名 'C9H6)Zq)  
(3=(g  
struts.velocity.toolboxlocation iWN-X (  
      The location of the Velocity toolbox u8wZ2j4S  
      velocity工具盒的位置 XFg.Z+ #  
struts.xslt.nocache 0kD8wj%  
      Whether or not XSLT templates should not be cached Yv`8{_8L  
      是否XSLT模版应该被缓存 $qx&\@O  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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