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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .8|wc  
:lB`K>)iB}  
struts.action.extension M/p9 I gp  
      The URL extension to use to determine if the request is meant for a Struts action GB|>eZLv<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tVAo o-%  
&<e18L 7a  
struts.configuration L8h3kT  
      The org.apache.struts2.config.Configuration implementation class uMw6b=/U  
        org.apache.struts2.config.Configuration接口名 Q&]|W Xv  
w/*G!o- <  
struts.configuration.files toPbFU'  
      A list of configuration files automatically loaded by Struts 7?whxi Qs  
      struts自动加载的一个配置文件列表 -4Hb]#*2  
Q0R05*  
struts.configuration.xml.reload =l43RawAmu  
      Whether to reload the XML configuration or not W9%v#;2  
      是否加载xml配置(true,false) A,_O=hA2I  
; R+>}6  
struts.continuations.package T-a>k.}y  
      The package containing actions that use Rife continuations GfELL `yz  
      含有actions的完整连续的package名称 =6dAF"b)  
ck{S  
struts.custom.i18n.resources }?,?2U,8:  
      Location of additional localization properties files to load Q^f{H.  
      加载附加的国际化属性文件(不包含.properties后缀) 4C3_ gm  
N=\ zx^w,  
struts.custom.properties Q<V(#)*  
      Location of additional configuration properties files to load i4|R0>b  
      加载附加的配置文件的位置 @bA5uY!  
Q[#}Oh6$  
k 3m_L-  
struts.devMode 'd$RNqe  
      Whether Struts is in development mode or not S3Y.+. 0U  
      是否为struts开发模式 GmR3 a  
e El)wZ,A  
struts.dispatcher.parametersWorkaround $,~Ily7w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Np+PUu>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $$m0mK  
P5?VrZy  
struts.enable.DynamicMethodInvocation > mO*.'Gm  
      Allows one to disable dynamic method invocation from the URL pRun5 )7  
        允许动态方法调用 Qa_V  
g:fvg!_v  
struts.freemarker.manager.classname R#hy2kA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PN93.G(W  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vQ*[tp#qU  
0fewMS*  
struts.i18n.encoding FJZ'P;3  
      The encoding to use for localization messages |;US)B8}*Z  
      国际化信息内码 Dq<la+VlO  
Csuasi3]1d  
struts.i18n.reload vT Eq T  
      Whether the localization messages should automatically be reloaded 4 -tC=>>wc  
      是否国际化信息自动加载 S&}7XjY  
{d[Nc,AMb  
struts.locale g}0K@z3  
      The default locale for the Struts application eY :"\c3  
      默认的国际化地区信息 =T9h7c R  
j<~Wp$\i7>  
struts.mapper.class 3FR(gr$X  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class SQ,-45@W  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -kk7y  
G~1;_'  
struts.multipart.maxSize !-OZ/^l|O`  
      The maximize size of a multipart request (file upload) lq:q0>vyI  
      multipart请求信息的最大尺寸(文件上传用) jM$bWtq2  
qt@/  
struts.multipart.parser yo#r^iAr  
      The org.apache.struts2.dispatcher.multipart. ] x)>q  
      MultiPartRequest parser implementation for a multipart request (file upload) lV^#[%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ndLEIqOY  
 ,RR{Y-  
A6=Z2i0w>X  
struts.multipart.saveDir |,,#DSe  
      The directory to use for storing uploaded files gttsxOgktH  
      设置存储上传文件的目录夹 h,Hr0^?  
:o!Kz`J  
struts.objectFactory X0 |U?Ib?  
      The com.opensymphony.xwork2.ObjectFactory implementation class /#Pm'i>B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u"qu!EY2  
"j_iq"J  
struts.objectFactory.spring.autoWire "a[;{s{{.  
      Whether Spring should autoWire or not qIuo8o}  
      是否自动绑定Spring ,<L4tp+y0  
r[!~~yu/o  
struts.objectFactory.spring.useClassCache 16/  V5  
      Whether Spring should use its class cache or not 06&;GW!-  
      是否spring应该使用自身的cache \]<R`YMV  
h&j2mv(  
struts.objectTypeDeterminer DD=X{{;D\"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ( 3B1X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Em&3g  
5Hu[*  
struts.serve.static.browserCache anW['!T9{s  
If static content served by the Struts filter should set browser caching header properties or not ~Yd[&vpQ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /FN:yCf  
vE )N6Ss  
struts.serve.static 3q/Us0jr  
      Whether the Struts filter should serve static content or not l{7}3Am6  
      是否struts过滤器应该提供静态内容 hn2:@^=f  
{nmu(E P  
struts.tag.altSyntax G{: B'08  
      Whether to use the alterative syntax for the tags or not $Xwk8<  
      是否可以用替代的语法替代tags _\d|`3RM  
@FIL4sb  
struts.ui.templateDir =Oy&f:s  
      The directory containing UI templates ?Vg~7Eu0  
      UI templates的目录夹 fSbLkd 9  
j:cu;6|  
struts.ui.theme  t/t6o&  
      The default UI template theme #|E#Rkw!  
      默认的UI template主题 neu+h6#H  
A>gZl)c  
struts.url.http.port S Q:H2vvD  
      The HTTP port used by Struts URLs :0y-n.-{  
      设置http端口 ouCh2Y/_  
=Lkn   
struts.url.https.port MPUyu(-%{  
      The HTTPS port used by Struts URLs enPtW  
      设置https端口 !LH;K  
^4`x:6m  
struts.url.includeParams p'LLzc##  
      The default includeParams method to generate Struts URLs g sm%4>sc  
      在url中产生 默认的includeParams R8[VD iM6E  
0 8L;u7u  
tkV[^OeU>  
struts.velocity.configfile #D_Ti%.^}  
      The Velocity configuration file path T2rwK2  
      velocity配置文件路径 liYsUmjZ=  
Vw w 211  
struts.velocity.contexts Kq")|9=d  
      List of Velocity context names sP^:*B0  
      velocity的context列表 Jy:*GW6  
%6(\Ki6I  
=k<b* 8  
struts.velocity.manager.classname O;4S<N  
      org.apache.struts2.views.velocity.VelocityManager implementation class k+{~#@  
      org.apache.struts2.views.velocity.VelocityManager接口名 0z \KI?kd  
&5K3AL  
struts.velocity.toolboxlocation Y&bYaq  
      The location of the Velocity toolbox !PoyM[Z"f  
      velocity工具盒的位置 =T3{!\tH  
struts.xslt.nocache (QIU3EN  
      Whether or not XSLT templates should not be cached 4OM ]8I!  
      是否XSLT模版应该被缓存 1 0zM8<bl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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