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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 m*,[1oeG&  
wA&)y>n-  
struts.action.extension Y\S^DJy  
      The URL extension to use to determine if the request is meant for a Struts action _qNLy/AY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 '0rwNEg  
-{mq\GvGn  
struts.configuration nit7|T@^  
      The org.apache.struts2.config.Configuration implementation class +>({pHZ<S  
        org.apache.struts2.config.Configuration接口名 |.W;vc<  
l[{}ZKZ  
struts.configuration.files z3LPR:&Z  
      A list of configuration files automatically loaded by Struts C^O^Jj5X%  
      struts自动加载的一个配置文件列表 K<(sqH  
bd;f@)X  
struts.configuration.xml.reload <OB~60h"  
      Whether to reload the XML configuration or not > PA,72e   
      是否加载xml配置(true,false) ?MB nnyo6  
sUMn (@r  
struts.continuations.package ^C T}i'  
      The package containing actions that use Rife continuations e:occT  
      含有actions的完整连续的package名称 &cE,9o%FZ  
a}hM}U!  
struts.custom.i18n.resources izo $0  
      Location of additional localization properties files to load jo#F&  
      加载附加的国际化属性文件(不包含.properties后缀) Uwa1)Lwn  
|/Z)?  
struts.custom.properties p8J"%Jq}  
      Location of additional configuration properties files to load (LPD  
      加载附加的配置文件的位置 S`.-D+.68  
F\72^,0  
IQv>{h}  
struts.devMode F'*4:WD7  
      Whether Struts is in development mode or not - mXr6R?  
      是否为struts开发模式 =1Jo-!{{  
VHNiTp  
struts.dispatcher.parametersWorkaround "V2$g  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C>ZeG Vq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L<`g}iw  
9x,+G['Zt  
struts.enable.DynamicMethodInvocation )5x?Qn(B  
      Allows one to disable dynamic method invocation from the URL KHiJOeLc  
        允许动态方法调用 OO>2oH  
zf u78  
struts.freemarker.manager.classname *?Y6qalSy  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5)6%D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +06j+I  
lNAHn<ht  
struts.i18n.encoding gu&oCT  
      The encoding to use for localization messages ij5YV3  
      国际化信息内码 KR0 x[#.*  
T667&@  
struts.i18n.reload L\DaZ(Y  
      Whether the localization messages should automatically be reloaded < Ifnf 6~  
      是否国际化信息自动加载 {*Pp^ r  
![%,pip2/&  
struts.locale KYN{iaj  
      The default locale for the Struts application }FVX5/.'  
      默认的国际化地区信息 g7i6Yj1  
ry"zec B  
struts.mapper.class (7,Awf5D~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P#PQ4uK \  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?Pc 3*.  
p7er04/}\  
struts.multipart.maxSize >j3N-;o@?  
      The maximize size of a multipart request (file upload) Bs}>#I  
      multipart请求信息的最大尺寸(文件上传用) ?Q2pD!L{  
RGmpkQEp  
struts.multipart.parser @Iu-F4YT  
      The org.apache.struts2.dispatcher.multipart. ?C3cPt"  
      MultiPartRequest parser implementation for a multipart request (file upload) <^{:K`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +6atbbe}   
W^f#xrq>  
=oJiNM5_u  
struts.multipart.saveDir X3yr6J[ ^  
      The directory to use for storing uploaded files oJ:J'$W(  
      设置存储上传文件的目录夹 = ;d<Ikj  
L4b4X  
struts.objectFactory (z7#KJ1+Aw  
      The com.opensymphony.xwork2.ObjectFactory implementation class Xg,BK0O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M='Kjc>e  
3FN? CN] O  
struts.objectFactory.spring.autoWire RSC-+c6 1  
      Whether Spring should autoWire or not _(foJRr  
      是否自动绑定Spring s=4.Ovd\  
/jD'o>  
struts.objectFactory.spring.useClassCache KG$2u:n  
      Whether Spring should use its class cache or not 9j`-fs@:  
      是否spring应该使用自身的cache |{T2|iJI  
}__+[-  
struts.objectTypeDeterminer A$cbH.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _L":Wux  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bSfQH4F  
HenJlo  
struts.serve.static.browserCache ~@lNBF  
If static content served by the Struts filter should set browser caching header properties or not F04Etf 2k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R8l9i2  
:F&WlU$L  
struts.serve.static )w-?|2-w5  
      Whether the Struts filter should serve static content or not 7}k8-:a%  
      是否struts过滤器应该提供静态内容 C#>C59  
tUQ)q  
struts.tag.altSyntax wG O)!u 4  
      Whether to use the alterative syntax for the tags or not c3##:"wr  
      是否可以用替代的语法替代tags .E&~]<  
kns]P<g  
struts.ui.templateDir |+;"^<T)l  
      The directory containing UI templates 2B7&Ll\>  
      UI templates的目录夹 8*wI^*Q  
e+wd>iiB  
struts.ui.theme tANG ]  
      The default UI template theme / <p HDY  
      默认的UI template主题 0N.*c  
_q 8m$4  
struts.url.http.port @^O ww(I  
      The HTTP port used by Struts URLs N"TD$NrK\  
      设置http端口 .FUE F)  
8{C3ijR  
struts.url.https.port Tx*m p+q  
      The HTTPS port used by Struts URLs #82B`y<<y/  
      设置https端口 hlRE\YO&8R  
DN+`Q{KS  
struts.url.includeParams Ju<D7  
      The default includeParams method to generate Struts URLs AN@Vos Cu  
      在url中产生 默认的includeParams jJ|;Nwm<[  
^;a[v^&9  
V~;YV]1Y  
struts.velocity.configfile S4w/ kml3  
      The Velocity configuration file path VZ8L9h<{"  
      velocity配置文件路径 ,P}c92;  
L6m'u6:1{  
struts.velocity.contexts Nu'rn*Y_  
      List of Velocity context names F r~xN!  
      velocity的context列表 e\<I:7%Rg  
~J|0G6H  
Gsb]e  
struts.velocity.manager.classname {8' 5  
      org.apache.struts2.views.velocity.VelocityManager implementation class LdOB[W  
      org.apache.struts2.views.velocity.VelocityManager接口名 6{M.S}.^  
iaB5t<t1r  
struts.velocity.toolboxlocation Z(L>~+%  
      The location of the Velocity toolbox t.cplJF&Ue  
      velocity工具盒的位置 _3hEYeh  
struts.xslt.nocache E O5Vg  
      Whether or not XSLT templates should not be cached gP3[=a"\  
      是否XSLT模版应该被缓存 )Ii=8etdv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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