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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s5@BVD'}E  
%HG+ |)b  
struts.action.extension .:j{d}p}  
      The URL extension to use to determine if the request is meant for a Struts action q0+N#$g#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -NwG' U~  
` 7iA?;  
struts.configuration %Y ZC dS  
      The org.apache.struts2.config.Configuration implementation class fxcE1=a  
        org.apache.struts2.config.Configuration接口名 FvT4?7-  
NRx 7S 9W  
struts.configuration.files v)du]  
      A list of configuration files automatically loaded by Struts 9Ad%~qciY  
      struts自动加载的一个配置文件列表 1!1JT;gG^9  
|Gz<I  
struts.configuration.xml.reload ([q>.[WbH]  
      Whether to reload the XML configuration or not V4R s  
      是否加载xml配置(true,false) { }/  
#-B<u-  
struts.continuations.package %6cr4}Zm}  
      The package containing actions that use Rife continuations `C>h]H(  
      含有actions的完整连续的package名称 pqO3(2F9  
bDvGFSAH  
struts.custom.i18n.resources j>JBZ#g  
      Location of additional localization properties files to load d8: $ll  
      加载附加的国际化属性文件(不包含.properties后缀) }6[jJ`=gOx  
_|C3\x1c  
struts.custom.properties h/\v+xiF  
      Location of additional configuration properties files to load y05!-G:Y\  
      加载附加的配置文件的位置 3J"`mQ  
uN<=v&]q  
_ooHB>sH  
struts.devMode t[!,puZc#  
      Whether Struts is in development mode or not D/=05E%[81  
      是否为struts开发模式 @M\JzV4 A[  
js"Yh  
struts.dispatcher.parametersWorkaround J0IKI,X.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _W(xO |,M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R WY>`.su  
=r/K#hOR\J  
struts.enable.DynamicMethodInvocation 6E) T;R(@  
      Allows one to disable dynamic method invocation from the URL co\?SgE35  
        允许动态方法调用 TYuP EVEXZ  
ph6/+[:  
struts.freemarker.manager.classname qY-aR;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :/(G#ZaV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 IA0 vSF:  
esSj 3E  
struts.i18n.encoding mfZbo#KS#v  
      The encoding to use for localization messages |iJz[%  
      国际化信息内码 (Yj6 |`  
Q)aoc.f!v  
struts.i18n.reload :j+E]|d(~6  
      Whether the localization messages should automatically be reloaded vltE2mb  
      是否国际化信息自动加载 zk$h71<{.  
{($mLfC4  
struts.locale 2+pw%#fe  
      The default locale for the Struts application )b nGZ8h99  
      默认的国际化地区信息 \Nik`v*Pd  
qsp3G7\'=  
struts.mapper.class vh Oh3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E~q3o*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ds] .Ae  
Eo$l-Hl5=  
struts.multipart.maxSize T+XcEI6w  
      The maximize size of a multipart request (file upload) ?T73BL=  
      multipart请求信息的最大尺寸(文件上传用) eW.qMx#:od  
z&!o1uq  
struts.multipart.parser JL_(%._J  
      The org.apache.struts2.dispatcher.multipart. `GqF/?i  
      MultiPartRequest parser implementation for a multipart request (file upload) XzV>q~I3|E  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hRuiuGC  
!m\By%(  
6 p;Pf9 f  
struts.multipart.saveDir ;0_T\{H"nR  
      The directory to use for storing uploaded files BpA7 z/  
      设置存储上传文件的目录夹 TCzz]?G]la  
IJ.H/l}h  
struts.objectFactory `ci  P  
      The com.opensymphony.xwork2.ObjectFactory implementation class Onqapm0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <8%+-[(  
vH6(p(l  
struts.objectFactory.spring.autoWire >7a ENKOg:  
      Whether Spring should autoWire or not fPN/Mxu  
      是否自动绑定Spring r|Uz?  
J-=fy^S5  
struts.objectFactory.spring.useClassCache :D}?H@(69  
      Whether Spring should use its class cache or not mKM[[l&A  
      是否spring应该使用自身的cache 5Qg*j/z?  
n S$4[!0  
struts.objectTypeDeterminer TS=%iMa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zk70D_}L  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vyc<RjS_x  
d<?Zaehe\  
struts.serve.static.browserCache :OU(fz]  
If static content served by the Struts filter should set browser caching header properties or not T:Q+ Z }v+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "nJMS6HJ[  
uR")@Tc  
struts.serve.static sfG9R"  
      Whether the Struts filter should serve static content or not LU*mR{B  
      是否struts过滤器应该提供静态内容 vIi&D;  
QN;NuDHN  
struts.tag.altSyntax &VjPdu57  
      Whether to use the alterative syntax for the tags or not +Rd\*b  
      是否可以用替代的语法替代tags 3mE8tTA$R  
8fvKVS  
struts.ui.templateDir 2hntQ1[  
      The directory containing UI templates Mf"(P.GIS  
      UI templates的目录夹 =S^vIo)  
kdA]gpdw  
struts.ui.theme 1jSmTI d  
      The default UI template theme jz'%(6#'gW  
      默认的UI template主题 ]Gm&Kn >  
[PrJf"Z "  
struts.url.http.port -[=@'N P  
      The HTTP port used by Struts URLs LUx'Dm"  
      设置http端口 T}p|_)&y  
Rp zuSh  
struts.url.https.port 6EWCJ%_  
      The HTTPS port used by Struts URLs 9 [E/^  
      设置https端口 WFug-#;e  
V!e`P  
struts.url.includeParams DS|x*w'I  
      The default includeParams method to generate Struts URLs 7}=MVp] )S  
      在url中产生 默认的includeParams /$8& r  
UQ e1rf  
GYT0zMMf  
struts.velocity.configfile y#ON=8l  
      The Velocity configuration file path _n*gj-  
      velocity配置文件路径 '+|uv7|+v  
<+ <o X"I  
struts.velocity.contexts @ bvWqMa  
      List of Velocity context names {dl@ #T u  
      velocity的context列表 EA:_PBZ  
s0Y7`uD^  
 !vr A\d  
struts.velocity.manager.classname W70BRXe04D  
      org.apache.struts2.views.velocity.VelocityManager implementation class odeO(zuU  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~8Ef`zL  
@$ )C pg  
struts.velocity.toolboxlocation i[U=-4 J  
      The location of the Velocity toolbox cJ,`71xop,  
      velocity工具盒的位置 "g!/^A!!  
struts.xslt.nocache 9zehwl]~  
      Whether or not XSLT templates should not be cached kx0w?A8-  
      是否XSLT模版应该被缓存 /{ 8.Jcx$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八