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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t2vm&jk  
ZA. S X|m  
struts.action.extension 1ig*Xp[  
      The URL extension to use to determine if the request is meant for a Struts action  oJ*,a  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ` L 1+j  
! [1aP,  
struts.configuration R&6@*Nn  
      The org.apache.struts2.config.Configuration implementation class $M4Z_zle)  
        org.apache.struts2.config.Configuration接口名 rQlQ^W$=?  
+TA~RC d  
struts.configuration.files 7P(jMalq  
      A list of configuration files automatically loaded by Struts N%>h>HJ  
      struts自动加载的一个配置文件列表 t_xK?``  
M*qE)dZjS  
struts.configuration.xml.reload szhSI  
      Whether to reload the XML configuration or not DZ\ '7%c  
      是否加载xml配置(true,false) 2L;=wP2?{  
E9>z.vV   
struts.continuations.package Lfcy#3!  
      The package containing actions that use Rife continuations B|"/bQ  
      含有actions的完整连续的package名称 ^X+qut+~  
[e ztu9  
struts.custom.i18n.resources gm,AH85  
      Location of additional localization properties files to load i ]8bj5j{  
      加载附加的国际化属性文件(不包含.properties后缀) ^^7@kh mNl  
mD.6cV  
struts.custom.properties 0>BI[x@  
      Location of additional configuration properties files to load $#+D:W)az  
      加载附加的配置文件的位置 7g]mrI@  
8x)i{>#i  
"_LqIW1   
struts.devMode MZX)znO  
      Whether Struts is in development mode or not 0;T7fKj  
      是否为struts开发模式 yA"?Hv\o;  
)D#}/3s  
struts.dispatcher.parametersWorkaround 6{^\7`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +D4m@O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t3?I4HQ  
#9r}Kr=P  
struts.enable.DynamicMethodInvocation zj] g^c;  
      Allows one to disable dynamic method invocation from the URL u&c%L0)E&  
        允许动态方法调用 jQ'g'c!  
T(Q ~b  
struts.freemarker.manager.classname I<sUB4T>#W  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lb}RPvQE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j!!s>7IZ  
0wNlt#G;{  
struts.i18n.encoding mF~]P8  
      The encoding to use for localization messages ]NBx5m+y@i  
      国际化信息内码 B0gD4MX/  
>g>r_0.  
struts.i18n.reload r<n:o7  
      Whether the localization messages should automatically be reloaded [t3 Kgjt  
      是否国际化信息自动加载 Ns1n|^9  
et~D9='E  
struts.locale ~!2fUewEu  
      The default locale for the Struts application ;SjNZi)4d  
      默认的国际化地区信息 T]z(>{  
2jC:uk  
struts.mapper.class Z}0xK6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]i6* $qgma  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /bo=,%wJ[  
b\H&E{Gn|x  
struts.multipart.maxSize Yb<:1?76L  
      The maximize size of a multipart request (file upload) { V(~  
      multipart请求信息的最大尺寸(文件上传用) "5k 6FV  
o938!jML_  
struts.multipart.parser \WTKw x  
      The org.apache.struts2.dispatcher.multipart. 6@/k|t>OT  
      MultiPartRequest parser implementation for a multipart request (file upload) 7- LjBlH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \/j,  
s+fxv(,"c  
R!"|~OO  
struts.multipart.saveDir ,9jk<)m]L  
      The directory to use for storing uploaded files "u4x#7n|  
      设置存储上传文件的目录夹 xrBM`Bj0@  
Kf[.@_TD<1  
struts.objectFactory R\&z3<-S  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6pS}\aD  
      com.opensymphony.xwork2.ObjectFactory接口(spring) sCY  
d7r!<u&/  
struts.objectFactory.spring.autoWire +FadOx7X$  
      Whether Spring should autoWire or not yv]|Ce@8A  
      是否自动绑定Spring )h 6w@TF  
?.F^Oi6 u  
struts.objectFactory.spring.useClassCache uQn1kI[y  
      Whether Spring should use its class cache or not DjN1EP\Xx  
      是否spring应该使用自身的cache M\k[?i  
u&S0  
struts.objectTypeDeterminer ohx$;j  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class O/Hj-u6&A  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U _A'/p^D  
r^msJ|k8[  
struts.serve.static.browserCache >0ZG&W9  
If static content served by the Struts filter should set browser caching header properties or not 0U*f"5F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w0j'>4  
Ag+B*   
struts.serve.static UcB&p t&  
      Whether the Struts filter should serve static content or not 1,OkuyXy!>  
      是否struts过滤器应该提供静态内容 EZ"i0u  
.),9q z`  
struts.tag.altSyntax " 62g!e}!c  
      Whether to use the alterative syntax for the tags or not |XG&[TI- "  
      是否可以用替代的语法替代tags 11#b%dT  
Ut'T!RD  
struts.ui.templateDir :/5G Hfyj  
      The directory containing UI templates 3V^5 4_  
      UI templates的目录夹 /({oN1X>i  
V3cKdlu Na  
struts.ui.theme DBaZcO(U  
      The default UI template theme y>E:]#F  
      默认的UI template主题 )7+z/y+[n  
hO3 q|SL  
struts.url.http.port $)KODI>|  
      The HTTP port used by Struts URLs aN*{nW  
      设置http端口 iZ}c[hC'3`  
}0anssC  
struts.url.https.port #T>?g5I  
      The HTTPS port used by Struts URLs u tkdL4G}'  
      设置https端口 z?Z"*z  
d(^HO~p  
struts.url.includeParams 6A.%)whI;  
      The default includeParams method to generate Struts URLs Z}vDP^rf  
      在url中产生 默认的includeParams Pvt!G  
&v;fK$=2C  
.s4v*bng  
struts.velocity.configfile j[\:#/J  
      The Velocity configuration file path Dbi ^%  
      velocity配置文件路径 T!9AEG  
B?^~1Ua9Zv  
struts.velocity.contexts )nj fqg  
      List of Velocity context names >2),HZp^I  
      velocity的context列表 OS<GAA0  
6m]?*k1HC  
z(%tu  
struts.velocity.manager.classname #7'k'(  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~&ns?z>x  
      org.apache.struts2.views.velocity.VelocityManager接口名 /E\04Bs  
2NjgLXP  
struts.velocity.toolboxlocation a]5y CBm  
      The location of the Velocity toolbox w nQy   
      velocity工具盒的位置 W,yLGz\  
struts.xslt.nocache C<T6l'S{?  
      Whether or not XSLT templates should not be cached L'KKU4zj  
      是否XSLT模版应该被缓存 Qt>kythi  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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