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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Y&1!Z*OL;  
yhw:xg_;Kz  
struts.action.extension E.zYi7YUKK  
      The URL extension to use to determine if the request is meant for a Struts action XZUB*P}]D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 d=xI   
;L\!g%a  
struts.configuration {Oc?C:aI=  
      The org.apache.struts2.config.Configuration implementation class T_5*iwI  
        org.apache.struts2.config.Configuration接口名 ~#IWM+I  
"Gi+zkVm  
struts.configuration.files |g: '')>[  
      A list of configuration files automatically loaded by Struts X-*KQ+ ?  
      struts自动加载的一个配置文件列表 {Kq*5Aq8  
.&* ({UM  
struts.configuration.xml.reload =DmPPl{  
      Whether to reload the XML configuration or not vkNZ -`+I  
      是否加载xml配置(true,false) n;S0fg  
eY6gb!5u  
struts.continuations.package @SF" )j|  
      The package containing actions that use Rife continuations ^-c si   
      含有actions的完整连续的package名称 4X(1   
>h/)r6  
struts.custom.i18n.resources _^ CQ*+F  
      Location of additional localization properties files to load z$8e6*  
      加载附加的国际化属性文件(不包含.properties后缀) z Et6  
:3E8`q~c1  
struts.custom.properties ;ZE<6;#3IP  
      Location of additional configuration properties files to load ^G7n#  
      加载附加的配置文件的位置 ]`CKQ> o  
$@ T6g  
)+Y\NO?O  
struts.devMode gOES2 4$2  
      Whether Struts is in development mode or not g#9*bF  
      是否为struts开发模式 ?=|) n%  
fxtYo,;$  
struts.dispatcher.parametersWorkaround m\}\RnZu  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =oKPMmpCZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Bcd0   
Hm8EYPr J  
struts.enable.DynamicMethodInvocation q6m87O9  
      Allows one to disable dynamic method invocation from the URL JJbM)B@-  
        允许动态方法调用 Q%AS ;(d  
2jrX  
struts.freemarker.manager.classname 9^C!,A{u4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^c[CyZ:a  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =w;xaxjL  
Rm[rQ }:  
struts.i18n.encoding i+T0}M<  
      The encoding to use for localization messages kHo;9j-U  
      国际化信息内码 o}AqNw60v  
2!~>)N  
struts.i18n.reload Y+PvL|`O  
      Whether the localization messages should automatically be reloaded ?Ss RN jeL  
      是否国际化信息自动加载 S*DBY~pZy  
[<3Q$*Ew  
struts.locale EiIFVP   
      The default locale for the Struts application ;>QK}#'  
      默认的国际化地区信息 +=29y@c  
61eKGcjs:  
struts.mapper.class NNREt:+kr  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sP8-gkkor  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "#eNFCo7k  
W0uM?J\O  
struts.multipart.maxSize f'zFg["aZS  
      The maximize size of a multipart request (file upload) 7]HIE]#  
      multipart请求信息的最大尺寸(文件上传用) Ph7(JV{  
K&"Pm9  
struts.multipart.parser :BZx ) HxQ  
      The org.apache.struts2.dispatcher.multipart. oRJP5Y5na  
      MultiPartRequest parser implementation for a multipart request (file upload) (1r>50Ge  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [2H(yLwO  
*v7& T  
4[f7X4d$  
struts.multipart.saveDir Pi]s<3PL  
      The directory to use for storing uploaded files J!^~KN6[  
      设置存储上传文件的目录夹 t73Z3M  
scPq\Qd?O  
struts.objectFactory ,*}g r  
      The com.opensymphony.xwork2.ObjectFactory implementation class w$_'xX(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <J_,9&\J  
77=y!SDP  
struts.objectFactory.spring.autoWire C6=;(=?C  
      Whether Spring should autoWire or not efAahH  
      是否自动绑定Spring XtH_+W+O  
n-| i  
struts.objectFactory.spring.useClassCache 8Q)mmkI\=  
      Whether Spring should use its class cache or not |Nx!g fU  
      是否spring应该使用自身的cache K&a]pL6D  
F# 37Qv  
struts.objectTypeDeterminer *mhw5Z=!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5)zh@aJ@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .]P;fCQmM  
|EEz>ci  
struts.serve.static.browserCache S bqM=I+  
If static content served by the Struts filter should set browser caching header properties or not p~zTRnm  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YvP"W/5  
o!_; H}pq  
struts.serve.static Qj~W-^/ -  
      Whether the Struts filter should serve static content or not `\u),$  
      是否struts过滤器应该提供静态内容 [{!j9E?(  
z1KC$~{O  
struts.tag.altSyntax u{lDof>  
      Whether to use the alterative syntax for the tags or not z?) RF[  
      是否可以用替代的语法替代tags *$Wx*Jo  
$X\` 7`v  
struts.ui.templateDir 63dtO{:4  
      The directory containing UI templates #?|1~HC  
      UI templates的目录夹 @aPu}Hi  
2Q_{2(nQb  
struts.ui.theme ws(}K+y_  
      The default UI template theme !vo'8r?&  
      默认的UI template主题 ][K8\  
&8YI)G%  
struts.url.http.port U@t?jTMBkO  
      The HTTP port used by Struts URLs VEYKrZA  
      设置http端口 tS/APSY  
SIBIh-L  
struts.url.https.port BHBT=,sI  
      The HTTPS port used by Struts URLs f+88R=-u6S  
      设置https端口 .$s|T  
k-PRV8WO  
struts.url.includeParams PNxO \Rc  
      The default includeParams method to generate Struts URLs %<*pM@  
      在url中产生 默认的includeParams {aa,#B] i  
JP% ;rAoJ  
)*<d1$aM  
struts.velocity.configfile g8qAJ4  
      The Velocity configuration file path 8{=( #]  
      velocity配置文件路径 7/$Z7J!k  
(a4y1k t-  
struts.velocity.contexts d.(]V2X.J  
      List of Velocity context names U,3K6AZA 7  
      velocity的context列表 nsw8[pk  
i2R]lE8  
UU~;B  
struts.velocity.manager.classname D@ 1^:'$V  
      org.apache.struts2.views.velocity.VelocityManager implementation class cw-JGqLx  
      org.apache.struts2.views.velocity.VelocityManager接口名 `0vy+T5  
[&}<! :9'  
struts.velocity.toolboxlocation ;%.k}R%O@  
      The location of the Velocity toolbox |q b92|?  
      velocity工具盒的位置 ?|rw=%  
struts.xslt.nocache Gg,k  
      Whether or not XSLT templates should not be cached ,7nb;$]  
      是否XSLT模版应该被缓存 *E q7r>[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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