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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 BenUyv1d  
hi0-Sw  
struts.action.extension P.Gmj;  
      The URL extension to use to determine if the request is meant for a Struts action g;-6Hg'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w:3CWF4q]  
OhW o  
struts.configuration L|y 9T {s  
      The org.apache.struts2.config.Configuration implementation class *-,jIaL;  
        org.apache.struts2.config.Configuration接口名 Mh@RO|F  
{^A,){uX]  
struts.configuration.files 60XTdJkDkA  
      A list of configuration files automatically loaded by Struts 4S\St <  
      struts自动加载的一个配置文件列表 M $\!SXL  
79d< ,q;uR  
struts.configuration.xml.reload Sau?Y  
      Whether to reload the XML configuration or not [J\! 2\Oo  
      是否加载xml配置(true,false) g!I0UAm  
OhiY <  
struts.continuations.package 2q}lSa7r  
      The package containing actions that use Rife continuations QdK PzjA  
      含有actions的完整连续的package名称 )\m%&EXG{  
L a8D%N  
struts.custom.i18n.resources YgR}y+q^6  
      Location of additional localization properties files to load !V27ln KP+  
      加载附加的国际化属性文件(不包含.properties后缀) _%@ri]u{ov  
|y DaFv  
struts.custom.properties E HH+)mlo  
      Location of additional configuration properties files to load E5Zxp3N  
      加载附加的配置文件的位置 V]W-**j<  
l|L ]==M  
VpyqVbx1  
struts.devMode EXizRL-9o  
      Whether Struts is in development mode or not uGY(`  
      是否为struts开发模式 LA4,o@V`  
vT;~\,M  
struts.dispatcher.parametersWorkaround Cm%xI& Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7*(K%e"U  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) w\%AR1,rs  
tk66Ggi[K  
struts.enable.DynamicMethodInvocation fD~f_Wr  
      Allows one to disable dynamic method invocation from the URL 8c<OX!  
        允许动态方法调用 a"!r]=r  
/c!@ H(^)  
struts.freemarker.manager.classname gxCl=\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W.7XShwd*2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 il~A(`+YO  
Jl-:@[;  
struts.i18n.encoding 2@>#?c7  
      The encoding to use for localization messages LB/1To  
      国际化信息内码 8],tGMu  
q{2 +Inf#:  
struts.i18n.reload qt=nN-AC(  
      Whether the localization messages should automatically be reloaded Co^GsUJ  
      是否国际化信息自动加载 0I7 r{T  
cL^r^kL("  
struts.locale T u7}*vsR  
      The default locale for the Struts application _5H0<%\  
      默认的国际化地区信息 UE 1tm  
3)3$ L  
struts.mapper.class J{r3y&:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class AkA2/7<[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 KOit7+Q  
qrkJ:  
struts.multipart.maxSize ~mk>9Gp  
      The maximize size of a multipart request (file upload) NU(YllPB  
      multipart请求信息的最大尺寸(文件上传用) bq"dKN`  
2+}hsGnp  
struts.multipart.parser LLd5Z44v  
      The org.apache.struts2.dispatcher.multipart. *DuP~8  
      MultiPartRequest parser implementation for a multipart request (file upload) (3QG  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HC>MCwx=r  
P$Fq62;}r4  
DlxL:  
struts.multipart.saveDir Ybp';8V  
      The directory to use for storing uploaded files pe>[Ts`2F  
      设置存储上传文件的目录夹 XG8UdR|  
)|`w;F>  
struts.objectFactory M&5De{LS}  
      The com.opensymphony.xwork2.ObjectFactory implementation class {8w,{p`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) qU+q Y2S:  
vxl!`$Pi  
struts.objectFactory.spring.autoWire C~c|};&%  
      Whether Spring should autoWire or not cb`ik)=K%  
      是否自动绑定Spring A9kn\U92  
{"hyr/SKd  
struts.objectFactory.spring.useClassCache PGJkQsp0  
      Whether Spring should use its class cache or not QP<vjj%  
      是否spring应该使用自身的cache "4WwiI9  
qV:TuR-|w  
struts.objectTypeDeterminer #iAw/a0&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2}kJN8\F  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .M>g`UW  
RFT`r  
struts.serve.static.browserCache N&]_U%#Q  
If static content served by the Struts filter should set browser caching header properties or not +J  <<me4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4C`p`AQqpQ  
UU  DZ  
struts.serve.static 1aS66TS3  
      Whether the Struts filter should serve static content or not 3?uah' D5  
      是否struts过滤器应该提供静态内容 ^-dhz88wV  
/5j]laYK)  
struts.tag.altSyntax a4x(lx&  
      Whether to use the alterative syntax for the tags or not /(?,S{]  
      是否可以用替代的语法替代tags u$nYddak  
^ SW!S_&Z2  
struts.ui.templateDir +a74] H"  
      The directory containing UI templates hDD]Kc;G^1  
      UI templates的目录夹 O[\obi"}  
;]Ko7M(4  
struts.ui.theme \!s0H_RJY  
      The default UI template theme B;^YHWJ6i  
      默认的UI template主题 d/l>~%bR  
/YD2F  
struts.url.http.port ebIRXUF}>  
      The HTTP port used by Struts URLs Hi#f Qji  
      设置http端口 LseS8F/q  
o`~ %}3  
struts.url.https.port O"m(C[+ [  
      The HTTPS port used by Struts URLs mecm,xwm  
      设置https端口 5sguv^;C5  
+d JLT}I8M  
struts.url.includeParams 6 u}c543  
      The default includeParams method to generate Struts URLs BiD}C  
      在url中产生 默认的includeParams H\<^p",`  
=O'>H](Q  
6w*q~{"(  
struts.velocity.configfile n--w-1  
      The Velocity configuration file path zz1]6B*eX  
      velocity配置文件路径 1D2Yued  
,&0iFUwN_  
struts.velocity.contexts eWU@ @$9  
      List of Velocity context names 7cly{U"  
      velocity的context列表 _aK4[*jnqh  
V J]S"  
y({EF~w  
struts.velocity.manager.classname |>jlmaV  
      org.apache.struts2.views.velocity.VelocityManager implementation class k8O%gO  
      org.apache.struts2.views.velocity.VelocityManager接口名 C252E  
Ct0YwIR*  
struts.velocity.toolboxlocation cB|Rj}40v  
      The location of the Velocity toolbox :WAFBK/x  
      velocity工具盒的位置 `xie/  
struts.xslt.nocache } .'\IR  
      Whether or not XSLT templates should not be cached qZ rv2dT  
      是否XSLT模版应该被缓存 .Uh|V -  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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