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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 R6!t2gdKe@  
w}+jfO9  
struts.action.extension t~e.LxN  
      The URL extension to use to determine if the request is meant for a Struts action [(]uin+9Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2: fSn&*/>  
(T,ST3{*k  
struts.configuration IU&n!5d$)|  
      The org.apache.struts2.config.Configuration implementation class (.Sj"6+  
        org.apache.struts2.config.Configuration接口名 .7{,u1N'  
k: D<Q  
struts.configuration.files po!0j+r3  
      A list of configuration files automatically loaded by Struts L\!Pa+Iod  
      struts自动加载的一个配置文件列表 *r=6bpi  
<.#i3!  
struts.configuration.xml.reload [i\K#O +f  
      Whether to reload the XML configuration or not 2wikk]Z  
      是否加载xml配置(true,false) K-sJnQ23'  
A+>+XA'  
struts.continuations.package pLNv\M+  
      The package containing actions that use Rife continuations FK>8(M/  
      含有actions的完整连续的package名称 pf[bOjtR  
aR+vY1d"  
struts.custom.i18n.resources uPt({H  
      Location of additional localization properties files to load tK1P7pbC8r  
      加载附加的国际化属性文件(不包含.properties后缀) j%0D:jOY]  
YDO#Q= q%  
struts.custom.properties 3 (jI  
      Location of additional configuration properties files to load cJGU~\  
      加载附加的配置文件的位置 4; y*y tY*  
A(ql}cr  
@}qMI   
struts.devMode rM Un ~  
      Whether Struts is in development mode or not y@e/G3  
      是否为struts开发模式 w_PnEJa9  
^_n(>$ EK  
struts.dispatcher.parametersWorkaround "cj6i{x,~w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Dy mf  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }mz@oEB#vF  
_I+QInD;)  
struts.enable.DynamicMethodInvocation J.35Ad1hM  
      Allows one to disable dynamic method invocation from the URL ?`lIsd  
        允许动态方法调用 xbsp[0I,  
yO.q{|kX  
struts.freemarker.manager.classname \9jEpE^Ju(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  ~p<w>C9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H+6+I53  
qYF150  
struts.i18n.encoding w`x4i fZ0q  
      The encoding to use for localization messages .7_<0&kW  
      国际化信息内码 3vepJ) D (  
SN' j?-  
struts.i18n.reload <>%2HRn<u  
      Whether the localization messages should automatically be reloaded M*<Ee]u  
      是否国际化信息自动加载 \W4|.[  
@vs+)aRa  
struts.locale tFn_{fCc>  
      The default locale for the Struts application lp+Uox  
      默认的国际化地区信息 ?)X 0l  
wF[%+n (*  
struts.mapper.class Qv~lH&jG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b"k1N9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4c0 =\v  
{Dupk0'(  
struts.multipart.maxSize Xw)W6H|  
      The maximize size of a multipart request (file upload) C;>!SRCp  
      multipart请求信息的最大尺寸(文件上传用)  h&}z@  
{_C2c{  
struts.multipart.parser T uG%oV}   
      The org.apache.struts2.dispatcher.multipart. > &tmdE  
      MultiPartRequest parser implementation for a multipart request (file upload) (.^KuXd  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \I"n~h^_  
bWv2*XC  
> >%m,F[  
struts.multipart.saveDir 'A2^K5`3  
      The directory to use for storing uploaded files YMXhzqj  
      设置存储上传文件的目录夹 3:qn\"Hj  
E&G]R!  
struts.objectFactory dT?mMTKn+  
      The com.opensymphony.xwork2.ObjectFactory implementation class m9Xauk$(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Tg/?v3M88  
 r"YOA@  
struts.objectFactory.spring.autoWire M 5c$  
      Whether Spring should autoWire or not xe`SnJgA  
      是否自动绑定Spring >W>3w  
@KJ~M3d0l  
struts.objectFactory.spring.useClassCache E/OfkL*\  
      Whether Spring should use its class cache or not U'*~Ju  
      是否spring应该使用自身的cache ?vh1 >1D  
%^pm~ck!  
struts.objectTypeDeterminer  |pgrR7G'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class vX30Ijm  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tqk^)c4FF(  
*E.uqu>I  
struts.serve.static.browserCache tw k  
If static content served by the Struts filter should set browser caching header properties or not b=+3/-d  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T$!Pkdh  
 9q[ d?1  
struts.serve.static 5LaF'>1yY  
      Whether the Struts filter should serve static content or not OJ?U."Lxm$  
      是否struts过滤器应该提供静态内容 N.'-9hv  
D4Z7j\3a  
struts.tag.altSyntax C :r3z50  
      Whether to use the alterative syntax for the tags or not ({$>o]<h  
      是否可以用替代的语法替代tags 9w!PA-) L  
zoibinm}Eg  
struts.ui.templateDir T0|hp7WM  
      The directory containing UI templates kltorlH  
      UI templates的目录夹 JO-FnoQK  
^i[bo3  
struts.ui.theme ,4mb05w;d  
      The default UI template theme F rd>+   
      默认的UI template主题 tf IUH'Ez>  
P1_6:USBM  
struts.url.http.port &[b(Lx|i  
      The HTTP port used by Struts URLs t9~Y ?  
      设置http端口 *)bh6b=7  
VW\xuP  
struts.url.https.port T3bYj|rh=  
      The HTTPS port used by Struts URLs I+eKuWB  
      设置https端口 pN=>q <]L  
<IBWA0A=8a  
struts.url.includeParams ROi_k4Fj  
      The default includeParams method to generate Struts URLs Uc<BLu;  
      在url中产生 默认的includeParams \ v2-}jU(  
@Ta0v:Y  
x~?|bnM#3  
struts.velocity.configfile j6GR-WQ]t  
      The Velocity configuration file path p}]K0F!  
      velocity配置文件路径 0u}+n+\g  
%6Y\4Fe  
struts.velocity.contexts eNDc220b  
      List of Velocity context names "N3!!3  
      velocity的context列表 X?7s  
O[+\` 63F=  
vyBx|TR  
struts.velocity.manager.classname eWOZC(I*z  
      org.apache.struts2.views.velocity.VelocityManager implementation class v8U&{pD,  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^XT;n  
woUt*G@  
struts.velocity.toolboxlocation |U`A So  
      The location of the Velocity toolbox ST1;i5   
      velocity工具盒的位置 >@tJ7m M  
struts.xslt.nocache &SMM<^P.  
      Whether or not XSLT templates should not be cached $Zn>W@\  
      是否XSLT模版应该被缓存 :Qu.CvYF  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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