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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +M/1,&  
{'e%Hx  
struts.action.extension T_=iJ: Q  
      The URL extension to use to determine if the request is meant for a Struts action ? j8S.d~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *%,{<C,Y  
|A0)-sVZ  
struts.configuration a][QY1E@?  
      The org.apache.struts2.config.Configuration implementation class '|JBA.s|  
        org.apache.struts2.config.Configuration接口名 1{pU:/_W  
#y:,owo3I  
struts.configuration.files m_pqU(sP  
      A list of configuration files automatically loaded by Struts -IF3'VG  
      struts自动加载的一个配置文件列表 nnol)|C{5Y  
dqu+-43I|  
struts.configuration.xml.reload * c1)x  
      Whether to reload the XML configuration or not Y!C8@B$MR3  
      是否加载xml配置(true,false) 4>I >y@^  
^w(~gQ6|mP  
struts.continuations.package okv`+VeA  
      The package containing actions that use Rife continuations (Sd8S`xO  
      含有actions的完整连续的package名称 4' MmT'  
-xk.wWpV  
struts.custom.i18n.resources |1[3RnG S  
      Location of additional localization properties files to load UBZ37P  
      加载附加的国际化属性文件(不包含.properties后缀) g{d(4=FM  
|*5803h  
struts.custom.properties G &LOjd 2  
      Location of additional configuration properties files to load S pqbr@j  
      加载附加的配置文件的位置   iE8  
f}C$!Lhs  
ccPTJ/%$  
struts.devMode 2@~hELkk/E  
      Whether Struts is in development mode or not `\vqDWh8-  
      是否为struts开发模式 *fj5$T-Z  
vdt":  
struts.dispatcher.parametersWorkaround bB->7.GXu  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7yM"G$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |2t1m 6\j  
D{)K00mm  
struts.enable.DynamicMethodInvocation X{YY)}^  
      Allows one to disable dynamic method invocation from the URL a?dUJt  
        允许动态方法调用 ]QbT%0  
fC7rs5  
struts.freemarker.manager.classname $t{;- DpNB  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :fx^{N!T  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >L_nu.x  
*\!>22*  
struts.i18n.encoding RcG 1J7#i  
      The encoding to use for localization messages xxS>O%  
      国际化信息内码 }#Gq*^w  
EpsjaOmAF  
struts.i18n.reload ,^K}_z\9f  
      Whether the localization messages should automatically be reloaded )A1u uW (  
      是否国际化信息自动加载 ??u*qO:p  
Wp2$L-T&$  
struts.locale L)qDtXd4  
      The default locale for the Struts application $]`rWSYtv`  
      默认的国际化地区信息 R|u2ga ~  
HZJ)q`1E  
struts.mapper.class %UXmWXF4$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C^^AN~ZD  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r\."=l  
}gR!]Cs)^  
struts.multipart.maxSize 618k-  
      The maximize size of a multipart request (file upload) #q mv(VB4  
      multipart请求信息的最大尺寸(文件上传用) rY,zZR+@  
u"s@eN  
struts.multipart.parser L#6!W  
      The org.apache.struts2.dispatcher.multipart. V=cJdF  
      MultiPartRequest parser implementation for a multipart request (file upload) o0}kRL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) qvs&*lBY  
KKcajN  
089 <B& <  
struts.multipart.saveDir #M5pQ&yZy  
      The directory to use for storing uploaded files =v:}{~M^$  
      设置存储上传文件的目录夹 F>lM[Lu#  
\WPy9kRU  
struts.objectFactory !+V."*]l  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6'[gd  
      com.opensymphony.xwork2.ObjectFactory接口(spring) IDK~ (t  
N eC]MW  
struts.objectFactory.spring.autoWire y)K!l :X  
      Whether Spring should autoWire or not \`oP\|Z  
      是否自动绑定Spring 3'z L,WW  
8mM`v  
struts.objectFactory.spring.useClassCache n3" @E<rW  
      Whether Spring should use its class cache or not uGU-MC *  
      是否spring应该使用自身的cache [R(dCq>  
VoC|z Rd_  
struts.objectTypeDeterminer #DA,*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U9Gg#M4tY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &ev#C%Nu  
CsX@u#  
struts.serve.static.browserCache @ QfbIP9  
If static content served by the Struts filter should set browser caching header properties or not #9rCF 3P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #B6$ r/%  
8'-E>+L   
struts.serve.static ql I1<Jx  
      Whether the Struts filter should serve static content or not pqDlg  
      是否struts过滤器应该提供静态内容 f7?u`"C  
[5;_XMj%  
struts.tag.altSyntax Pah*,  
      Whether to use the alterative syntax for the tags or not /:ju/ ~R}  
      是否可以用替代的语法替代tags qS/ 'Kyp_  
4Dw| I${O  
struts.ui.templateDir orZwm9#].  
      The directory containing UI templates 08_<G`r  
      UI templates的目录夹 X- P%^mK  
R@ MXwP  
struts.ui.theme 'byao03  
      The default UI template theme *]>~lO1  
      默认的UI template主题 :4x&B^,53  
MZ%S3'  
struts.url.http.port %4x,^ K]  
      The HTTP port used by Struts URLs Ij?Qs{V  
      设置http端口 d;g]OeF  
S9E<)L  
struts.url.https.port p>1Klh:8.'  
      The HTTPS port used by Struts URLs xMA2S*%ca  
      设置https端口 nn8uFISb  
gg&Dej2{  
struts.url.includeParams IN=l|Q$8f  
      The default includeParams method to generate Struts URLs "Z#MR`;&29  
      在url中产生 默认的includeParams }+fBJ$  
,T8fo\a4  
)(h<vo)-zX  
struts.velocity.configfile H)pB{W/  
      The Velocity configuration file path V>"N VRY  
      velocity配置文件路径 d(q2gd@  
asJt 6C  
struts.velocity.contexts }w5`Oig[  
      List of Velocity context names yHs'E4V`$  
      velocity的context列表 GiKmB-HO  
fiQ/ &]|5  
F-<c.0;6  
struts.velocity.manager.classname vpP8'f.  
      org.apache.struts2.views.velocity.VelocityManager implementation class B&sa|'0U  
      org.apache.struts2.views.velocity.VelocityManager接口名 9=9R"X>L  
LDbo=w  
struts.velocity.toolboxlocation -c p)aH)  
      The location of the Velocity toolbox oR}'I  
      velocity工具盒的位置 vFK!LeF%  
struts.xslt.nocache ]//D d/L6  
      Whether or not XSLT templates should not be cached y<^hM6S?Z  
      是否XSLT模版应该被缓存 Wl{wY,u  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五