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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 d+5KHfkK  
MjO.s+I  
struts.action.extension p8%/T>hK  
      The URL extension to use to determine if the request is meant for a Struts action g;bfi{8s_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H.8f-c-4we  
JN{.-k4Ha  
struts.configuration g$++\%k&  
      The org.apache.struts2.config.Configuration implementation class i+ I%]  
        org.apache.struts2.config.Configuration接口名 LuM[*_8  
r ek89.p  
struts.configuration.files E^I|%F  
      A list of configuration files automatically loaded by Struts G0Q8"]  
      struts自动加载的一个配置文件列表 ]Zfg~K(  
REyk,s2"6  
struts.configuration.xml.reload @O;gKFx  
      Whether to reload the XML configuration or not {X=gjQ9  
      是否加载xml配置(true,false) T.1*32cX  
gFJ. p  
struts.continuations.package aY^_+&&G  
      The package containing actions that use Rife continuations *c\:ogd  
      含有actions的完整连续的package名称 L*2YAIG  
cx]&ae*  
struts.custom.i18n.resources jQAK ?7':=  
      Location of additional localization properties files to load __}j {Buk  
      加载附加的国际化属性文件(不包含.properties后缀) I8|7~jRB  
>680}\S  
struts.custom.properties S7tc  
      Location of additional configuration properties files to load VEolyPcsg&  
      加载附加的配置文件的位置 JEF2fro:Z  
K._tCB:  
.%{3#\  
struts.devMode k79" xyXX  
      Whether Struts is in development mode or not ogt<vng  
      是否为struts开发模式 R %QgOz3`  
P4{8pO]B  
struts.dispatcher.parametersWorkaround l]BIFZ~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]!yuD/4A  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6 ufF34tA  
aP}kl[W  
struts.enable.DynamicMethodInvocation f'hrS}e  
      Allows one to disable dynamic method invocation from the URL }i32  
        允许动态方法调用 Pt/dH+r`%  
5ua`5Hb;  
struts.freemarker.manager.classname (#Vkk]-p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :iWW2fY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PgNg1  
Ae&470  
struts.i18n.encoding l_K=7\N  
      The encoding to use for localization messages ;\P\0pI50  
      国际化信息内码 $wL zaZL|  
>t-9yO1XQq  
struts.i18n.reload {> T r22S  
      Whether the localization messages should automatically be reloaded }O_kbPNw  
      是否国际化信息自动加载 K{eq'F5M  
7Eo a~  
struts.locale +,`Cv_O  
      The default locale for the Struts application ]8)nIT^EP  
      默认的国际化地区信息 3)jFv7LAU  
Te%2(w,B  
struts.mapper.class :'*;>P .(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ))y`q@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Hw 7   
h n:  
struts.multipart.maxSize -O.q$D=as  
      The maximize size of a multipart request (file upload) |7$F r[2d  
      multipart请求信息的最大尺寸(文件上传用) *]<M%q!<6  
muMb pF  
struts.multipart.parser ZWZRG-:&H  
      The org.apache.struts2.dispatcher.multipart. 5Jo><P a  
      MultiPartRequest parser implementation for a multipart request (file upload) /U |@sw4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (*{Y#XD{  
{)E)&lL  
ao2NwH##  
struts.multipart.saveDir ~>h_#sIBC  
      The directory to use for storing uploaded files ,{"%-U#z  
      设置存储上传文件的目录夹 )bJS*#  
vbH?[ Zr?  
struts.objectFactory PuKT0*_ 7  
      The com.opensymphony.xwork2.ObjectFactory implementation class OEz'&))J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (9!$p|d*  
A*;I}F  
struts.objectFactory.spring.autoWire ya[][!.G  
      Whether Spring should autoWire or not MHh>~Y(h  
      是否自动绑定Spring ]njObU)[zr  
H7&>cM  
struts.objectFactory.spring.useClassCache 2=P.$Kx  
      Whether Spring should use its class cache or not jNKu5"HB  
      是否spring应该使用自身的cache Q\WH2CK  
ZE+VLV v  
struts.objectTypeDeterminer Ce: 2Tw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U^ bF}4m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %Vf3r9 z  
-4  ~(*  
struts.serve.static.browserCache TvV_Tz4e  
If static content served by the Struts filter should set browser caching header properties or not yV;_]_EO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 60 D0z  
$ yd "bJK  
struts.serve.static G/l 28yt  
      Whether the Struts filter should serve static content or not JHF <vyt5<  
      是否struts过滤器应该提供静态内容 R#D>m8&}3  
uc>u=kEue  
struts.tag.altSyntax )U6-&-07  
      Whether to use the alterative syntax for the tags or not X~m*`UH  
      是否可以用替代的语法替代tags d D%Sbb  
*>m,7} L  
struts.ui.templateDir ;,d^=:S6@  
      The directory containing UI templates F+%6?2 J  
      UI templates的目录夹 s8i@HO  
FU;b8{Y  
struts.ui.theme \6]Uj+  
      The default UI template theme 9$]I3k  
      默认的UI template主题 BU3VXnqT[  
$K_G|Wyi  
struts.url.http.port kU*Fif  
      The HTTP port used by Struts URLs tw<mZd2H  
      设置http端口 c34s(>AC  
:Nry |  
struts.url.https.port N*Is_V\R  
      The HTTPS port used by Struts URLs hFLD2 <   
      设置https端口 7iI6._"!w  
jv8diQ.  
struts.url.includeParams <xb=.xe  
      The default includeParams method to generate Struts URLs !CJh6X !  
      在url中产生 默认的includeParams B,2oA]W"S  
mmN!=mf*  
;nzzt~aCC  
struts.velocity.configfile PWavq?SR  
      The Velocity configuration file path s{QS2G$5  
      velocity配置文件路径 0a1Vj56{)  
#*J+4a w3  
struts.velocity.contexts 2u B66i  
      List of Velocity context names `$kKTc:f  
      velocity的context列表 @51!vQwqR  
#Cj$;q{!  
P4h^_*d  
struts.velocity.manager.classname %jS#DVxBR  
      org.apache.struts2.views.velocity.VelocityManager implementation class K<BS%~,I  
      org.apache.struts2.views.velocity.VelocityManager接口名 vdhwFp~Y  
WF'Di4   
struts.velocity.toolboxlocation 8-f2$  
      The location of the Velocity toolbox m+jW+  
      velocity工具盒的位置 Cf~H9  
struts.xslt.nocache TGSUbBgU  
      Whether or not XSLT templates should not be cached #kmZS/"  
      是否XSLT模版应该被缓存 N;\G=q] 9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五