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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U\sHx68  
}ga@/>Sl&  
struts.action.extension QQV~?iW{~  
      The URL extension to use to determine if the request is meant for a Struts action rQaxr!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 37RLE1Yf  
"|HDGA5  
struts.configuration T0]*{k(FR  
      The org.apache.struts2.config.Configuration implementation class ]7/ b/J  
        org.apache.struts2.config.Configuration接口名 @-&s: Qli  
7ek&[SJ>,/  
struts.configuration.files >~Qr  
      A list of configuration files automatically loaded by Struts EVNY*&p  
      struts自动加载的一个配置文件列表 56Vb+0J'  
gL3"Gg3  
struts.configuration.xml.reload <dvy"Dx   
      Whether to reload the XML configuration or not j8sH#b7Z  
      是否加载xml配置(true,false) Zw~+Pb  
uy}%0vLo  
struts.continuations.package :,DM*zBV p  
      The package containing actions that use Rife continuations Q pmsOp|  
      含有actions的完整连续的package名称 E=#0I]v[  
Q"7Gy<  
struts.custom.i18n.resources (~J^3O]Fo  
      Location of additional localization properties files to load 4DOK4{4?5  
      加载附加的国际化属性文件(不包含.properties后缀) <Engi!  
tu5*Qp\  
struts.custom.properties H~E(JLcU  
      Location of additional configuration properties files to load EKz Ad  
      加载附加的配置文件的位置 r]0 lo-  
5A4&+rdU  
~D|5u\D-  
struts.devMode +EAT:,  
      Whether Struts is in development mode or not ;IpT} ,  
      是否为struts开发模式 pm6>_Kz  
(X?/"lC)  
struts.dispatcher.parametersWorkaround KW7UUXL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P06R JE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c?%(Dp E  
LvEnXS  
struts.enable.DynamicMethodInvocation :(H>2xS,s  
      Allows one to disable dynamic method invocation from the URL Zx d~c]n  
        允许动态方法调用 Z?O *'#yn  
K_ ci_g":  
struts.freemarker.manager.classname C*G=cs\i  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Vy|6E#U  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 oaK%Ww6~  
t>uN'oCyC  
struts.i18n.encoding =Z+nX0qF  
      The encoding to use for localization messages 7YAIA%8  
      国际化信息内码 y7|P-3[ 4w  
"hQ_sgz[Z  
struts.i18n.reload o'$jNciOW  
      Whether the localization messages should automatically be reloaded f +hjC  
      是否国际化信息自动加载 JXj8Br?Z@  
"{D|@Bc  
struts.locale |> _!eS\=<  
      The default locale for the Struts application >pr=|$zk=  
      默认的国际化地区信息 36n>jS&  
X~xd/M=9^  
struts.mapper.class Jx=hJ-FY  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {Ixg2=E\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X7g3  
8Mbeg ,P  
struts.multipart.maxSize ys#i@  
      The maximize size of a multipart request (file upload) E.iSWAJ(w  
      multipart请求信息的最大尺寸(文件上传用) & V)6!,rb  
"rAY.E]  
struts.multipart.parser oY=q4D  
      The org.apache.struts2.dispatcher.multipart. VG>vn`x>a  
      MultiPartRequest parser implementation for a multipart request (file upload) Z,.G%"i3C  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?r2#.W  
x[Wwq=~  
7jJbo]&  
struts.multipart.saveDir ^`D=GF^tX  
      The directory to use for storing uploaded files L.=w?%:H=  
      设置存储上传文件的目录夹 g5q$A9.Jl  
U-^[lWn[@4  
struts.objectFactory > MH(0+B*  
      The com.opensymphony.xwork2.ObjectFactory implementation class E~kG2x{a  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $.:mai  
W k}AmC  
struts.objectFactory.spring.autoWire )=DGdI Et  
      Whether Spring should autoWire or not Z,X'-7YkU  
      是否自动绑定Spring -`Y :~q1  
w%zRHf8C  
struts.objectFactory.spring.useClassCache ]1gx#y 2  
      Whether Spring should use its class cache or not p)~lL  
      是否spring应该使用自身的cache "p3_y`h6+  
9TAj) {U%'  
struts.objectTypeDeterminer v{ <[)cr  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  P5gN#G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [+Y{%U  
]LZ`LL'#Y_  
struts.serve.static.browserCache k;5Pom  
If static content served by the Struts filter should set browser caching header properties or not o-cAG{.WC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eVl'\aUd  
J/6`oh?,Q  
struts.serve.static |D.O6?v@  
      Whether the Struts filter should serve static content or not 178Mb\8  
      是否struts过滤器应该提供静态内容 9RwawTM  
!SKV!xH9  
struts.tag.altSyntax ++Ww88820  
      Whether to use the alterative syntax for the tags or not e2-Dq]p  
      是否可以用替代的语法替代tags OD=!&LM  
#pHs@uvO  
struts.ui.templateDir _U{&@}3  
      The directory containing UI templates &J!aw  
      UI templates的目录夹 6q>+!kXh  
[/_+>M  
struts.ui.theme !JBae2Z  
      The default UI template theme x|KWyfOS  
      默认的UI template主题 Ac|5. ?|N  
7}_!  
struts.url.http.port RB?V7uX  
      The HTTP port used by Struts URLs T%R:NQf  
      设置http端口 ?tg  y|  
`O6:t\d@  
struts.url.https.port \VSATL:]  
      The HTTPS port used by Struts URLs >b.^kc  
      设置https端口 /b;K  
4eH.9t  
struts.url.includeParams ai*b:Q  
      The default includeParams method to generate Struts URLs q_Lo3|t i  
      在url中产生 默认的includeParams nmjm<Bu  
8I,QD` xu  
S. |FL%;  
struts.velocity.configfile dr q hQ  
      The Velocity configuration file path  d^|0R  
      velocity配置文件路径  oK 9'  
Yct5V,X^  
struts.velocity.contexts 0qFH s  
      List of Velocity context names gf)t)-E  
      velocity的context列表 j 6ut}Uq  
B%\gkl  
5HS~op2n/  
struts.velocity.manager.classname V|MY!uV  
      org.apache.struts2.views.velocity.VelocityManager implementation class rbqo"g`  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,LOQDIyn  
N]YtLa,t  
struts.velocity.toolboxlocation smQVWs>  
      The location of the Velocity toolbox _;RVe"tR#  
      velocity工具盒的位置 {I{:GcS  
struts.xslt.nocache ,572n[-q  
      Whether or not XSLT templates should not be cached X%9*O[6{  
      是否XSLT模版应该被缓存 4F MAz^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五