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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vFv3'b$;G  
Um` !%  
struts.action.extension W 7sn+g \  
      The URL extension to use to determine if the request is meant for a Struts action F3M aqr y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 EGVM)ur  
?C-Towo=i  
struts.configuration ?-)I+EAnE  
      The org.apache.struts2.config.Configuration implementation class 7[pBUDA  
        org.apache.struts2.config.Configuration接口名 >ut" OL9J  
}baR5v  
struts.configuration.files <0P5 o|  
      A list of configuration files automatically loaded by Struts L gk   
      struts自动加载的一个配置文件列表 7gF"=7{-  
(Z] HX@"{J  
struts.configuration.xml.reload dT"hNHaf  
      Whether to reload the XML configuration or not 80OtO#1y  
      是否加载xml配置(true,false) I:98 $r$  
64>krmVIe  
struts.continuations.package Z<?OwAWz  
      The package containing actions that use Rife continuations V!_71x\-Q  
      含有actions的完整连续的package名称 =c.5874A`  
QS[L~97m2M  
struts.custom.i18n.resources zi9[)YqxPH  
      Location of additional localization properties files to load g4p  
      加载附加的国际化属性文件(不包含.properties后缀) ] }|byo  
6w8" >~)Z  
struts.custom.properties Yr.sm!xA  
      Location of additional configuration properties files to load ^TY ;Zp  
      加载附加的配置文件的位置 "Jq8?FoT  
B;>{0 s  
K<`osdp=&  
struts.devMode `F YjQ e"p  
      Whether Struts is in development mode or not Q4*?1`IsR  
      是否为struts开发模式 AlE8Xu9UB  
\NZIEu)5?  
struts.dispatcher.parametersWorkaround dO> VwP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '7^M{y/dU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B%CTOi  
CAq/K?:8  
struts.enable.DynamicMethodInvocation `.jzuX  
      Allows one to disable dynamic method invocation from the URL f5AjJYq1  
        允许动态方法调用 {%lXYMyu  
W]M)Q}:Y  
struts.freemarker.manager.classname Mips.Bx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v{zMO:3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _|[UI.a  
l/TjQ*  
struts.i18n.encoding Z;Ez"t&U  
      The encoding to use for localization messages [qUN4x5b  
      国际化信息内码 }D411228  
jp8@vdRg  
struts.i18n.reload -i0(2*<  
      Whether the localization messages should automatically be reloaded Un`^jw#_  
      是否国际化信息自动加载 J%09^5:-z  
X+L) -d  
struts.locale @AHm!9?o  
      The default locale for the Struts application c0B|F  
      默认的国际化地区信息 g8qgk:}  
A1'hlAGF  
struts.mapper.class u0aJu  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lO&3{dOYE  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]D[DU]K  
gb ^?l~SS  
struts.multipart.maxSize MFTk qbc  
      The maximize size of a multipart request (file upload) J;_}lF9d@  
      multipart请求信息的最大尺寸(文件上传用) X[`bMa7IB(  
b2aF 'y/  
struts.multipart.parser EVp,Q"V]  
      The org.apache.struts2.dispatcher.multipart. 3bk|<7tl  
      MultiPartRequest parser implementation for a multipart request (file upload) ) [0T16  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  ]#7zk9  
}bY; q-  
Tc8 un.  
struts.multipart.saveDir x~xa6  
      The directory to use for storing uploaded files eP*lI<NQ1  
      设置存储上传文件的目录夹 { eCC$&"  
Y<1QY?1sd  
struts.objectFactory <N\v)Ug`  
      The com.opensymphony.xwork2.ObjectFactory implementation class i1H\#;`$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _^Mx>hb4.  
 .ObZ\.I  
struts.objectFactory.spring.autoWire MZ Aij  
      Whether Spring should autoWire or not l @^3Exwt  
      是否自动绑定Spring "Rn 3lj0  
,0x y\u  
struts.objectFactory.spring.useClassCache JkW9D)6  
      Whether Spring should use its class cache or not a=M\MZK>  
      是否spring应该使用自身的cache 'F>'(XWWQ  
64hk2a8  
struts.objectTypeDeterminer n6s}ww)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n 1!?"m!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *OuStr \o  
)Ke*JJaq  
struts.serve.static.browserCache aLIBD'z  
If static content served by the Struts filter should set browser caching header properties or not 0a-:<zm  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 O'Js}  
W6On9 3sa  
struts.serve.static 9Xx's%U  
      Whether the Struts filter should serve static content or not Cvn#=6V3  
      是否struts过滤器应该提供静态内容 ()~pY!)1/  
7 S?4XyU/o  
struts.tag.altSyntax LpR3BP@At  
      Whether to use the alterative syntax for the tags or not `rf_7  
      是否可以用替代的语法替代tags +$oF]OO  
ByCnD  
struts.ui.templateDir p.LFVFPT  
      The directory containing UI templates v\p;SwI   
      UI templates的目录夹 \&H nKhI  
M5xCC!  
struts.ui.theme 2W4qBaG$=  
      The default UI template theme JV;OGh>  
      默认的UI template主题 jBegh9KHq  
fk_o@ G!0  
struts.url.http.port g!-,]  
      The HTTP port used by Struts URLs ,3@#F/c3i~  
      设置http端口 cJ54s}  
]c! ;L5  
struts.url.https.port G "73=8d  
      The HTTPS port used by Struts URLs =JJL[}a|  
      设置https端口 6`f2-f9%iq  
Fd0 %lnui  
struts.url.includeParams E9~Ghx.   
      The default includeParams method to generate Struts URLs i&VsW7  
      在url中产生 默认的includeParams O%FPS=  
<:?r:fQX  
3YVi" k?2  
struts.velocity.configfile j ?MAED  
      The Velocity configuration file path iezO9`  
      velocity配置文件路径 ?Wz8[u  
ih7/}   
struts.velocity.contexts \EVBwE,  
      List of Velocity context names U\Z?taXB  
      velocity的context列表 mvq&Pj 1}L  
D:erBMKv,  
xD6@Qk  
struts.velocity.manager.classname @HOBRRm`  
      org.apache.struts2.views.velocity.VelocityManager implementation class %Ah^E$&n2  
      org.apache.struts2.views.velocity.VelocityManager接口名 Yl3n2R /U  
rb|U;)C  
struts.velocity.toolboxlocation ^k9kJ+x^S2  
      The location of the Velocity toolbox /kfgx{jZ  
      velocity工具盒的位置 iRrl^\qn  
struts.xslt.nocache gSh+}r<7  
      Whether or not XSLT templates should not be cached o93`|yWl  
      是否XSLT模版应该被缓存 m@^1JlH  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八