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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )cf p(16  
RI7qsm6RN  
struts.action.extension r! cNc  
      The URL extension to use to determine if the request is meant for a Struts action vy>];!Cu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 30wYc &H  
o;HdW  
struts.configuration h'z+8X_t  
      The org.apache.struts2.config.Configuration implementation class OLhWkN,qA  
        org.apache.struts2.config.Configuration接口名 T<w*dX7F0K  
cN0~;!{i  
struts.configuration.files 1_p[*h  
      A list of configuration files automatically loaded by Struts :..E:HdYO  
      struts自动加载的一个配置文件列表 )m$1al  
/1s9;'I  
struts.configuration.xml.reload 3Y.d&Nz  
      Whether to reload the XML configuration or not 3 LZL!^ 5N  
      是否加载xml配置(true,false) [M,27  
)eIz{Mdp=  
struts.continuations.package eWqVh[  
      The package containing actions that use Rife continuations 0jl:Yzo&\  
      含有actions的完整连续的package名称 N?Z+zN&P  
U~JG1#z6  
struts.custom.i18n.resources %FXIlH5  
      Location of additional localization properties files to load 2 `q^Q  
      加载附加的国际化属性文件(不包含.properties后缀) 7N-CtQnv  
Lrm tPnL  
struts.custom.properties dT*f-W  
      Location of additional configuration properties files to load _ d(Ks9  
      加载附加的配置文件的位置 v ](G?L9b  
|TNiKy  
`"^@[1  
struts.devMode =PeW$q+  
      Whether Struts is in development mode or not x0TnS #  
      是否为struts开发模式 *IjdN,wox  
VdjU2d  
struts.dispatcher.parametersWorkaround Cz$H k;3\6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jSOa   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]e#,\})Br  
\6nQ-S_  
struts.enable.DynamicMethodInvocation wnZ*k(  
      Allows one to disable dynamic method invocation from the URL Z]1z*dv  
        允许动态方法调用 A1=$kzw{UH  
sk%:Sp  
struts.freemarker.manager.classname !$ J)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wAj(v6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y;%R/OyWY  
ajcPt]f  
struts.i18n.encoding OmoplJ+  
      The encoding to use for localization messages pE YrmC  
      国际化信息内码 lL(}dbT~N  
80R= r  
struts.i18n.reload +lXdRc`6  
      Whether the localization messages should automatically be reloaded qAuUe=w%p  
      是否国际化信息自动加载 =_H*fhXS  
ux/[d6To  
struts.locale 7kWZMi  
      The default locale for the Struts application ;{F;e)${M  
      默认的国际化地区信息 o#KPrW`XJ/  
4,R\3`b  
struts.mapper.class ?L ~=Z\H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class D; 35@gtj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \e5,`  
JVIcNK)  
struts.multipart.maxSize (0+GLI8  
      The maximize size of a multipart request (file upload) OA8b_k~  
      multipart请求信息的最大尺寸(文件上传用) F~uA-g  
SjNwT[.nr7  
struts.multipart.parser G+ \~rl  
      The org.apache.struts2.dispatcher.multipart. 7p"~:1hU  
      MultiPartRequest parser implementation for a multipart request (file upload) >x_:=%Wr+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  +lf@O&w  
ko7-%+0|]  
j)lM:vXR  
struts.multipart.saveDir MlcoOi!  
      The directory to use for storing uploaded files @Tm0T7C  
      设置存储上传文件的目录夹 EssUyF-jwU  
Z:o' +oh  
struts.objectFactory v'2OHb#  
      The com.opensymphony.xwork2.ObjectFactory implementation class Kw5+4R(5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ah&plaVzC  
"351s3ff  
struts.objectFactory.spring.autoWire ]a Ma*fF  
      Whether Spring should autoWire or not N%M>,wT  
      是否自动绑定Spring BzG!Rg|J  
fAA@ziKg  
struts.objectFactory.spring.useClassCache ss M9t  
      Whether Spring should use its class cache or not 3\U,Kg  
      是否spring应该使用自身的cache ?U.&7yY  
e^l+ #^fR  
struts.objectTypeDeterminer N4GIb 6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class oT5rX ,8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JXa%TpI: E  
N6 }i>";_;  
struts.serve.static.browserCache h}VYA\+<B  
If static content served by the Struts filter should set browser caching header properties or not jJ{ w -$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 iTBhLg,  
` a<|CcUGU  
struts.serve.static @0@'6J04  
      Whether the Struts filter should serve static content or not W2o8Fu   
      是否struts过滤器应该提供静态内容 f+W[]KK*PW  
PTV`=vtj  
struts.tag.altSyntax 7_d#XKz@  
      Whether to use the alterative syntax for the tags or not ;hJ/t/7  
      是否可以用替代的语法替代tags #lVl?F+~  
T;pn -  
struts.ui.templateDir snk{u/0Xm  
      The directory containing UI templates '/"M02a  
      UI templates的目录夹 7!QXh;u  
~>-;(YU"t  
struts.ui.theme 0R!}}*Ee>q  
      The default UI template theme gu%'M:Xe  
      默认的UI template主题 AZ Lt'9UD  
V/[,1W[B  
struts.url.http.port Jtk.v49Ad>  
      The HTTP port used by Struts URLs f`";Q/rG  
      设置http端口 +`vZg^_c`  
qZ]VS/5A  
struts.url.https.port (j8,n<o  
      The HTTPS port used by Struts URLs Q8/0Cb/  
      设置https端口 D@vvy6>~s  
';L^mxh  
struts.url.includeParams LyPBFo[?  
      The default includeParams method to generate Struts URLs ?Dp^dR  
      在url中产生 默认的includeParams s$y#Ufz  
/v ;Kb|e  
a0W\?  
struts.velocity.configfile )cmLo0`$  
      The Velocity configuration file path kp>Z/kt  
      velocity配置文件路径 Q1&dB{L  
B+H9c~3$  
struts.velocity.contexts r`"#c7)  
      List of Velocity context names > mDubP  
      velocity的context列表 s/&]gj "  
&^D@(m7>{K  
I!0 +RP(  
struts.velocity.manager.classname GpQF * x  
      org.apache.struts2.views.velocity.VelocityManager implementation class %_=R&m'n`  
      org.apache.struts2.views.velocity.VelocityManager接口名 U=#ylQ   
o 0 #]EMr  
struts.velocity.toolboxlocation U$JIF/MO_  
      The location of the Velocity toolbox -$|X\#R  
      velocity工具盒的位置 R3!vS+5rR  
struts.xslt.nocache X|B;>q  
      Whether or not XSLT templates should not be cached Y/I6.K3  
      是否XSLT模版应该被缓存 aZCT|M1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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