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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 LCRZ<?O[|  
LHb(T` .=  
struts.action.extension R1X{=ct  
      The URL extension to use to determine if the request is meant for a Struts action F+!K9(`|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,9W|$2=F  
G-]ndrTn  
struts.configuration n`krK"Ii  
      The org.apache.struts2.config.Configuration implementation class d&QB?yLd  
        org.apache.struts2.config.Configuration接口名 D"m]`H  
'e;]\< 0z  
struts.configuration.files 195m0'zda  
      A list of configuration files automatically loaded by Struts N%\!eHxy  
      struts自动加载的一个配置文件列表 2\M^ _x$N  
aoh"<I%]>4  
struts.configuration.xml.reload uMToVk`Uv  
      Whether to reload the XML configuration or not ^F `   
      是否加载xml配置(true,false) x 2\ ,n  
~I%m[fQ S  
struts.continuations.package W"_")V=QBz  
      The package containing actions that use Rife continuations V3NQij(  
      含有actions的完整连续的package名称 #,1Kum bG3  
2R2ws.}  
struts.custom.i18n.resources E hROd  
      Location of additional localization properties files to load r_f?H@v  
      加载附加的国际化属性文件(不包含.properties后缀) 3U0>Y%m|,  
 3%G>TB  
struts.custom.properties kqfO3{-;{:  
      Location of additional configuration properties files to load [wJM=` !W  
      加载附加的配置文件的位置 f\}fUg 2  
$]eITyC`P  
Gvk)H$ni  
struts.devMode -# [=1 Y  
      Whether Struts is in development mode or not V(|@6ww  
      是否为struts开发模式 ^-9g_5  
lU0'5!3R,  
struts.dispatcher.parametersWorkaround w NlC2is  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mjDaus59  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tk@ T-;  
0wCJNXm  
struts.enable.DynamicMethodInvocation LwV4p6A  
      Allows one to disable dynamic method invocation from the URL tO$/|B74Bz  
        允许动态方法调用 h|tdK;)  
) N*,cTE  
struts.freemarker.manager.classname 0L_ JP9e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O9#8%p% )  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $ \j/s:Y  
G'oMZb ({=  
struts.i18n.encoding \YE(E04w57  
      The encoding to use for localization messages B 3Y,|*  
      国际化信息内码 K]{Y >w  
yF-EHNNf  
struts.i18n.reload [%M=nJ{8  
      Whether the localization messages should automatically be reloaded Wm{Lg0Nr  
      是否国际化信息自动加载 :nZVP_d+  
?8AchbK; N  
struts.locale @7Oqp-  
      The default locale for the Struts application 7cTDbc!E-  
      默认的国际化地区信息 FA}dKE=c Q  
;by` [)  
struts.mapper.class '% .:97  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N^\<y7x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,Q8[Ur? G  
rz%8V igb  
struts.multipart.maxSize xx`xDD  
      The maximize size of a multipart request (file upload) ztcV[{[g  
      multipart请求信息的最大尺寸(文件上传用) n.&z^&$w\)  
K}e %E&|>  
struts.multipart.parser /UP&TyZ  
      The org.apache.struts2.dispatcher.multipart. ;x/do?FbT  
      MultiPartRequest parser implementation for a multipart request (file upload) KTr7z^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?/Bp8q(  
)N4!zuSVf  
+ niz(]  
struts.multipart.saveDir ]W^F!p~eC  
      The directory to use for storing uploaded files N?Byp&rqI<  
      设置存储上传文件的目录夹 o gec6u}  
z ;>xI~  
struts.objectFactory I8R#EM%C#  
      The com.opensymphony.xwork2.ObjectFactory implementation class f;AQw_{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $]v=2j  
CatbEXO  
struts.objectFactory.spring.autoWire ZG29q>  
      Whether Spring should autoWire or not wldv^n hM  
      是否自动绑定Spring {z~n`ow  
AgEX,SPP  
struts.objectFactory.spring.useClassCache Y.XNA]|  
      Whether Spring should use its class cache or not  n7g}u  
      是否spring应该使用自身的cache w$Zi'+&*  
3q'["SS  
struts.objectTypeDeterminer q~esxp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ass :  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2a=3->D&  
]S@zhQ  
struts.serve.static.browserCache RLy(Wz3%  
If static content served by the Struts filter should set browser caching header properties or not V iY-&q'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `1}WQS  
aQjs5RbP~  
struts.serve.static CD}::7$  
      Whether the Struts filter should serve static content or not 6_Ps*Ed  
      是否struts过滤器应该提供静态内容 ,%)O/{p_  
&8p]yo2zO  
struts.tag.altSyntax E@}N}SR  
      Whether to use the alterative syntax for the tags or not =E6ND8l@2  
      是否可以用替代的语法替代tags ]Sj<1tx7f  
M]c"4 b;  
struts.ui.templateDir PIk2mX/D_6  
      The directory containing UI templates in-|",O`Z  
      UI templates的目录夹 tu5g> qb  
]ySm|&aU  
struts.ui.theme > 2)@(f~g  
      The default UI template theme \9 ,a"g  
      默认的UI template主题 !3O8B0K)v  
O52B  
struts.url.http.port x*H,eY3  
      The HTTP port used by Struts URLs * {avx  
      设置http端口 6,wi81F,}  
2IfcdYG  
struts.url.https.port p **Sd[|  
      The HTTPS port used by Struts URLs {KQ-QKxxS  
      设置https端口 onqifQ  
@477|LO  
struts.url.includeParams I /2{I  
      The default includeParams method to generate Struts URLs W&g@o@wa  
      在url中产生 默认的includeParams bVLBqa=  
5 [GdFd>{  
JM&`&fsOC{  
struts.velocity.configfile o >wty3l:  
      The Velocity configuration file path A9 *P7  
      velocity配置文件路径 ]rNM3@bVy  
2:5Go  
struts.velocity.contexts ]|m?pt  
      List of Velocity context names >X@4wP 7l  
      velocity的context列表 "SMRvi57T  
hFMJDGCw>Q  
DT;n)7+,  
struts.velocity.manager.classname ;H' ,PjU  
      org.apache.struts2.views.velocity.VelocityManager implementation class _*l+ze[a  
      org.apache.struts2.views.velocity.VelocityManager接口名 >H r&F nh+  
~ 3!yd0 [k  
struts.velocity.toolboxlocation @\*`rl]  
      The location of the Velocity toolbox .ZOG,h+8  
      velocity工具盒的位置 PJfADB7Y  
struts.xslt.nocache Y0z)5),[U:  
      Whether or not XSLT templates should not be cached 8SZZ_tS3r  
      是否XSLT模版应该被缓存 plNoI1st  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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