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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 IN"6 =2:  
P> 7PO~E.  
struts.action.extension +@\=v}: F  
      The URL extension to use to determine if the request is meant for a Struts action w X.]O!^X~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  Lvn+EM  
ket"fXqJX  
struts.configuration <ol? 9tm  
      The org.apache.struts2.config.Configuration implementation class .y#>mXm>  
        org.apache.struts2.config.Configuration接口名 *,wW-8  
7#9fcfL  
struts.configuration.files p{w;y6e  
      A list of configuration files automatically loaded by Struts uecjR8\e  
      struts自动加载的一个配置文件列表 ~Ecx>f4nX  
 ;.~D!  
struts.configuration.xml.reload 4o( Q+6m  
      Whether to reload the XML configuration or not /tqe:*  
      是否加载xml配置(true,false) ^i17MvT'  
uHyc7^X>  
struts.continuations.package g=S|lVQm  
      The package containing actions that use Rife continuations =#vU$~a  
      含有actions的完整连续的package名称 w#;y  
-4S4I  
struts.custom.i18n.resources !Ee&e~"  
      Location of additional localization properties files to load R78lV -};Q  
      加载附加的国际化属性文件(不包含.properties后缀) QQUZneIDp  
49 1 1  
struts.custom.properties 8{p#Nl?U1  
      Location of additional configuration properties files to load ;7g~4Uv4}  
      加载附加的配置文件的位置 )'`@rq!  
.vpx@_;]9  
]DI%7kw'  
struts.devMode }/F9(m  
      Whether Struts is in development mode or not 2!}rH w  
      是否为struts开发模式 VqdR  
[3(lk_t  
struts.dispatcher.parametersWorkaround _Ns_$_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e:=+~F(f  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) NQ\<~a`Eq  
Mog!pmc{  
struts.enable.DynamicMethodInvocation 6/L34VH  
      Allows one to disable dynamic method invocation from the URL 7 9ZYRm2;  
        允许动态方法调用 A,%NdM;t=5  
3F9AnS  
struts.freemarker.manager.classname H`8}w{ft&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Us8nOr>5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 s C?-L  
w0fFm"A|W  
struts.i18n.encoding stlkt>9  
      The encoding to use for localization messages e>$E67h<~  
      国际化信息内码 XE : JL_  
'E#Bz"T  
struts.i18n.reload Z~ DR,:  
      Whether the localization messages should automatically be reloaded "A&HNkRz  
      是否国际化信息自动加载 SR { KL#NC  
[!b=A:@  
struts.locale DsGtc<l%  
      The default locale for the Struts application EY[J;H_b  
      默认的国际化地区信息 ]08 ~"p  
[xg& `x9,.  
struts.mapper.class Z66q0wR7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^es/xt  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 33b 3v\N  
# ,27,#  
struts.multipart.maxSize 5KwT(R o  
      The maximize size of a multipart request (file upload) mdukl!_x  
      multipart请求信息的最大尺寸(文件上传用) dO\irv)  
^EmI;ks  
struts.multipart.parser Y` tB5P  
      The org.apache.struts2.dispatcher.multipart. f hr QJ  
      MultiPartRequest parser implementation for a multipart request (file upload) zX ?@[OT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L:RMZp*bK  
F<A[S "  
RJT=K{2x  
struts.multipart.saveDir by0M(h  
      The directory to use for storing uploaded files Kv-4VWh  
      设置存储上传文件的目录夹 =aE!y5  
ayoqitXD?  
struts.objectFactory m8<l2O=m  
      The com.opensymphony.xwork2.ObjectFactory implementation class K,L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) JO"-"&>  
:I^I=A%Pe(  
struts.objectFactory.spring.autoWire fs wQ*  
      Whether Spring should autoWire or not 6$*ZH *  
      是否自动绑定Spring IJV1=/ NJW  
2';f8JLY  
struts.objectFactory.spring.useClassCache b)Dzau  
      Whether Spring should use its class cache or not <hSrx7o  
      是否spring应该使用自身的cache )Y@mL/_  
gl~>MasV&  
struts.objectTypeDeterminer _qQB.Dzo:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;UG]ckV-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E8s&.:;+  
p8a \> {  
struts.serve.static.browserCache maR5hgWCHe  
If static content served by the Struts filter should set browser caching header properties or not beCTOmC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?oO<PR}y  
ffqz :6  
struts.serve.static `8rInfV  
      Whether the Struts filter should serve static content or not YFY$iN~B,  
      是否struts过滤器应该提供静态内容 }tRY,f  
98AX=%8  
struts.tag.altSyntax Q]d3a+dK  
      Whether to use the alterative syntax for the tags or not m}dO\;  
      是否可以用替代的语法替代tags jk'.Gz  
uNSbAw3  
struts.ui.templateDir DYKJVn7w  
      The directory containing UI templates HKZD*E((  
      UI templates的目录夹 s9'lw'  
UBy< vwnU  
struts.ui.theme T2^0Q9E?  
      The default UI template theme sHSD`mYq  
      默认的UI template主题 ``p( )^zT  
}+1Y>W7q  
struts.url.http.port Y}pCBw  
      The HTTP port used by Struts URLs ZH<:YOQ  
      设置http端口 &58+-jzW  
SuU_psF  
struts.url.https.port [j]3='2}G  
      The HTTPS port used by Struts URLs v9qgfdBS5  
      设置https端口 xF4>D!T%8  
&eHhj9  
struts.url.includeParams ~Yw`w 2  
      The default includeParams method to generate Struts URLs NlS/PWc6(  
      在url中产生 默认的includeParams Qwm#6{5  
4G4[IA u_  
<[e E5X(  
struts.velocity.configfile vxRy7:G"  
      The Velocity configuration file path 1dy>a=W  
      velocity配置文件路径 y,D4b6  
D/ SM/  
struts.velocity.contexts Gw/imXL  
      List of Velocity context names EGZ F@#N  
      velocity的context列表 m6 )sX&  
&Q85Bq  
d }"Dp  
struts.velocity.manager.classname `T gwa  
      org.apache.struts2.views.velocity.VelocityManager implementation class < c}cgD4  
      org.apache.struts2.views.velocity.VelocityManager接口名 >+ZG {'!j  
H~IN<3ko  
struts.velocity.toolboxlocation RvQl{aL  
      The location of the Velocity toolbox $H9+>Z0(  
      velocity工具盒的位置 Tjfg[Z/x  
struts.xslt.nocache '<A:`V9M}v  
      Whether or not XSLT templates should not be cached -Tw96 dv  
      是否XSLT模版应该被缓存 fJb<<6C  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八