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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 LN`Y`G|op  
<\oD4EE_  
struts.action.extension R})b%y`]  
      The URL extension to use to determine if the request is meant for a Struts action 3o`c`;H%p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zo:NE0 0  
lQ#='Jqfp  
struts.configuration !7Nz_d~n  
      The org.apache.struts2.config.Configuration implementation class W|\$}@>  
        org.apache.struts2.config.Configuration接口名 Ca ?d8  
FTWjIa/[  
struts.configuration.files Kon|TeC>d  
      A list of configuration files automatically loaded by Struts /&W~:F  
      struts自动加载的一个配置文件列表 |"YE_aYu  
\ {;3'<  
struts.configuration.xml.reload Q-Oj%w4e  
      Whether to reload the XML configuration or not [wn! <#~v  
      是否加载xml配置(true,false) C sCH :>  
mb*|$ysPx  
struts.continuations.package uMX\Y;N  
      The package containing actions that use Rife continuations 7' Gk ip  
      含有actions的完整连续的package名称 Y{9xF8#  
}70A>JBw  
struts.custom.i18n.resources tv%B=E!r  
      Location of additional localization properties files to load #3_ @aq*  
      加载附加的国际化属性文件(不包含.properties后缀) d[oHjWk  
f7:}t+d  
struts.custom.properties ;lf$)3%[  
      Location of additional configuration properties files to load lPw`KW  
      加载附加的配置文件的位置 Z6 E_Y?  
kY{;(b3Q  
KO[,C[;|j  
struts.devMode 2b&Fu\2Dmv  
      Whether Struts is in development mode or not HNd? '  
      是否为struts开发模式 ;e$YM;;d  
Yb4%W-5  
struts.dispatcher.parametersWorkaround xB5QM #w\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u,./,:O%=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #@J{ )  
$'3'[Nr(;t  
struts.enable.DynamicMethodInvocation v(p<88.!m  
      Allows one to disable dynamic method invocation from the URL A~H@0>1  
        允许动态方法调用 }!N/?A5  
p{AX"|QM"  
struts.freemarker.manager.classname e'r-o~1eN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !vq|*8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 '<xV]k|v  
%H4>k#b@$  
struts.i18n.encoding R p0^Gwa  
      The encoding to use for localization messages C(kL=WD   
      国际化信息内码 EkoT U#w5  
?X$*8;==6  
struts.i18n.reload [F 24xC+  
      Whether the localization messages should automatically be reloaded g0#w 4rGF)  
      是否国际化信息自动加载 i?f;C_w  
!V-(K_\t  
struts.locale >Q:h0b_$U  
      The default locale for the Struts application K9ek  
      默认的国际化地区信息 @a,} k<@E  
1NkJs&  
struts.mapper.class dUv(Pu(.#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o8~<t]Ejw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $E}N`B7  
\LM.>vJ  
struts.multipart.maxSize >L433qR  
      The maximize size of a multipart request (file upload) ~.CmiG.7  
      multipart请求信息的最大尺寸(文件上传用) N v6=[_D  
qWD(rq+9  
struts.multipart.parser O bc>f|l]  
      The org.apache.struts2.dispatcher.multipart. u}89v1._Jn  
      MultiPartRequest parser implementation for a multipart request (file upload) b-RuUfUn0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I8Y #l'z  
a3L-q>h  
3sp-0tUE  
struts.multipart.saveDir B_* Ayk  
      The directory to use for storing uploaded files D9!$H!T _  
      设置存储上传文件的目录夹 ?hYWxWW  
J3$@: S'  
struts.objectFactory tGF3Hw^mS  
      The com.opensymphony.xwork2.ObjectFactory implementation class tac\Ki?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6G{ Q@  
$e:bDZ(hjj  
struts.objectFactory.spring.autoWire #I\" 'n5M  
      Whether Spring should autoWire or not V3ExS1fNf  
      是否自动绑定Spring /!fJ`pu!  
zbjV>5  
struts.objectFactory.spring.useClassCache nH B  
      Whether Spring should use its class cache or not ?}#Iu-IA  
      是否spring应该使用自身的cache g}pD%  
%e:[[yq)G  
struts.objectTypeDeterminer 0~ o,^AW  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bnJ4Edy  
7&u$^c S(  
struts.serve.static.browserCache WEtPIHruyt  
If static content served by the Struts filter should set browser caching header properties or not #7@p  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 XSGBC:U)l  
@2;cv?i)  
struts.serve.static -d^'-s  
      Whether the Struts filter should serve static content or not N_/+B]r }T  
      是否struts过滤器应该提供静态内容 {nw.bKq 7  
=_CH$F!U  
struts.tag.altSyntax W}#n.c4+  
      Whether to use the alterative syntax for the tags or not wF3 MzN=%  
      是否可以用替代的语法替代tags r"|.`$:B  
C[5dhFZ  
struts.ui.templateDir ^PUB~P/  
      The directory containing UI templates OY2u,LF9H  
      UI templates的目录夹 ]^,!;do  
"C?H:8W  
struts.ui.theme @9R78Zra  
      The default UI template theme )S;3WnQ)  
      默认的UI template主题 txE+A/>i9  
:(@P *"j  
struts.url.http.port )_Z^oH ]<  
      The HTTP port used by Struts URLs ,T$ GOjt  
      设置http端口 3R-5&!i  
M6GiohI_"P  
struts.url.https.port Hg$7[um  
      The HTTPS port used by Struts URLs v7\rW{~Jd&  
      设置https端口 wD4[UU?  
2$v8{Y&  
struts.url.includeParams EWr7eH  
      The default includeParams method to generate Struts URLs  0T^ 0)c  
      在url中产生 默认的includeParams )?pnV":2Y  
UmY{2 nzY  
Ks<+@.DLTu  
struts.velocity.configfile k SgE_W)  
      The Velocity configuration file path lQEsa45  
      velocity配置文件路径 #jd.i  
`?b'.Z_J  
struts.velocity.contexts wJ7^)tTRF  
      List of Velocity context names ~@(C+3,  
      velocity的context列表 @C^wV  
J 5';Hb)  
\+=`o .2  
struts.velocity.manager.classname mxpj<^n}  
      org.apache.struts2.views.velocity.VelocityManager implementation class e\O-5hp7  
      org.apache.struts2.views.velocity.VelocityManager接口名 *+nw%gZG  
g> ~+M  
struts.velocity.toolboxlocation $/|vbe,  
      The location of the Velocity toolbox g>k?03;  
      velocity工具盒的位置 ]"~ x  
struts.xslt.nocache BMdZd5!p&  
      Whether or not XSLT templates should not be cached w)B ?j  
      是否XSLT模版应该被缓存 {&UA6 0~6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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