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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 K g*Q  
"!P3R1;%  
struts.action.extension je-!4r,  
      The URL extension to use to determine if the request is meant for a Struts action y1D L,%j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B IEO,W|  
+480 l}  
struts.configuration ,pfG  
      The org.apache.struts2.config.Configuration implementation class %Xg4b6<9  
        org.apache.struts2.config.Configuration接口名 R{4^t97wH{  
#Pau\|e_  
struts.configuration.files uc{Ihw  
      A list of configuration files automatically loaded by Struts g/_5unI}u  
      struts自动加载的一个配置文件列表 ~At7 +F[  
2W(s(-hD  
struts.configuration.xml.reload I|!OY`ko  
      Whether to reload the XML configuration or not c ]-<vkpV  
      是否加载xml配置(true,false) \7eUw,~Q>  
N% B>M7-=  
struts.continuations.package wu6;.xTLl  
      The package containing actions that use Rife continuations 8rGgF]F  
      含有actions的完整连续的package名称 g-k|>-h  
nAato\mM  
struts.custom.i18n.resources j_[tu!~  
      Location of additional localization properties files to load +E+p"7  
      加载附加的国际化属性文件(不包含.properties后缀) z9Mfd#5?>P  
E~T-=ocKE  
struts.custom.properties sdrfsrNvB-  
      Location of additional configuration properties files to load ]cvwIc">  
      加载附加的配置文件的位置 0auYG><=  
FUzzB94a  
By,eETU]  
struts.devMode 8`{:MkXP  
      Whether Struts is in development mode or not aKDKmHd  
      是否为struts开发模式 ;1=1:S8  
xa*hi87L*  
struts.dispatcher.parametersWorkaround }&D WaO]J7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {WS;dX4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) uMv,zO5  
Dpac^ST  
struts.enable.DynamicMethodInvocation <dNOd0e  
      Allows one to disable dynamic method invocation from the URL 3`?7 <YJ  
        允许动态方法调用 T<>,lQs(a  
E=Bf1/c\  
struts.freemarker.manager.classname Oszj$C(jF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \l0[rcEf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =%O6:YM   
fbvL7* (  
struts.i18n.encoding /s?`&1v|r  
      The encoding to use for localization messages A\DCW  
      国际化信息内码 S@tLCqV4  
^ +\dz  
struts.i18n.reload  }v{LRRi  
      Whether the localization messages should automatically be reloaded hZ,_ 6mNg  
      是否国际化信息自动加载 `(;m?<%  
a-tmq]]E  
struts.locale |-ALklXr  
      The default locale for the Struts application Rv>-4@fMJ  
      默认的国际化地区信息 t}4, ]m s  
W@IQ^ }E  
struts.mapper.class ,qwuLBW  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Dy&i&5E.-l  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ATyEf5Id_  
lVa%$F{Pq  
struts.multipart.maxSize j;r-NCBnz  
      The maximize size of a multipart request (file upload) {Xy5pfW Q  
      multipart请求信息的最大尺寸(文件上传用) 4_lrg|X1  
>'$Mp<  
struts.multipart.parser Y@iS_lR  
      The org.apache.struts2.dispatcher.multipart. .Hm>i  
      MultiPartRequest parser implementation for a multipart request (file upload) >:!5*E5?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /N .b%M] !  
pki%vRY  
r5/0u(\LB  
struts.multipart.saveDir T>Z<]s  
      The directory to use for storing uploaded files 0mVNQxHI  
      设置存储上传文件的目录夹 \@zHON(  
gJ{)-\  
struts.objectFactory Fo_sgv8O<  
      The com.opensymphony.xwork2.ObjectFactory implementation class H?Wya.7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !< ";cw(q  
J;e2&gB  
struts.objectFactory.spring.autoWire C) s5D  
      Whether Spring should autoWire or not 0+ '&`Q!u  
      是否自动绑定Spring 5tk AFb4P  
=qIp2c}Rx  
struts.objectFactory.spring.useClassCache B$K=\6o  
      Whether Spring should use its class cache or not Q&;9 x?e  
      是否spring应该使用自身的cache ?V=ZIGj  
r u%y  
struts.objectTypeDeterminer EZGIf/ 3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *^4"5X@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 eByz-,{P  
e *C(q~PQ  
struts.serve.static.browserCache JQI: sj  
If static content served by the Struts filter should set browser caching header properties or not q;CiV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A)!*]o>U  
'<<t]kK[N  
struts.serve.static  c?-H>u  
      Whether the Struts filter should serve static content or not /SB;Von  
      是否struts过滤器应该提供静态内容 jr. "I+  
xCTML!H  
struts.tag.altSyntax BU_nh+dF  
      Whether to use the alterative syntax for the tags or not AT3Mlz~7#  
      是否可以用替代的语法替代tags _{KG 4+5\X  
ND;#7/$>  
struts.ui.templateDir dn3y\  
      The directory containing UI templates m(!FHPvN  
      UI templates的目录夹 Fxz"DZY6  
xp{tw$  
struts.ui.theme [q -h|m  
      The default UI template theme eym4=k ~  
      默认的UI template主题 " 8MF_Gu):  
7$=In K  
struts.url.http.port 0S~rgq|O  
      The HTTP port used by Struts URLs ?`ZU R& 20  
      设置http端口 =,8]nwgo  
HV|,}Wks6s  
struts.url.https.port r19 pZAc  
      The HTTPS port used by Struts URLs h]gp^?=  
      设置https端口 n>YKa)|W`  
NLqzi%s  
struts.url.includeParams a=2%4Wmz  
      The default includeParams method to generate Struts URLs PZ9I`P! C  
      在url中产生 默认的includeParams tsjrRMR  
cwg"c4V  
z:*|a+cy  
struts.velocity.configfile Z9|P'R(l  
      The Velocity configuration file path _DtV  
      velocity配置文件路径 bG#>uE J-  
5j(k:a+!H  
struts.velocity.contexts ~>|ziHx  
      List of Velocity context names 8Z~EwY*  
      velocity的context列表 iBa A9  
&8lZNv8;(p  
e"<OELA  
struts.velocity.manager.classname VPo".BvG6  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,z jv7$L  
      org.apache.struts2.views.velocity.VelocityManager接口名 ":ue-=&M  
MTn{d  
struts.velocity.toolboxlocation (<9u-HF#  
      The location of the Velocity toolbox 8A# ;WG  
      velocity工具盒的位置 !Vk^TFt`  
struts.xslt.nocache 7[)E>XRE  
      Whether or not XSLT templates should not be cached 4WB0Pt{  
      是否XSLT模版应该被缓存 [(lW^-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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