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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 & G4\2l9  
24*XL,  
struts.action.extension zKJ#`OhT  
      The URL extension to use to determine if the request is meant for a Struts action d#4**BM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )23H1  
IY\5@PVZ  
struts.configuration "7F?@D$e  
      The org.apache.struts2.config.Configuration implementation class cf20.F{<  
        org.apache.struts2.config.Configuration接口名 x*U)Y  
u0c1:Uv#~e  
struts.configuration.files _op}1   
      A list of configuration files automatically loaded by Struts .jE{3^  
      struts自动加载的一个配置文件列表 U$ElV]N  
k"zv~`i'  
struts.configuration.xml.reload )U:m:cr<  
      Whether to reload the XML configuration or not Yk Ki|k  
      是否加载xml配置(true,false) SsDmoEeB[  
c9 _ rmz8  
struts.continuations.package agDM~=#F  
      The package containing actions that use Rife continuations *H2r@)Y[~  
      含有actions的完整连续的package名称 @,7GaK\  
k)=s>&hl  
struts.custom.i18n.resources K;H&n1  
      Location of additional localization properties files to load f+)L#>Gl?  
      加载附加的国际化属性文件(不包含.properties后缀) C1n>M}b  
,j_i?Ff  
struts.custom.properties $ >eCqC3  
      Location of additional configuration properties files to load  {Gk1vcq  
      加载附加的配置文件的位置 ZG8DIV\D7  
D.u{~  
mL{6L?  
struts.devMode KBc1{adDx@  
      Whether Struts is in development mode or not )g%d:xI  
      是否为struts开发模式 `e&Suyf4B  
G}raA%  
struts.dispatcher.parametersWorkaround Z0", !6nS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R.1.)P[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,<P vovg_  
21l;\W  
struts.enable.DynamicMethodInvocation :J&oX <nF^  
      Allows one to disable dynamic method invocation from the URL z,p~z*4  
        允许动态方法调用 #f]SK[nR  
s-Tv8goNV  
struts.freemarker.manager.classname ={&j07,*a  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H40p86@M  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *P=VFP  
E4/Dr}4  
struts.i18n.encoding xOmi\VbM  
      The encoding to use for localization messages wJo}!{bN  
      国际化信息内码 ;'@9[N9  
~HsJUro  
struts.i18n.reload N5 6g+,w%)  
      Whether the localization messages should automatically be reloaded }(73Syl#  
      是否国际化信息自动加载 3;A)W18]  
SO'vp z{  
struts.locale N<VJ(20y  
      The default locale for the Struts application y??XIsF  
      默认的国际化地区信息 x g  
d/kv|$XW  
struts.mapper.class ndMA-`Ny,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dkTX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &n:.k}/P  
=-n}[Y}A  
struts.multipart.maxSize C33J5'(CA  
      The maximize size of a multipart request (file upload) uHzU-FZ|B  
      multipart请求信息的最大尺寸(文件上传用) GGs}i1m  
f r6 fj  
struts.multipart.parser ;[OH(!  
      The org.apache.struts2.dispatcher.multipart. &}B|"s[  
      MultiPartRequest parser implementation for a multipart request (file upload) [sj osV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4!no~ $b  
Q/0Tj]D  
7;wd(8  
struts.multipart.saveDir `|& O*`  
      The directory to use for storing uploaded files @lrztM  
      设置存储上传文件的目录夹 -x`@6  
:*9Wh  
struts.objectFactory ;iL#7NG-R  
      The com.opensymphony.xwork2.ObjectFactory implementation class X\qNG]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fywv  
Hf2_0wA3  
struts.objectFactory.spring.autoWire RMu~l@  
      Whether Spring should autoWire or not <R=Zs[9M1  
      是否自动绑定Spring >_T-u<E  
s9DYi~/,  
struts.objectFactory.spring.useClassCache {B*s{{[/'  
      Whether Spring should use its class cache or not R$[vm6T?  
      是否spring应该使用自身的cache >!1-lfa8  
vV-`jsq20H  
struts.objectTypeDeterminer w%jII{@,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A#iV=76_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]jp6k<KF  
1K50Z.o&@  
struts.serve.static.browserCache Y&Z.2>b  
If static content served by the Struts filter should set browser caching header properties or not GH$pKB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R8Fv{7]c  
#?- wm  
struts.serve.static Q sCheHP  
      Whether the Struts filter should serve static content or not B*Dz{a^.:  
      是否struts过滤器应该提供静态内容 $5%SNzzl  
;+ hH  
struts.tag.altSyntax jasy<IqT!{  
      Whether to use the alterative syntax for the tags or not K`fuf=  
      是否可以用替代的语法替代tags =$JET<(  
s R/F"  
struts.ui.templateDir ')<hON44EX  
      The directory containing UI templates '!~)?C<  
      UI templates的目录夹 7n<::k\lb  
r0% D58  
struts.ui.theme *#+An<iT ;  
      The default UI template theme z[qDkL  
      默认的UI template主题 |#R7wnE[k~  
$Ri; ^pZw[  
struts.url.http.port _ZSR.w}j/  
      The HTTP port used by Struts URLs wgGl[_)  
      设置http端口 Y\g3h M  
DT&@^$?  
struts.url.https.port 'c$+sp ?  
      The HTTPS port used by Struts URLs %YqEzlzF  
      设置https端口 p947w,1![  
N6i Q8P -  
struts.url.includeParams R%[ c;i  
      The default includeParams method to generate Struts URLs ,/|T-Ka  
      在url中产生 默认的includeParams m#\ dSl}  
{V CWn95Z  
ml }{|Yz  
struts.velocity.configfile [FR`Z=%  
      The Velocity configuration file path oE]QF.n#  
      velocity配置文件路径 AFE~ v\Gz  
d<P\&!R(  
struts.velocity.contexts hv>\gBe i  
      List of Velocity context names Qj3EXb  
      velocity的context列表 mxdr,Idx  
O)r4?<Q  
WOL:IZX%  
struts.velocity.manager.classname L$M9w  
      org.apache.struts2.views.velocity.VelocityManager implementation class =]0&i]z[.  
      org.apache.struts2.views.velocity.VelocityManager接口名 Se =`N  
,.FxIl ]  
struts.velocity.toolboxlocation t'k$&l}+  
      The location of the Velocity toolbox 3AN/ H  
      velocity工具盒的位置 I^$fMdT  
struts.xslt.nocache smo~7;  
      Whether or not XSLT templates should not be cached B \2 SH%\  
      是否XSLT模版应该被缓存 onxLyx|A  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五