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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0S4Y3bac&  
_3N,oCRm  
struts.action.extension ]Ol w6W?%  
      The URL extension to use to determine if the request is meant for a Struts action v$x)$/]n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l Le&q  
uPN^o.,/.  
struts.configuration I![/bwObG  
      The org.apache.struts2.config.Configuration implementation class m@*aA}69  
        org.apache.struts2.config.Configuration接口名 e]ST0J"  
\fSruhD  
struts.configuration.files vN@04a\h  
      A list of configuration files automatically loaded by Struts N+5f.c+S-  
      struts自动加载的一个配置文件列表 {R[V  
<0hVDk~  
struts.configuration.xml.reload K4E2W9h  
      Whether to reload the XML configuration or not #lSGH 5Fp?  
      是否加载xml配置(true,false) >ifys)wg>  
8'zfq ]g  
struts.continuations.package &U=_:]/  
      The package containing actions that use Rife continuations #nft{AN  
      含有actions的完整连续的package名称 QhAYCw2  
TNeL%s?B3  
struts.custom.i18n.resources zL50|U0H  
      Location of additional localization properties files to load r8N)]Hs ZH  
      加载附加的国际化属性文件(不包含.properties后缀) )ezkp%I5D  
5 ';[|f  
struts.custom.properties ;9fWxH  
      Location of additional configuration properties files to load 5 3pfo:1'  
      加载附加的配置文件的位置 Xs"d+dc  
nehk8+eV_  
2$b1q!g<  
struts.devMode vO"E4s  
      Whether Struts is in development mode or not 0R+p\Nc&1  
      是否为struts开发模式 wt'"<UN  
){u# (sW  
struts.dispatcher.parametersWorkaround j5[ >HL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1|G5 W:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p14$XV  
l ObY  
struts.enable.DynamicMethodInvocation H15!QxD#  
      Allows one to disable dynamic method invocation from the URL N!v>2"x8q  
        允许动态方法调用 [AD%8 H  
ts@ e ,  
struts.freemarker.manager.classname W$l4@A  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DIvxut  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?v F8 y;Jh  
(r'NB  
struts.i18n.encoding I{H!K rM!  
      The encoding to use for localization messages &Q\k`0vzVB  
      国际化信息内码 FOPmvlA\-<  
H.l WHM+H4  
struts.i18n.reload Po\+zZjo  
      Whether the localization messages should automatically be reloaded A]o3 MoSt  
      是否国际化信息自动加载 8F)9.s,*  
{\VsM#K6  
struts.locale 6 W$m,3Dg  
      The default locale for the Struts application c^&:':Z%'  
      默认的国际化地区信息 UN^M.lqZX  
_x`:Ne?  
struts.mapper.class &#~U1: 0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u`-:'@4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %)^0NQv  
sv "GX< +  
struts.multipart.maxSize g&ba]?[A  
      The maximize size of a multipart request (file upload) ^Ga_wJP8S  
      multipart请求信息的最大尺寸(文件上传用) RJN LcIm  
o@} qPvt0  
struts.multipart.parser HC>k/Gk"  
      The org.apache.struts2.dispatcher.multipart. #0#6eT{-  
      MultiPartRequest parser implementation for a multipart request (file upload) la]Zk  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G"vEtNoV  
\tS| N40  
NB(  GE  
struts.multipart.saveDir '$ G%HUn  
      The directory to use for storing uploaded files 9N) Ea:N  
      设置存储上传文件的目录夹 V|nJ%G\  
xFp9H'j{  
struts.objectFactory {w99~?  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,? &$ c+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1ahb:Mjv  
(t,|FkVLV  
struts.objectFactory.spring.autoWire MpIP)bdq7  
      Whether Spring should autoWire or not SQuW`EHBgs  
      是否自动绑定Spring n.P $E  
Ye  >+  
struts.objectFactory.spring.useClassCache )$2h:dw_  
      Whether Spring should use its class cache or not Y[;Z7p  
      是否spring应该使用自身的cache lgHzI(  
=A"z.KfV  
struts.objectTypeDeterminer jwwst\f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class eN<?rVZl  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Mt12 1Q&"  
$')Uie<!8  
struts.serve.static.browserCache q }9n.  
If static content served by the Struts filter should set browser caching header properties or not G)9`Qn  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K*j1Fy:  
O0mQHpi:  
struts.serve.static AAc2u^spx  
      Whether the Struts filter should serve static content or not +2s][^-KV  
      是否struts过滤器应该提供静态内容 w /CD-  
P$`k* v  
struts.tag.altSyntax %BRll  
      Whether to use the alterative syntax for the tags or not 6~8dMy;w  
      是否可以用替代的语法替代tags k~$}&O  
M:K4o%  
struts.ui.templateDir SR9M:%dga  
      The directory containing UI templates ` B+Pl6l)F  
      UI templates的目录夹 Pj*"2 LBW#  
.ldBl  
struts.ui.theme piPV&ytI  
      The default UI template theme Jqt|' G3  
      默认的UI template主题 8.' THLI  
v%Su#xq/  
struts.url.http.port NbhQ-  
      The HTTP port used by Struts URLs qNbgN{4  
      设置http端口 Ymg,NkiP0  
i$'#7U  
struts.url.https.port .[o?qCsw  
      The HTTPS port used by Struts URLs d1d:5 b  
      设置https端口 kmsgaB7?  
1 swqs7rR|  
struts.url.includeParams (R{z3[/u&  
      The default includeParams method to generate Struts URLs Xm.["&  
      在url中产生 默认的includeParams e= _7Q.cn  
|\q@XCGei  
9 J~KM=p  
struts.velocity.configfile x[YW 3nF  
      The Velocity configuration file path ,V=]QHcg  
      velocity配置文件路径  OV$|!n  
dxWG+S  
struts.velocity.contexts DGx<Nys@B  
      List of Velocity context names "& q])3h=  
      velocity的context列表 3#c0p790  
xgB-m[Xi  
' C1yqkIa`  
struts.velocity.manager.classname xO'xZ%cUI  
      org.apache.struts2.views.velocity.VelocityManager implementation class j|(bdTZY:  
      org.apache.struts2.views.velocity.VelocityManager接口名 `[.4SIah  
o}lA\A  
struts.velocity.toolboxlocation K db:Q0B  
      The location of the Velocity toolbox ^g N?Io  
      velocity工具盒的位置 _ ~E_#cNn  
struts.xslt.nocache 0Y ld!L  
      Whether or not XSLT templates should not be cached (k5d.E]CK  
      是否XSLT模版应该被缓存 k|_LF[*Z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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