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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wkn r^A  
\(nb >K  
struts.action.extension q(i^sE[y  
      The URL extension to use to determine if the request is meant for a Struts action P9Gjsu #  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &B^zu+J  
yj^LX2x"  
struts.configuration -xJ_5  
      The org.apache.struts2.config.Configuration implementation class KtT.WHr(m  
        org.apache.struts2.config.Configuration接口名 <Rs#y:  
}~?B>vZS  
struts.configuration.files u,zA^%   
      A list of configuration files automatically loaded by Struts x>>#<hOz[  
      struts自动加载的一个配置文件列表 B!`Dj,_  
P87!+pB(  
struts.configuration.xml.reload h>'9-j6B  
      Whether to reload the XML configuration or not |WopsV %  
      是否加载xml配置(true,false) pjC2jlwm*  
b7 pD#v  
struts.continuations.package X5@S LkJ-`  
      The package containing actions that use Rife continuations >-2eZ(n)"  
      含有actions的完整连续的package名称 [79 eq=  
(,5oqU9s@  
struts.custom.i18n.resources O'6zV"<P  
      Location of additional localization properties files to load =!axQ[)A  
      加载附加的国际化属性文件(不包含.properties后缀) thoAEG80  
")/TbT Vu  
struts.custom.properties hX-([o  
      Location of additional configuration properties files to load vv2N;/;I  
      加载附加的配置文件的位置 y_^w|  
_RLx;Tn)L  
HF9\SVR B  
struts.devMode U Hej5-B  
      Whether Struts is in development mode or not y Iab3/#`  
      是否为struts开发模式 9uXuV$.  
U>q&p}z0 H  
struts.dispatcher.parametersWorkaround AN!MFsk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [DW}z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3)F9:Tzw1  
Cm~h\+"  
struts.enable.DynamicMethodInvocation \9U4V>p  
      Allows one to disable dynamic method invocation from the URL b#**`Y  
        允许动态方法调用 ?4X8l@fR  
;(a\F  
struts.freemarker.manager.classname ;j#$d@VG"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f8ap+][  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2?",2x09  
oYYns%r}{  
struts.i18n.encoding _xg4;W6M=  
      The encoding to use for localization messages =j)y.x(  
      国际化信息内码 @S/PB[%S  
q|E0Y   
struts.i18n.reload  R^%uEP  
      Whether the localization messages should automatically be reloaded *cjH]MQ0Ak  
      是否国际化信息自动加载 e ~X<+3<  
5^Gv!XW  
struts.locale OH.Re6Rr  
      The default locale for the Struts application Bg^k~NX%  
      默认的国际化地区信息 z*Y4t?+  
kmJ {(y)w  
struts.mapper.class PGT*4r21  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @W\y#5"B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #n=b*.  
kzA%.bP|  
struts.multipart.maxSize OL,3Jh% x  
      The maximize size of a multipart request (file upload) DzZ)a E  
      multipart请求信息的最大尺寸(文件上传用) tEz6B}  
P;&rh U^[  
struts.multipart.parser <Tq&Va_w  
      The org.apache.struts2.dispatcher.multipart. 0nkon3H  
      MultiPartRequest parser implementation for a multipart request (file upload) -rU~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2gn*B$a  
n-h2SQl!  
Nhh2P4gH  
struts.multipart.saveDir 4dDDi,)U  
      The directory to use for storing uploaded files !B=Oc!e=K  
      设置存储上传文件的目录夹 ;WQ@dC  
"J0,SFu:  
struts.objectFactory ; Q-f6)+&  
      The com.opensymphony.xwork2.ObjectFactory implementation class fIrl?X']  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aBPaC=g{HO  
yOn +Y  
struts.objectFactory.spring.autoWire  `O-LM e  
      Whether Spring should autoWire or not F{1;~Yg%  
      是否自动绑定Spring  P]bq9!{1  
V\ ud4  
struts.objectFactory.spring.useClassCache O[p;IG`  
      Whether Spring should use its class cache or not Evz;eobW/  
      是否spring应该使用自身的cache JHY0 J &4s  
E$z)$`"1  
struts.objectTypeDeterminer 0> pOP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B,sv! p+q5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5xZ*U  
u$%>/cv  
struts.serve.static.browserCache FzOr#(^  
If static content served by the Struts filter should set browser caching header properties or not cD-.thHO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <1(:W[M  
j@c fR  
struts.serve.static M@a?j<7P,m  
      Whether the Struts filter should serve static content or not zu<8%  
      是否struts过滤器应该提供静态内容 1Aq*|JSk(  
)7mX]@  
struts.tag.altSyntax y(pHt  
      Whether to use the alterative syntax for the tags or not Ol>"'  
      是否可以用替代的语法替代tags ?^z!yD\  
o E+s8Q  
struts.ui.templateDir 2 }QD>  
      The directory containing UI templates 0y$aGAUm  
      UI templates的目录夹 sPCp20x:y8  
9`J!]WQ1[  
struts.ui.theme 8ALvP}H  
      The default UI template theme -e=p*7']  
      默认的UI template主题 LGN,8v<W(  
/K mzi9j+  
struts.url.http.port (wmMHo|  
      The HTTP port used by Struts URLs X\SZ Q[gN  
      设置http端口 !GkwbHr+p  
xCH,d:n=  
struts.url.https.port L[zg2y  
      The HTTPS port used by Struts URLs eSZS`(#!(  
      设置https端口 B;'Dh<J1  
cH>rS\|Y  
struts.url.includeParams :uZfdu  
      The default includeParams method to generate Struts URLs fH.:#O:  
      在url中产生 默认的includeParams %K^l]tWa@  
\Nc/W!r*9  
-GkNA"2M[  
struts.velocity.configfile %?^T^P  
      The Velocity configuration file path $|v_ pjUu]  
      velocity配置文件路径 W4yNET%l,  
|]a =He;  
struts.velocity.contexts @Taj++ua  
      List of Velocity context names & z;;Bx0s  
      velocity的context列表 [@ ]f@Wd  
_A*5BAB:h(  
jB]tq2i  
struts.velocity.manager.classname %H:uE*WZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class `BKo`@  
      org.apache.struts2.views.velocity.VelocityManager接口名 [GeJn\C_?  
}$W4aG*[  
struts.velocity.toolboxlocation .I{b]6  
      The location of the Velocity toolbox ?45kN=%*s  
      velocity工具盒的位置 ScrEtN  
struts.xslt.nocache ! /Z{uy  
      Whether or not XSLT templates should not be cached = GirUW D  
      是否XSLT模版应该被缓存 I__|+%oC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八