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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hygnC`|  
^5 ^}MB%  
struts.action.extension _rMT{q3  
      The URL extension to use to determine if the request is meant for a Struts action j:e^7|.   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 xEiX<lguyN  
uPFHlT  
struts.configuration II-$WJy  
      The org.apache.struts2.config.Configuration implementation class B8UZ9I$n  
        org.apache.struts2.config.Configuration接口名 27a* H1iQ  
7/|F9fF@M  
struts.configuration.files i2:+h}o$e  
      A list of configuration files automatically loaded by Struts 7SK 3  
      struts自动加载的一个配置文件列表 %[n R|a<  
zvGK6qCk  
struts.configuration.xml.reload TsX+. i'  
      Whether to reload the XML configuration or not <4Q12:  
      是否加载xml配置(true,false) !b7'>b'J<1  
R#/?AD&  
struts.continuations.package 3u4*ofjE5  
      The package containing actions that use Rife continuations ~y)bYG!G  
      含有actions的完整连续的package名称 {M@@)27gW  
kPO6gdwq$  
struts.custom.i18n.resources bR'mV-2'  
      Location of additional localization properties files to load w*:GM8=6  
      加载附加的国际化属性文件(不包含.properties后缀) 8jjFC9Cbn0  
*"5N>F[L  
struts.custom.properties $,KP]~?  
      Location of additional configuration properties files to load mLg{6qm(q  
      加载附加的配置文件的位置 2gwZb/'i  
B`*f(  
GOf`Z'\xt  
struts.devMode {Vxc6,=  
      Whether Struts is in development mode or not &"[)s[m+t  
      是否为struts开发模式 v]:+` dV  
+mc [S  
struts.dispatcher.parametersWorkaround DikdC5>O>m  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic TX23D)CX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ={`CH CI  
BIV<ti$.  
struts.enable.DynamicMethodInvocation Y$`eg|$  
      Allows one to disable dynamic method invocation from the URL qX5yN| A4  
        允许动态方法调用 ;}/U+`=D?  
tyEPU^PM  
struts.freemarker.manager.classname I /On3"U%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SE^j=1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j,C,5l=  
j0iAU1~_VX  
struts.i18n.encoding |DE%SVZB  
      The encoding to use for localization messages !/j,hO4Z4  
      国际化信息内码 =`Po<7D  
X(k{-|9]  
struts.i18n.reload KdT[*-  
      Whether the localization messages should automatically be reloaded DH:GI1Yu>I  
      是否国际化信息自动加载 GIm " )}W  
46bl>yk9<  
struts.locale \.H9$C$  
      The default locale for the Struts application g@~!kh,TH  
      默认的国际化地区信息 ](W5.a,-$L  
D XV@DQ  
struts.mapper.class e Om< !H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7G5y)Qb  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0n:?sFY>  
?;|@T ty%  
struts.multipart.maxSize b!0DH[XKV  
      The maximize size of a multipart request (file upload) =&A!C"qK4[  
      multipart请求信息的最大尺寸(文件上传用) :)#hrFp  
weAn&h|  
struts.multipart.parser *u>lx!g  
      The org.apache.struts2.dispatcher.multipart. 7tSJniB  
      MultiPartRequest parser implementation for a multipart request (file upload) /O|:{LQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Hbb&F  
{O^TurbTFA  
l{Jt sI  
struts.multipart.saveDir t;8\fIW5  
      The directory to use for storing uploaded files 8Q2]*%  
      设置存储上传文件的目录夹 T><{ze  
.,3Zj /  
struts.objectFactory ^rv"o:lF  
      The com.opensymphony.xwork2.ObjectFactory implementation class z % x7fe  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )K~w'TUr  
.'|mY$U~]  
struts.objectFactory.spring.autoWire |3}5:k  
      Whether Spring should autoWire or not 2fl4h<V  
      是否自动绑定Spring &E bI Op  
6M ^IwE  
struts.objectFactory.spring.useClassCache Ji;SY{~kv  
      Whether Spring should use its class cache or not ' .B.V?7  
      是否spring应该使用自身的cache n*Q`g@`  
kdp% !S%2  
struts.objectTypeDeterminer #s"851e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q|5Q?t:,r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5|ic3  
8-7dokg>  
struts.serve.static.browserCache z[fB!O  
If static content served by the Struts filter should set browser caching header properties or not lT.zNhz:d9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ddsUz1%l  
v:KX9A.  
struts.serve.static b'i'GJBQ+$  
      Whether the Struts filter should serve static content or not .~3kGf":  
      是否struts过滤器应该提供静态内容 CRFCqmevR  
v "Me{+  
struts.tag.altSyntax 6*IpAIh  
      Whether to use the alterative syntax for the tags or not 0n3D~Xzd  
      是否可以用替代的语法替代tags XCDSmZ  
9tn;L"#&N  
struts.ui.templateDir #G_F`&  
      The directory containing UI templates Sw)i1S9  
      UI templates的目录夹 ncv7t|ZN  
!z"Nv1!~|  
struts.ui.theme ?"6Ov ]  
      The default UI template theme ueDvMP  
      默认的UI template主题 St@l]u9  
e}A&V+  
struts.url.http.port t<nFy  
      The HTTP port used by Struts URLs c-kA^z{f  
      设置http端口 GnFs63  
B'-I{~'/  
struts.url.https.port YOyp|%!  
      The HTTPS port used by Struts URLs ZK6Hvc0  
      设置https端口 o0ZIsrr  
?aBj#  
struts.url.includeParams mEFw|M{  
      The default includeParams method to generate Struts URLs Yd:Q`#7A  
      在url中产生 默认的includeParams f1mHN7hxW  
!VwmPAMr#v  
y4@gGC=  
struts.velocity.configfile Yi(1^'Bi  
      The Velocity configuration file path brh=NAzt  
      velocity配置文件路径 u$%A#L[  
kneuV8+(5  
struts.velocity.contexts q$[n`w-  
      List of Velocity context names ebC)H  
      velocity的context列表 KOey8tB)1  
%-+j  
xRum*}|4  
struts.velocity.manager.classname !K cWH9  
      org.apache.struts2.views.velocity.VelocityManager implementation class whye)w  
      org.apache.struts2.views.velocity.VelocityManager接口名 DP 9LO_{  
dC.bt|#Oz  
struts.velocity.toolboxlocation /b5>Qp  
      The location of the Velocity toolbox 6<X%\[)n  
      velocity工具盒的位置 -/ +#5.`1  
struts.xslt.nocache ExVDkt0  
      Whether or not XSLT templates should not be cached tx"LeZZ  
      是否XSLT模版应该被缓存 0:"2MSf>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八