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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AI$r^t1  
E@/yg(?d=  
struts.action.extension Po%+:0oX  
      The URL extension to use to determine if the request is meant for a Struts action @_gCGI>Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [r_YQ*+ej  
^!={=No]  
struts.configuration H%!ED1zpA  
      The org.apache.struts2.config.Configuration implementation class Px!M^ T!Pi  
        org.apache.struts2.config.Configuration接口名 D!K){ E  
h)W?8XdM  
struts.configuration.files Fp)+>o T  
      A list of configuration files automatically loaded by Struts igoXMsifT+  
      struts自动加载的一个配置文件列表 Ft7{P.g  
sXD.*D  
struts.configuration.xml.reload ,qx;kJJ  
      Whether to reload the XML configuration or not B,@<60u  
      是否加载xml配置(true,false) _TB,2 R  
_K4Igq  
struts.continuations.package l5> H\  
      The package containing actions that use Rife continuations JGJXV3AT  
      含有actions的完整连续的package名称 4K_fN  
tWs ]Zd  
struts.custom.i18n.resources tD G[}j  
      Location of additional localization properties files to load 6#,VnS)`q  
      加载附加的国际化属性文件(不包含.properties后缀) 4CzT<cp  
`}b#O}z)^  
struts.custom.properties m&GxL T6  
      Location of additional configuration properties files to load (<= &#e?  
      加载附加的配置文件的位置 S%h[e[[fST  
>)/,5VSE  
Orb('Z,-3  
struts.devMode 2D5S%27,  
      Whether Struts is in development mode or not WUVRwJ 5  
      是否为struts开发模式 5h"moh9tG  
: ryE`EhB  
struts.dispatcher.parametersWorkaround -Y*"!8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iIOA54!o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UStNUNCq  
fM[Qn*.  
struts.enable.DynamicMethodInvocation o%!8t_1mR  
      Allows one to disable dynamic method invocation from the URL Jj<UtD+  
        允许动态方法调用 QAp+LSm  
TRQ@=.  
struts.freemarker.manager.classname [ n[!RddY  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9?VyF'r=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]Iku(<*Ya  
9#:b+Amzz  
struts.i18n.encoding ! xU1[,9  
      The encoding to use for localization messages ]et4B+=i  
      国际化信息内码 q*^Y8s~3I  
)c'5M]V  
struts.i18n.reload Ca: jN0  
      Whether the localization messages should automatically be reloaded T gpf0(  
      是否国际化信息自动加载 j,q8n`@  
V3<baxdE  
struts.locale y*Egt`W  
      The default locale for the Struts application o gcEv>0  
      默认的国际化地区信息 !"*!du28jo  
=")}wl=s  
struts.mapper.class ]K]$FX<f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &WSxg&YG)\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ? o@5PL  
 E*[dc  
struts.multipart.maxSize ;Up'+[Vj'C  
      The maximize size of a multipart request (file upload) ~m ,xG  
      multipart请求信息的最大尺寸(文件上传用) zp"Lp>i  
A]fN~PR  
struts.multipart.parser 7j9:s>D  
      The org.apache.struts2.dispatcher.multipart. l 8I`%bu  
      MultiPartRequest parser implementation for a multipart request (file upload) gW{<:6}!*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'cs!(z-{x  
^DL}J>F9G  
^4Nk13  
struts.multipart.saveDir UL81x72O  
      The directory to use for storing uploaded files JArSJ:}  
      设置存储上传文件的目录夹 OnNWci|7  
#~A(%a  
struts.objectFactory m).S0  
      The com.opensymphony.xwork2.ObjectFactory implementation class QvM+]pdR6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (=v :@\r  
` u#'  
struts.objectFactory.spring.autoWire V SJGp`  
      Whether Spring should autoWire or not tb^8jC  
      是否自动绑定Spring Nm{\?  
sFqLxSo_I  
struts.objectFactory.spring.useClassCache cC{eu[ XW  
      Whether Spring should use its class cache or not l(-We.:(  
      是否spring应该使用自身的cache TO&ohATp  
:]EAlaB4Q  
struts.objectTypeDeterminer ].W)eMC*c(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class up[9L|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z 6~cm6j  
.}.?b  
struts.serve.static.browserCache e):jQite   
If static content served by the Struts filter should set browser caching header properties or not m `"^d #  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZLsfF =/G  
 %2 A-u  
struts.serve.static M2K{{pGJ[&  
      Whether the Struts filter should serve static content or not :%[=v (G[  
      是否struts过滤器应该提供静态内容 q=NI}k  
i/ED_<_ Vg  
struts.tag.altSyntax hf6=`M}>i  
      Whether to use the alterative syntax for the tags or not \8Mn[G9TL  
      是否可以用替代的语法替代tags x -wIgo+  
pGQP9r%  
struts.ui.templateDir  1 &24:&  
      The directory containing UI templates n#jBqr&!M  
      UI templates的目录夹 Tr}z&efY  
lHRs3+  
struts.ui.theme d~i WV6Va  
      The default UI template theme ?gknJ:  
      默认的UI template主题 ?xftr(  
VrV )qfG  
struts.url.http.port -^ )0c  
      The HTTP port used by Struts URLs K gN=b  
      设置http端口 RrFq"  
F32N e6Y6"  
struts.url.https.port 8v$ 2*$  
      The HTTPS port used by Struts URLs zf@gAvJ  
      设置https端口 N?xZ]?T  
)e#KL$B)v  
struts.url.includeParams =?o,' n0  
      The default includeParams method to generate Struts URLs $]V,H"  
      在url中产生 默认的includeParams i!H)@4jX  
&|/@;EA$8  
4o+SSS  
struts.velocity.configfile RJpH1XQ j  
      The Velocity configuration file path O$Wi=5  
      velocity配置文件路径 1u?h4w C  
"I[a]T}/  
struts.velocity.contexts 9q +I  
      List of Velocity context names bsfYz  
      velocity的context列表 G.2\Sw  
pbfIO47ZC  
U GA_^?4  
struts.velocity.manager.classname `pMI @"m  
      org.apache.struts2.views.velocity.VelocityManager implementation class h |Ofi  
      org.apache.struts2.views.velocity.VelocityManager接口名 gMN>`Z`fV  
Rm@#GP`  
struts.velocity.toolboxlocation 26SXuFJ@  
      The location of the Velocity toolbox bjn: e!}  
      velocity工具盒的位置 8Zj=:;  
struts.xslt.nocache gN,O)@N'd3  
      Whether or not XSLT templates should not be cached 5yOIwzr&Uu  
      是否XSLT模版应该被缓存 eAU0 8gM.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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