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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Yc3\NqQM  
mv O!Y  
struts.action.extension x9Fga_  
      The URL extension to use to determine if the request is meant for a Struts action "=@b>d6U+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "XT7;!  
((Ak/qz  
struts.configuration D*6v.`]X  
      The org.apache.struts2.config.Configuration implementation class !Y>lAxd  
        org.apache.struts2.config.Configuration接口名 a|SgGtBtT4  
p~6/+ap  
struts.configuration.files jl;_lcO  
      A list of configuration files automatically loaded by Struts <vJPKQ`=:  
      struts自动加载的一个配置文件列表 ns[v.YDL  
GwQW I ]  
struts.configuration.xml.reload f.JZ[+  
      Whether to reload the XML configuration or not >A5R  
      是否加载xml配置(true,false) /x,gdZPX  
@X4Ur+d  
struts.continuations.package #qrZ(,I@n  
      The package containing actions that use Rife continuations WSi`)@.X O  
      含有actions的完整连续的package名称 :K>v F`SM  
. <`i!Ls  
struts.custom.i18n.resources bO 2>ced  
      Location of additional localization properties files to load ,yus44w[  
      加载附加的国际化属性文件(不包含.properties后缀) h[ #Lg3  
?%% 'GX  
struts.custom.properties 0B fqEAl  
      Location of additional configuration properties files to load 5Ds/^fA  
      加载附加的配置文件的位置 $3<,"&;Ecs  
aDmyr_f$  
SF$7WG3Q  
struts.devMode 2+zE|I.  
      Whether Struts is in development mode or not Rt:k4Q   
      是否为struts开发模式 gNF8&T  
tvXoF;Yq  
struts.dispatcher.parametersWorkaround rqW[B/a{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bP\0S@1YL  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JTK>[|c9oE  
7ksh%eV  
struts.enable.DynamicMethodInvocation rCfr&>nn  
      Allows one to disable dynamic method invocation from the URL @ODwO;_R5  
        允许动态方法调用 xFxl9oM."  
`q|&;wP.  
struts.freemarker.manager.classname ?T=] ?[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Atsi}zTR\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .w2QiJ  
S$J}>a#Ry  
struts.i18n.encoding DTmv2X  
      The encoding to use for localization messages D FDC'E  
      国际化信息内码 {6{y"8  
wI.i\ S  
struts.i18n.reload D`p&`]k3v  
      Whether the localization messages should automatically be reloaded = ms(dr^n  
      是否国际化信息自动加载 0q'd }DW  
HDQhXw!!hc  
struts.locale 9ZvBsG)  
      The default locale for the Struts application y_O[r1MF  
      默认的国际化地区信息 _svEPHU  
$jT&]p  
struts.mapper.class hY 2nT  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @(>XSTh9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5\93-e  
}L Q9db1  
struts.multipart.maxSize I)#=#eI* :  
      The maximize size of a multipart request (file upload) <;O=h; ~|  
      multipart请求信息的最大尺寸(文件上传用) H`u8}{7  
H.-jBFt}  
struts.multipart.parser Y[%1?CREP  
      The org.apache.struts2.dispatcher.multipart. K&FGTS,  
      MultiPartRequest parser implementation for a multipart request (file upload) Q'-V\G)11  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) W>C!V  
pR_cI]{=SA  
we'<Y  
struts.multipart.saveDir +mRFHZG  
      The directory to use for storing uploaded files vZV+24YWb  
      设置存储上传文件的目录夹 C${{&$&  
<viIpz2jh%  
struts.objectFactory s2Gi4fY?  
      The com.opensymphony.xwork2.ObjectFactory implementation class mk>L:+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6#~"~WfPQ  
tX;00g;U.  
struts.objectFactory.spring.autoWire }~P%S(zB  
      Whether Spring should autoWire or not %bI(   
      是否自动绑定Spring [NcS[*qp  
\PS{/XK  
struts.objectFactory.spring.useClassCache _^4\z*x  
      Whether Spring should use its class cache or not ;\`~M  
      是否spring应该使用自身的cache t~pA2?9@  
-r/G)Rs  
struts.objectTypeDeterminer (]wi^dE  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class O+;0|4V%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [?)=3Pp  
"8K>Yu17  
struts.serve.static.browserCache _`lj 3Lm0>  
If static content served by the Struts filter should set browser caching header properties or not HZMs],GX  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z J(/cD  
htc& !m  
struts.serve.static f.V;Hl,  
      Whether the Struts filter should serve static content or not a]:tn:q  
      是否struts过滤器应该提供静态内容 & pwSd  
w+Ve T@  
struts.tag.altSyntax I( BG%CO9  
      Whether to use the alterative syntax for the tags or not 4GJ1P2  
      是否可以用替代的语法替代tags T!$7:% D  
'^'4C'J  
struts.ui.templateDir 3oX%tx  
      The directory containing UI templates Hh @q;0ni  
      UI templates的目录夹 XfA3Ez,}  
~ `2w ul  
struts.ui.theme pTq,"}J!+  
      The default UI template theme :QgC Zq  
      默认的UI template主题 4mOw[}@A  
!f_GR Pj'  
struts.url.http.port &_FNDJ>MCk  
      The HTTP port used by Struts URLs q0WW^jwQ  
      设置http端口 KtJE  
GkMNV7"m  
struts.url.https.port b~06-dk1  
      The HTTPS port used by Struts URLs xrx{8pf  
      设置https端口 =fMSmn1S  
QiWv  
struts.url.includeParams J#*Uf>5NY  
      The default includeParams method to generate Struts URLs (ohkM`83k  
      在url中产生 默认的includeParams UCYhaD@sP  
Pb?H cg  
kF'^!Hp  
struts.velocity.configfile ;a!o$y  
      The Velocity configuration file path x( w <U1  
      velocity配置文件路径 :b>Z|7g?  
=1^a/  
struts.velocity.contexts V5rnI\:7  
      List of Velocity context names o^RdVSkU;  
      velocity的context列表 Qpd-uC_Ni  
B%6bk.  
T~$ePVk>L  
struts.velocity.manager.classname 'R_U,9y`  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]Oc :x  
      org.apache.struts2.views.velocity.VelocityManager接口名 DjOFfD\MF  
[2w3c4K  
struts.velocity.toolboxlocation Js+d4``W  
      The location of the Velocity toolbox 0vG}c5;F  
      velocity工具盒的位置 4W9!_:j(j  
struts.xslt.nocache yG&kP:k<  
      Whether or not XSLT templates should not be cached q^sMJ  
      是否XSLT模版应该被缓存 7tAWPSwf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八