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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M"V?fn'  
g!K(xh EO  
struts.action.extension Y]Xal   
      The URL extension to use to determine if the request is meant for a Struts action )9PQ j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 VvPTL8Z  
2} T" |56  
struts.configuration r?Z8_5Y  
      The org.apache.struts2.config.Configuration implementation class &]ImO RN  
        org.apache.struts2.config.Configuration接口名 IRcZyry  
3N<FG.6  
struts.configuration.files &1VC0"YJWy  
      A list of configuration files automatically loaded by Struts >Vg<J~[g  
      struts自动加载的一个配置文件列表 ^WVr@6  
_$F I>  
struts.configuration.xml.reload q'1rSK  
      Whether to reload the XML configuration or not EmH2 Dbw  
      是否加载xml配置(true,false) un..UU4  
W/&cnp\  
struts.continuations.package p'_* >%4~  
      The package containing actions that use Rife continuations .=K@M"5&  
      含有actions的完整连续的package名称 G8<,\mg+  
/r]IY.  
struts.custom.i18n.resources WAob"`8]  
      Location of additional localization properties files to load fc&4e:Ve  
      加载附加的国际化属性文件(不包含.properties后缀) g8B@M*JA  
lJ}lO,g  
struts.custom.properties ^TDHPBlG  
      Location of additional configuration properties files to load JA1(yt  
      加载附加的配置文件的位置 }b~ZpUL!  
=m1B1St2  
a|66[  
struts.devMode 9?]4s-~  
      Whether Struts is in development mode or not :PjHsNp;^  
      是否为struts开发模式 oU{m\r  
QDyL0l{C  
struts.dispatcher.parametersWorkaround Pirc49c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4m%_#J{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pYVQ-r%QF  
ku?i[Th  
struts.enable.DynamicMethodInvocation WzZb-F  
      Allows one to disable dynamic method invocation from the URL Z.rKV}yjY  
        允许动态方法调用 3VKArv-  
`F(KM '  
struts.freemarker.manager.classname 7zy6`O P  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bl:.D~@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +]Ydf^rF  
NbfV6$jo  
struts.i18n.encoding -4"E]f  
      The encoding to use for localization messages qM]eK\q 1  
      国际化信息内码 up`!r;5-  
{6A3?q  
struts.i18n.reload LUJKR6oT{>  
      Whether the localization messages should automatically be reloaded rr2|xL?+u  
      是否国际化信息自动加载 *qGxQ?/  
j@Z4(X L  
struts.locale $\{@wL  
      The default locale for the Struts application bf::bV?T  
      默认的国际化地区信息 P b2exS(  
p]IF=~b  
struts.mapper.class NtSa# $A  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )CEfG  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~x`OCii  
vMDV%E S1t  
struts.multipart.maxSize <+pwGKtD  
      The maximize size of a multipart request (file upload) l *.#g  
      multipart请求信息的最大尺寸(文件上传用) gHA"O@HgDI  
> STWt>s  
struts.multipart.parser @)|62Dv /  
      The org.apache.struts2.dispatcher.multipart. |%we@ E  
      MultiPartRequest parser implementation for a multipart request (file upload) r#3(;N{=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =K}5 fe  
IIs'm!"Y>  
WHMt$W}%  
struts.multipart.saveDir dz&8$(f,  
      The directory to use for storing uploaded files i5q VQo  
      设置存储上传文件的目录夹 wjQu3 ,Cj  
ojUBa/  
struts.objectFactory j:\MrYt0H  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9:IVSD&"Rf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GnkNoaU  
"\)j=MI8u+  
struts.objectFactory.spring.autoWire 8?h-H #h  
      Whether Spring should autoWire or not ytK h[Uo  
      是否自动绑定Spring U"af3c^2  
BUuNI_?M#5  
struts.objectFactory.spring.useClassCache iLNKC'  
      Whether Spring should use its class cache or not JZ]4?_l  
      是否spring应该使用自身的cache OT&J OTk\  
hK&jo(V  
struts.objectTypeDeterminer DHd9yP9-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C /\)-^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iE!\)7y  
G!uoKiL  
struts.serve.static.browserCache g,r'].Jg  
If static content served by the Struts filter should set browser caching header properties or not #jv~FR`4v^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w?Cqe N  
AK} wSXF  
struts.serve.static I!|_C~I`2  
      Whether the Struts filter should serve static content or not 1c8 J yp  
      是否struts过滤器应该提供静态内容 V^As@P8,'(  
5O%Q*\(  
struts.tag.altSyntax ND WpV  
      Whether to use the alterative syntax for the tags or not nM>oG'm[n  
      是否可以用替代的语法替代tags :]v%6i.  
pMe'fC~*  
struts.ui.templateDir MOKg[ j  
      The directory containing UI templates 0V@u]  
      UI templates的目录夹 c-(,%0G0  
pPuE-EDk  
struts.ui.theme N p$pz  
      The default UI template theme odD^xg"L  
      默认的UI template主题 kG^DHEne  
T;IaVMFG|d  
struts.url.http.port x$tx!%,)/S  
      The HTTP port used by Struts URLs FO&U{(Q  
      设置http端口 2Xys;Dwx  
k^:)|Z  
struts.url.https.port 8vOKm)[%  
      The HTTPS port used by Struts URLs o['HiX  
      设置https端口 aqSHo2]DX9  
^OnU;8IC  
struts.url.includeParams }K!}6?17T  
      The default includeParams method to generate Struts URLs p'M5]G  
      在url中产生 默认的includeParams [#.E=s+&  
N.vt5WP  
M,7A|?O  
struts.velocity.configfile dgh )Rfp3  
      The Velocity configuration file path y1GVno  
      velocity配置文件路径 TL-sxED,,D  
BqC!78Y/e  
struts.velocity.contexts w]J9Kv1)-  
      List of Velocity context names GsA/pXx  
      velocity的context列表 i<@6f'Kir  
nlOM4fJ(  
1JM EniB+9  
struts.velocity.manager.classname WwG78b-OA  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8D@H4O.  
      org.apache.struts2.views.velocity.VelocityManager接口名 }RowAGWL  
Soy!)c]  
struts.velocity.toolboxlocation =i O K($  
      The location of the Velocity toolbox '/trM%<  
      velocity工具盒的位置 B"rnSui  
struts.xslt.nocache .&:y+Oww~  
      Whether or not XSLT templates should not be cached >RZ]t[)y  
      是否XSLT模版应该被缓存 ?5_~Kn%2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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