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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7[)E>XRE  
1qA;/-Zr<o  
struts.action.extension M= (u]%\  
      The URL extension to use to determine if the request is meant for a Struts action ;V!D :5U  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 MQ2}EY*A  
upmx $H>  
struts.configuration &D<yX~  
      The org.apache.struts2.config.Configuration implementation class y9ZvV0  
        org.apache.struts2.config.Configuration接口名 F^:3?JA _  
t6c4+D'{].  
struts.configuration.files gbA_DZ  
      A list of configuration files automatically loaded by Struts l/5 hp.  
      struts自动加载的一个配置文件列表 oB7_O-3z  
J&_n9$  
struts.configuration.xml.reload ,P0) 6>  
      Whether to reload the XML configuration or not 8s@3hXD&  
      是否加载xml配置(true,false) >t+P(*u  
nw<uyaU-t  
struts.continuations.package [a(#1  
      The package containing actions that use Rife continuations ;uGv:$([g  
      含有actions的完整连续的package名称 YmG("z  
$`8wJf9@w  
struts.custom.i18n.resources {qVZNXDn  
      Location of additional localization properties files to load LS[]=Mk@1  
      加载附加的国际化属性文件(不包含.properties后缀) h(DTa  
QT}tvm@PMq  
struts.custom.properties <P<z N~i9j  
      Location of additional configuration properties files to load 5^Zg>I  
      加载附加的配置文件的位置 4xj4=C~i  
V7/Rby Q  
h";L  
struts.devMode 53 h0UL  
      Whether Struts is in development mode or not ca9X19NG  
      是否为struts开发模式 * T1_;4i  
{!`6zBsP  
struts.dispatcher.parametersWorkaround HzJz+ x:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lOp`m8_=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8@R|Km5h  
Fr-SvsNFB  
struts.enable.DynamicMethodInvocation 7tp36TE  
      Allows one to disable dynamic method invocation from the URL l[J8!u2Xp  
        允许动态方法调用 P+}h$ _x  
j~MI<I+l[  
struts.freemarker.manager.classname WIGi51yC.x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r JB}qYD  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9gIrt 6  
6]wIG$j  
struts.i18n.encoding eMzk3eOJ  
      The encoding to use for localization messages ar,7S&s H  
      国际化信息内码 \U_@S.  
eO1lnO|  
struts.i18n.reload {;oPLr+Z  
      Whether the localization messages should automatically be reloaded J}t%p(mb  
      是否国际化信息自动加载 :(%5:1W  
lTsjxw o  
struts.locale "@n%Z  
      The default locale for the Struts application dh\P4  
      默认的国际化地区信息 =(^3}x  
+7}]E1Uf  
struts.mapper.class j<$2hiI/?&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l,).p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 G~m<;  
2<3K3uz  
struts.multipart.maxSize !R$`+wZ62  
      The maximize size of a multipart request (file upload) \)e'`29;  
      multipart请求信息的最大尺寸(文件上传用) 6LhTBV  
v:#tWEbo-  
struts.multipart.parser [F7hu7zY8  
      The org.apache.struts2.dispatcher.multipart. KPki}'GO  
      MultiPartRequest parser implementation for a multipart request (file upload) -\MG}5?!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) FI.\%x  
Q b%J8juRf  
I^]nqK  
struts.multipart.saveDir Vvo 7C!$z  
      The directory to use for storing uploaded files 6\t@)=C,Q  
      设置存储上传文件的目录夹 dN6?c'iN?2  
~J]qP#C  
struts.objectFactory qP ,EBE  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7 8,n%=nG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) X3& Jb2c2  
^J{:x  
struts.objectFactory.spring.autoWire PY'2h4IL  
      Whether Spring should autoWire or not S jj6q`  
      是否自动绑定Spring @)}L~lb[)  
Y-9I3?ar  
struts.objectFactory.spring.useClassCache c@Is2 9t*  
      Whether Spring should use its class cache or not l-3~K-k<@  
      是否spring应该使用自身的cache TqQ[_RKg2  
Ort(AfW  
struts.objectTypeDeterminer p<%d2@lp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _0I@xQj-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !IR6 ,A\  
@VI@fN  
struts.serve.static.browserCache "M0z(N kH  
If static content served by the Struts filter should set browser caching header properties or not SrJE_~i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 QV8g#&z  
-g<oS9   
struts.serve.static n+p }\msH  
      Whether the Struts filter should serve static content or not &&%H%9  
      是否struts过滤器应该提供静态内容 9M ]_nPY  
VN.Je: Ju  
struts.tag.altSyntax =MWHJ'3-/  
      Whether to use the alterative syntax for the tags or not }B^tL$k  
      是否可以用替代的语法替代tags CGFDqCNr-  
@9:uqsL  
struts.ui.templateDir ]@TCk8d$0  
      The directory containing UI templates ]###w;  
      UI templates的目录夹 4e  
y>LBl]  
struts.ui.theme {h4E8.E  
      The default UI template theme tX[WH\(xI  
      默认的UI template主题 bd`P0f?  
9JwPSAo;  
struts.url.http.port H*6W q  
      The HTTP port used by Struts URLs R-14=|7a-  
      设置http端口 _dU\JD  
v^P O|Z  
struts.url.https.port NlXimq  
      The HTTPS port used by Struts URLs 1mJ Hued=6  
      设置https端口 sRfcF`7  
c",*h  
struts.url.includeParams }a/Cro.~4  
      The default includeParams method to generate Struts URLs @]0%L0u  
      在url中产生 默认的includeParams (% 9$!v{3  
0{mex4  
k=^xVQuI  
struts.velocity.configfile ?cZlN !  
      The Velocity configuration file path 1x^GWtRp  
      velocity配置文件路径 !m$jk2<  
,,TnIouy  
struts.velocity.contexts qP;OaM CX  
      List of Velocity context names 4K74=r),i  
      velocity的context列表 *ui</+  
6B-16  
t,' <gI  
struts.velocity.manager.classname =V5%+/r+f  
      org.apache.struts2.views.velocity.VelocityManager implementation class =M-p/uB]  
      org.apache.struts2.views.velocity.VelocityManager接口名 wY}@'pzX  
s^SJY{  
struts.velocity.toolboxlocation ]^]wP]R_  
      The location of the Velocity toolbox =H~j,K  
      velocity工具盒的位置 nFn5v'g  
struts.xslt.nocache N g,j#  
      Whether or not XSLT templates should not be cached V.Mry`9-  
      是否XSLT模版应该被缓存 5 dg(e3T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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