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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f47]gtB-  
FpRYffT 9u  
struts.action.extension ?n `m  
      The URL extension to use to determine if the request is meant for a Struts action ?[Lk]A&"L2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GpeW<% \P  
g %f5hy  
struts.configuration *#XZ*Ga  
      The org.apache.struts2.config.Configuration implementation class '6dVe 2V  
        org.apache.struts2.config.Configuration接口名 Snf_{A<  
gM3:J:N  
struts.configuration.files pXSShU#  
      A list of configuration files automatically loaded by Struts 4=([v;fc  
      struts自动加载的一个配置文件列表 Q%JI-&K  
~Kw#^.$3T  
struts.configuration.xml.reload ~V8z%s@  
      Whether to reload the XML configuration or not aZ4EcQ@-$]  
      是否加载xml配置(true,false) +)sX8zb*gY  
P"_/P8  
struts.continuations.package RhE~-b[X  
      The package containing actions that use Rife continuations Ik0g(-d  
      含有actions的完整连续的package名称 (?|M'gZ  
p"ytt|H  
struts.custom.i18n.resources p0@^1  
      Location of additional localization properties files to load GEWjQ;g  
      加载附加的国际化属性文件(不包含.properties后缀) v745F Iy<  
{|?^@  
struts.custom.properties '[{<a Eo  
      Location of additional configuration properties files to load UucI>E3?P{  
      加载附加的配置文件的位置 5g7@Dj,.  
e?]5q ez  
W "'6 M=*  
struts.devMode $y8-JR~  
      Whether Struts is in development mode or not 1D*=ZkA)  
      是否为struts开发模式 1#A$&'&\J;  
53])@Mmus  
struts.dispatcher.parametersWorkaround 7=CkZ&(?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pmNy=ZXx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0kkDlWkzo  
=8\.fp  
struts.enable.DynamicMethodInvocation ?R)]D:`  
      Allows one to disable dynamic method invocation from the URL Z>9@)wo  
        允许动态方法调用 ,dIev<  
xqG<R5k>>  
struts.freemarker.manager.classname bE_8NA"2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qiNVaV\wr|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g_Z tDxz  
L.HeBeO  
struts.i18n.encoding puC91  
      The encoding to use for localization messages ;,&cWz  
      国际化信息内码 3v8LzS3@  
vgwpuRL5b  
struts.i18n.reload n3a.)tcC  
      Whether the localization messages should automatically be reloaded _ %nz-I  
      是否国际化信息自动加载 ^e.-Ji  
.Kb3VNgwvm  
struts.locale HuevDy4  
      The default locale for the Struts application `L'g<VK;  
      默认的国际化地区信息 RxP H[7oZ  
yix[zfQt0  
struts.mapper.class 6zi>Q?] 1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <CyU9`ye  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]q]xU,  
n=.P46|  
struts.multipart.maxSize G!q[NRu  
      The maximize size of a multipart request (file upload) G *CPj^O  
      multipart请求信息的最大尺寸(文件上传用) W7S~~  
FnO@\{M"A  
struts.multipart.parser oW3"J6,S  
      The org.apache.struts2.dispatcher.multipart. Q\$3l'W  
      MultiPartRequest parser implementation for a multipart request (file upload) SI}s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~non_pJ  
2e`}O  
p#@#$u-  
struts.multipart.saveDir aGD< #]  
      The directory to use for storing uploaded files k#].nQG  
      设置存储上传文件的目录夹 :X0L6y)u  
n:5M E*  
struts.objectFactory ?KC(WaGJQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class /LD3Bb)O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t3;Zx+Br  
}%|ewy9|CW  
struts.objectFactory.spring.autoWire J&xZN8jW   
      Whether Spring should autoWire or not .GrOdDK$ns  
      是否自动绑定Spring `/8@Fj  
u^Q`xd1  
struts.objectFactory.spring.useClassCache 2JfSi2T  
      Whether Spring should use its class cache or not n7Ao.b%uk-  
      是否spring应该使用自身的cache SMN.AJ J  
KgL!~J  
struts.objectTypeDeterminer q/i2o[f'n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b($hp%+yJ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |+#Zuq  
I?e5h@uE  
struts.serve.static.browserCache xRh 22z  
If static content served by the Struts filter should set browser caching header properties or not ( S[z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d][ Wm  
oZ'a}kF  
struts.serve.static N^L@MR-  
      Whether the Struts filter should serve static content or not 8 x{Owj:Q  
      是否struts过滤器应该提供静态内容 .biq)L e  
Kj4/fB  
struts.tag.altSyntax ]VI^ hhf  
      Whether to use the alterative syntax for the tags or not ATs_d_Sz  
      是否可以用替代的语法替代tags K`4lL5oH  
lTx_E#^s  
struts.ui.templateDir ^m>4<~/  
      The directory containing UI templates ^6s im2  
      UI templates的目录夹 c!6D{(sfh  
Itl8#LpLM  
struts.ui.theme l1+l@r\  
      The default UI template theme f"MID6  
      默认的UI template主题 + :MSY p  
@Cj!MZ=T  
struts.url.http.port $RD~,<oEm  
      The HTTP port used by Struts URLs ?cV,lak  
      设置http端口 *;<fh,wOk  
qmrT d G  
struts.url.https.port _#8hgwf>  
      The HTTPS port used by Struts URLs aacy5E  
      设置https端口 pjeNBSu6  
E>~R P^?Uz  
struts.url.includeParams AxEyXT(h5  
      The default includeParams method to generate Struts URLs &G {GLP?H  
      在url中产生 默认的includeParams ;4F6 $T'I  
7)Toj  
QS#@xhH  
struts.velocity.configfile n:@!vV   
      The Velocity configuration file path f|d~=\0y  
      velocity配置文件路径 \""^'pP@  
Bx?3E^!T  
struts.velocity.contexts @v-^j  
      List of Velocity context names }[p{%:tP  
      velocity的context列表 PgBEe @.  
'.A!IGsj  
8`4M4" lj  
struts.velocity.manager.classname DX_ mrG  
      org.apache.struts2.views.velocity.VelocityManager implementation class SuE~Wb 5&  
      org.apache.struts2.views.velocity.VelocityManager接口名 "zEl2Xn28_  
4 Gu'WbJ  
struts.velocity.toolboxlocation G%W9?4_K  
      The location of the Velocity toolbox RY-iFydPc  
      velocity工具盒的位置 R5HT EB  
struts.xslt.nocache WgNA%.|,  
      Whether or not XSLT templates should not be cached C=?S  
      是否XSLT模版应该被缓存 X4;U4pU#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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