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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 RmOyGSO  
T~J? AKx  
struts.action.extension 5pJ*1pfeo  
      The URL extension to use to determine if the request is meant for a Struts action FkB{ SC J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V@Wcb$mgk  
|sc Uo~  
struts.configuration Dp^/gL=  
      The org.apache.struts2.config.Configuration implementation class <&U!N'CE  
        org.apache.struts2.config.Configuration接口名 JJ5C}`(  
0JXqhc9'  
struts.configuration.files )ooWQ-%P  
      A list of configuration files automatically loaded by Struts &Rp"rMeW  
      struts自动加载的一个配置文件列表 O&'/J8  
o.^y1mH'  
struts.configuration.xml.reload #T\  
      Whether to reload the XML configuration or not HmV /> 9  
      是否加载xml配置(true,false) 16$y`~c-z  
;&,.TC?l  
struts.continuations.package ]US[5)EL-  
      The package containing actions that use Rife continuations J&6:d  
      含有actions的完整连续的package名称 U8O(;+  
)#`H."Z  
struts.custom.i18n.resources 9#rt:&xo0  
      Location of additional localization properties files to load Vk7=7%xW  
      加载附加的国际化属性文件(不包含.properties后缀) \FifzKA  
"l,UOv c  
struts.custom.properties T=\!2gt  
      Location of additional configuration properties files to load EXpSh}  
      加载附加的配置文件的位置 Coa-8j*R7  
i&Kz*,pt  
&1Fply7(Ay  
struts.devMode Y\?j0X;  
      Whether Struts is in development mode or not _e'Y3:  
      是否为struts开发模式 , Oli  
]rW8y%yD  
struts.dispatcher.parametersWorkaround 2p:r`THvS5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;nB2o-%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #@Y/{[s|@  
#WufZ18#  
struts.enable.DynamicMethodInvocation _;e\:7<m  
      Allows one to disable dynamic method invocation from the URL RJc%, ]:  
        允许动态方法调用 t(?<#KUB-  
(5`T+pAsV  
struts.freemarker.manager.classname WC-_+9)2&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -M61 Mw1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 GLh]G(  
,Y!zORv<7  
struts.i18n.encoding |}S1o0v{(a  
      The encoding to use for localization messages :vQM>9l7  
      国际化信息内码 QN G&  
xP@/9SM  
struts.i18n.reload FH\CK  
      Whether the localization messages should automatically be reloaded Hg(5S,O2  
      是否国际化信息自动加载 lrys3  
QIAR  
struts.locale ./w{L"E  
      The default locale for the Struts application iBvOJs  
      默认的国际化地区信息 K{L.ZH>7  
\P?A7vuhLs  
struts.mapper.class w0Ij'=:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L[C*@ uK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !_^g8^>2(  
<t}?$1  
struts.multipart.maxSize XO wiHW{  
      The maximize size of a multipart request (file upload) h4 vm{ho  
      multipart请求信息的最大尺寸(文件上传用) u~'OcO  
tWk{1IL  
struts.multipart.parser d=F-L  
      The org.apache.struts2.dispatcher.multipart. n,nisS  
      MultiPartRequest parser implementation for a multipart request (file upload) ")M;+<c"l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4vqNule  
j>!sN`dBj  
p\S8oHWe  
struts.multipart.saveDir SE!L :  
      The directory to use for storing uploaded files 2 sSwDF  
      设置存储上传文件的目录夹 xNgt[fLpS  
o}~3JBn T  
struts.objectFactory M 9"-WIG@h  
      The com.opensymphony.xwork2.ObjectFactory implementation class O5;-Om  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Uu5C%9^s  
@HEPc95  
struts.objectFactory.spring.autoWire YMu)  
      Whether Spring should autoWire or not ]u=Ca#!'  
      是否自动绑定Spring }ywi"k4>  
M=%!IT  
struts.objectFactory.spring.useClassCache !}q."%%J_%  
      Whether Spring should use its class cache or not 'v`_Ii|-  
      是否spring应该使用自身的cache vlQ0gsXK  
Zh,]J `  
struts.objectTypeDeterminer Wz{%"o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J @B4 R&V  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ) `I=oB  
m!Af LSlwm  
struts.serve.static.browserCache -+P7:4/  
If static content served by the Struts filter should set browser caching header properties or not |nm2Uy/0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R 3G@ G  
 UTX](:TC  
struts.serve.static BWEv1' v  
      Whether the Struts filter should serve static content or not :#SNpn=@  
      是否struts过滤器应该提供静态内容 oCA(FQ6  
%uuH^A  
struts.tag.altSyntax V{$Sfmey  
      Whether to use the alterative syntax for the tags or not 4NUN Ov`[{  
      是否可以用替代的语法替代tags [<Jp#&u6sb  
NL-_#N$  
struts.ui.templateDir Y)OBTX  
      The directory containing UI templates -<d(  
      UI templates的目录夹 pK"&QPv  
Bb_Q_<DTs  
struts.ui.theme 1p=&WM  
      The default UI template theme 0BFz7  
      默认的UI template主题 +"Ub/[J{G1  
p z @km  
struts.url.http.port InN{^uN  
      The HTTP port used by Struts URLs cIZ[[(Db  
      设置http端口 #%WCL'6B  
o}W;Co  
struts.url.https.port U/5$%0)  
      The HTTPS port used by Struts URLs @Wz%KdXA  
      设置https端口 req-Q |  
yDuq6`R*  
struts.url.includeParams CPGL!:  
      The default includeParams method to generate Struts URLs p2^)2v  
      在url中产生 默认的includeParams 9.]kOs_  
OF-WUa4t  
sL8>GtVo  
struts.velocity.configfile HSC6;~U  
      The Velocity configuration file path }{t3SGsJ  
      velocity配置文件路径 TR?Bvy2s:g  
Kk>DYHZ6y  
struts.velocity.contexts Z:TFOnJ  
      List of Velocity context names EO"6Dq(  
      velocity的context列表 |C4o zl=O?  
u9,=po=+7f  
L^x5&CCwk  
struts.velocity.manager.classname \eT/%$  
      org.apache.struts2.views.velocity.VelocityManager implementation class )tCx5 9  
      org.apache.struts2.views.velocity.VelocityManager接口名 P]- #wz=S  
df yrn%^Ia  
struts.velocity.toolboxlocation I[%M!_+  
      The location of the Velocity toolbox {F/q{c~]  
      velocity工具盒的位置 ~7dF/Nn5  
struts.xslt.nocache {H'X)n$  
      Whether or not XSLT templates should not be cached \D ^7Z97  
      是否XSLT模版应该被缓存 =~ '^;D  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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