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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \~#$$Q-qtU  
%di]1vQ  
struts.action.extension =h<LlI^v  
      The URL extension to use to determine if the request is meant for a Struts action =Bq3O58+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 RrPo89o  
+TQMA >@g<  
struts.configuration 0Ek + }`  
      The org.apache.struts2.config.Configuration implementation class /s\_"p  
        org.apache.struts2.config.Configuration接口名 +?!x;qS^  
m<DiYxK  
struts.configuration.files W_ =  
      A list of configuration files automatically loaded by Struts SX4"HadV>  
      struts自动加载的一个配置文件列表 P})Iwk|Z  
8<VO>WA>E  
struts.configuration.xml.reload L:(>ON  
      Whether to reload the XML configuration or not covr0N)  
      是否加载xml配置(true,false) W_##8[r(?  
EM.7,;|N  
struts.continuations.package X}/{90UD  
      The package containing actions that use Rife continuations r[TTG0|  
      含有actions的完整连续的package名称 7%E]E,f/#  
D_HE!fl  
struts.custom.i18n.resources P9\!JH!  
      Location of additional localization properties files to load .[ E"Kb}=  
      加载附加的国际化属性文件(不包含.properties后缀) &s|a\!>l  
|"Rl_+d7D  
struts.custom.properties b"t<B2N  
      Location of additional configuration properties files to load H)Zb_>iV  
      加载附加的配置文件的位置  n]N+  
;0R>Dg  
krw_1Mm  
struts.devMode c:R`]4o  
      Whether Struts is in development mode or not Dj~]]  
      是否为struts开发模式 Y~</vz+H  
y$]gmg  
struts.dispatcher.parametersWorkaround 4a&*?=GG  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic TaZw_)4c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XYOPX>$T  
qJQ!e  
struts.enable.DynamicMethodInvocation BDeX5/`U#  
      Allows one to disable dynamic method invocation from the URL #s!q(Rc  
        允许动态方法调用 q Z,7q  
3y9K'  
struts.freemarker.manager.classname 7q'_]$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >z`^Q[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 RO([R=.`/  
Z]1=nSv  
struts.i18n.encoding FuiEy=+  
      The encoding to use for localization messages L+c7.l.yT  
      国际化信息内码 cPemrNxydN  
;}tEU'&  
struts.i18n.reload v[aFSXGj)  
      Whether the localization messages should automatically be reloaded :DxCjv  
      是否国际化信息自动加载 hr+,-j  
x}`]9XQ  
struts.locale qm.30 2  
      The default locale for the Struts application +EmT+$>J  
      默认的国际化地区信息 nj (/It  
~4YLPMGKl  
struts.mapper.class {EoRY/]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #q06K2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 uA} w?;  
< O5r|  
struts.multipart.maxSize ,Tb~+z|-[  
      The maximize size of a multipart request (file upload) wX0m8" g@  
      multipart请求信息的最大尺寸(文件上传用) 5&y;r  
\,w*K'B_Y  
struts.multipart.parser U%Kv}s/(F{  
      The org.apache.struts2.dispatcher.multipart. D*>EWlZ   
      MultiPartRequest parser implementation for a multipart request (file upload) O:=%{/6&D  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n9;z=   
p m4g),s  
\WDL?(G<  
struts.multipart.saveDir Y1?"Ut  
      The directory to use for storing uploaded files /-#1ys#F=  
      设置存储上传文件的目录夹 )w{bT]   
GJUorj&  
struts.objectFactory !s>AVV$;0  
      The com.opensymphony.xwork2.ObjectFactory implementation class !T((d7;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4>uy+"8PO  
6N{V cfq  
struts.objectFactory.spring.autoWire P <$)v5f  
      Whether Spring should autoWire or not Wz}8O]#/.  
      是否自动绑定Spring ];-DqK'  
qfO=_z ES  
struts.objectFactory.spring.useClassCache ^1a/)Be{_  
      Whether Spring should use its class cache or not PY4RwN  
      是否spring应该使用自身的cache ad\?@>[ I  
2 kOFyD  
struts.objectTypeDeterminer -:hiLZJ7-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <K~> :4c  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P%#EH2J  
+h64idM{U  
struts.serve.static.browserCache 6,ZfC<)  
If static content served by the Struts filter should set browser caching header properties or not M~0A-*N  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }@6/sg  
2(-J9y|  
struts.serve.static ?P+n0S!  
      Whether the Struts filter should serve static content or not z/JoU je  
      是否struts过滤器应该提供静态内容 KuU]enC3  
%:v59:i}  
struts.tag.altSyntax @R5jUPUVV  
      Whether to use the alterative syntax for the tags or not kWF/SsE  
      是否可以用替代的语法替代tags *^BW[C/CTR  
6m.ChlO/  
struts.ui.templateDir "[PxLq5  
      The directory containing UI templates Zu4|1 W  
      UI templates的目录夹 L|y4u;-Q  
F{:ZHCm  
struts.ui.theme 0XrB+nt  
      The default UI template theme !)jw o=l}J  
      默认的UI template主题 iqzl(9o.D  
sr0.4VU1  
struts.url.http.port r/X4Hy0!lT  
      The HTTP port used by Struts URLs U4DQ+g(A  
      设置http端口 S$CO T)7  
z7[TgL7  
struts.url.https.port ]Qo.X~]  
      The HTTPS port used by Struts URLs |x2 +O  
      设置https端口 1'skCR|!<  
^i"C%8  
struts.url.includeParams HF9\SVR B  
      The default includeParams method to generate Struts URLs vybQ}dscn  
      在url中产生 默认的includeParams yIm@m[B;  
9uXuV$.  
U>q&p}z0 H  
struts.velocity.configfile AN!MFsk  
      The Velocity configuration file path [DW}z  
      velocity配置文件路径 3)F9:Tzw1  
}Pm>mQZ},  
struts.velocity.contexts -S7PnR6  
      List of Velocity context names y8Q96zi  
      velocity的context列表 =h?Q.vad  
49)A.Bh&!  
@%4MFc0`!  
struts.velocity.manager.classname jpL' y1@Ut  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?'xTSAn  
      org.apache.struts2.views.velocity.VelocityManager接口名 "6T: &>  
5ryzAB O\2  
struts.velocity.toolboxlocation ?;{fqeJz  
      The location of the Velocity toolbox p*11aaIbp~  
      velocity工具盒的位置 :ZP4(}  
struts.xslt.nocache l!n<.tQW  
      Whether or not XSLT templates should not be cached CaX0Jlk*  
      是否XSLT模版应该被缓存 Z_ Gb9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八