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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jyZ  (RB  
)eUh=eW  
struts.action.extension B^4&-z2|  
      The URL extension to use to determine if the request is meant for a Struts action E{XH?_xo  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kZR8a(4D  
HVi'eNgo  
struts.configuration ~ksi</s  
      The org.apache.struts2.config.Configuration implementation class KaPAa:Q  
        org.apache.struts2.config.Configuration接口名 :flx6,7D  
@i 2E\}  
struts.configuration.files CDsSrKhx  
      A list of configuration files automatically loaded by Struts Jl( &!?j  
      struts自动加载的一个配置文件列表 LInz<bc<(  
<c2E'U)X  
struts.configuration.xml.reload MI/MhkS ?  
      Whether to reload the XML configuration or not 94h]~GqNi  
      是否加载xml配置(true,false) &v56#lG  
[4YTDEv%  
struts.continuations.package >"^ O"E  
      The package containing actions that use Rife continuations Nv#t:J9f  
      含有actions的完整连续的package名称 ;Y 00TGU  
qX/y5F`  
struts.custom.i18n.resources v[ . cd*b  
      Location of additional localization properties files to load ]OM"ZG/^  
      加载附加的国际化属性文件(不包含.properties后缀) GZEc l'h*  
?4+9fE<Q  
struts.custom.properties } df W%{  
      Location of additional configuration properties files to load L{X_^  
      加载附加的配置文件的位置 ^]H5h]U '  
gqZ'$7So  
y&6FybIz  
struts.devMode `95r0t0hh\  
      Whether Struts is in development mode or not B^1>PE  
      是否为struts开发模式 Vx$\hcG  
WJQvB=D&  
struts.dispatcher.parametersWorkaround +9M^7/}H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :0Bq^G"ge  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C6VLy x  
t)~"4]{*}D  
struts.enable.DynamicMethodInvocation @@R7p  
      Allows one to disable dynamic method invocation from the URL tI`Q/a5@  
        允许动态方法调用 BBaQ}{F8>2  
APvDP?  
struts.freemarker.manager.classname o*-)Tq8GHE  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U_M$#i{_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 '}9x\3E  
hpHr\g  
struts.i18n.encoding qyZ" %Kz  
      The encoding to use for localization messages =b%MXT  
      国际化信息内码 (/z_Q{"N  
o2nv+fy W  
struts.i18n.reload qU+t/C.  
      Whether the localization messages should automatically be reloaded *QpMF/<?  
      是否国际化信息自动加载 xe]y]  
B;M?,<%FRU  
struts.locale (uXL^oja  
      The default locale for the Struts application vq0Vq(V=  
      默认的国际化地区信息 5y d MMb  
7r7YNn/?  
struts.mapper.class 'H3^e}   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @ju@WY45$^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;ic3).H  
|LRedD7n  
struts.multipart.maxSize { d=^}-^   
      The maximize size of a multipart request (file upload) pM+ AjPr  
      multipart请求信息的最大尺寸(文件上传用) 2a-w% (K  
|nc@"OJ  
struts.multipart.parser %>yG+Od5Z  
      The org.apache.struts2.dispatcher.multipart.  w^?>e;/\  
      MultiPartRequest parser implementation for a multipart request (file upload) ' KP@W9j  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n&L+wqJ  
4;w;'3zq  
"7 4-4  
struts.multipart.saveDir dz:E?  
      The directory to use for storing uploaded files {Bk[rCl  
      设置存储上传文件的目录夹 riUwBiVa?2  
>W%EmnLK  
struts.objectFactory p ?*Q- f  
      The com.opensymphony.xwork2.ObjectFactory implementation class iIvc43YV%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9%k2'iV7  
zpzK>DH(  
struts.objectFactory.spring.autoWire Cl5uS%g  
      Whether Spring should autoWire or not <->{  
      是否自动绑定Spring o15-ZzE-  
@fHi\W2JG  
struts.objectFactory.spring.useClassCache PxTwPl  
      Whether Spring should use its class cache or not u#Pa7_zBj]  
      是否spring应该使用自身的cache sr r :!5  
Vrjc~>X  
struts.objectTypeDeterminer *U^6u/iH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class viW!,QQ(S  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ({ 8-*  
Ar%%}Gx /  
struts.serve.static.browserCache .?D7dyU l1  
If static content served by the Struts filter should set browser caching header properties or not `n.5f[wC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^?-:'<4q$  
Ye\rB\-  
struts.serve.static spGb!Y`mR  
      Whether the Struts filter should serve static content or not }d[ kxo  
      是否struts过滤器应该提供静态内容 !Xh=k36  
TcyNIx  
struts.tag.altSyntax #9B)Xx!g  
      Whether to use the alterative syntax for the tags or not J; 3{3  
      是否可以用替代的语法替代tags O%Scjm-^X  
k|v3.< -  
struts.ui.templateDir  j?A/#  
      The directory containing UI templates &D >G8  
      UI templates的目录夹 T%x}Y#U'`  
|Z|-q"Rf  
struts.ui.theme g9m-TkNk  
      The default UI template theme 10G}{  
      默认的UI template主题 ZEXc%-M  
/vY(o1o x  
struts.url.http.port _- [''(E  
      The HTTP port used by Struts URLs o906/5M  
      设置http端口 qPWP&k  
}HL]yDO  
struts.url.https.port 9"@\s$ OBk  
      The HTTPS port used by Struts URLs e2L0VXbb  
      设置https端口 6}Vf\j~  
9 3U_tQ&1?  
struts.url.includeParams 6 +Sxr  
      The default includeParams method to generate Struts URLs z F_M*8=  
      在url中产生 默认的includeParams BIb4h   
$Ad{Z  
Eav[/cU  
struts.velocity.configfile -<c=US  
      The Velocity configuration file path jTf@l?|  
      velocity配置文件路径 CHdX;'`*  
aC^\(wp[  
struts.velocity.contexts K#l:wH _  
      List of Velocity context names _ ?TN;  
      velocity的context列表 @v$Y7mw3D  
bo<~jb{  
q?,).x nN  
struts.velocity.manager.classname o=u3&liBi  
      org.apache.struts2.views.velocity.VelocityManager implementation class K}2Erm%A@y  
      org.apache.struts2.views.velocity.VelocityManager接口名 (ScxLf=]  
qBU-~"2t  
struts.velocity.toolboxlocation hMzs*gK  
      The location of the Velocity toolbox x* DarSk  
      velocity工具盒的位置 7@#>b E6  
struts.xslt.nocache h&|[eZt?F  
      Whether or not XSLT templates should not be cached HvUxsdT  
      是否XSLT模版应该被缓存 ylUrLQ\  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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