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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 :1BM=_WwI  
0o;~~\fq.  
struts.action.extension <[8@5?&&  
      The URL extension to use to determine if the request is meant for a Struts action " ~n3iNkP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :C}Hy  
pU DO7Q]  
struts.configuration r9 ;`  
      The org.apache.struts2.config.Configuration implementation class |J?:91  
        org.apache.struts2.config.Configuration接口名 C*j9Iaj  
< %rh/r  
struts.configuration.files Z3 n~&!  
      A list of configuration files automatically loaded by Struts V#H8d_V  
      struts自动加载的一个配置文件列表 f#mx:Q.7I  
a8NVLD>7}  
struts.configuration.xml.reload ^+a  
      Whether to reload the XML configuration or not (. H ]|  
      是否加载xml配置(true,false) Gx;xj0-"  
;r@!a!NLB  
struts.continuations.package =WjJN Q  
      The package containing actions that use Rife continuations 5l&jPk!=  
      含有actions的完整连续的package名称 V@Kn24''  
4zX=3iBt  
struts.custom.i18n.resources Q%M_   
      Location of additional localization properties files to load Dpj-{q7C  
      加载附加的国际化属性文件(不包含.properties后缀) ]F_r6*<  
:Fo4O'UC  
struts.custom.properties Uir*%*4:  
      Location of additional configuration properties files to load 0k.v0a7%  
      加载附加的配置文件的位置 aYBTrOdz  
\L %q[  
O$(c. (_$  
struts.devMode v<+4BjV!J}  
      Whether Struts is in development mode or not QD}1?)}  
      是否为struts开发模式 U%n,XOJ  
p70,\&@3  
struts.dispatcher.parametersWorkaround Y^X:vI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Np)ho8zU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) RCCv>o  
qTS @D  
struts.enable.DynamicMethodInvocation T(&kXMaB  
      Allows one to disable dynamic method invocation from the URL BP:(IP!&  
        允许动态方法调用 CX.SYr&!R  
SLg+H  
struts.freemarker.manager.classname 1h{>[ 'L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \"J?@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (`F|nG=X  
jF4csO=E  
struts.i18n.encoding (>mi!:  
      The encoding to use for localization messages ?^Pq/VtZ  
      国际化信息内码 KZW'O b>[  
$(XgKq&xWZ  
struts.i18n.reload L2d:.&5  
      Whether the localization messages should automatically be reloaded @$EjD3Z-  
      是否国际化信息自动加载 yqYhe-"  
8Kk3_ y  
struts.locale ^pN 5NwC5  
      The default locale for the Struts application OH0S2?,{>  
      默认的国际化地区信息 FQ0KU b}0  
\w3%[+c  
struts.mapper.class d4% `e&K]'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]79~:m[C  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 P6:;Y5e0  
:b <KX%g  
struts.multipart.maxSize % mJ~F*Dy  
      The maximize size of a multipart request (file upload) -E}>h[;qZ  
      multipart请求信息的最大尺寸(文件上传用) au,jAk  
8H7O/n  
struts.multipart.parser IO*l vy  
      The org.apache.struts2.dispatcher.multipart. wy YtpW  
      MultiPartRequest parser implementation for a multipart request (file upload) |G)Y8 #D  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q g$($   
{ v,{x1  
})KJ60B  
struts.multipart.saveDir nW~$ (Qnd  
      The directory to use for storing uploaded files 5Yn{?r\#F  
      设置存储上传文件的目录夹 W  _J&M4  
) b/n)%6  
struts.objectFactory ENO? ;  
      The com.opensymphony.xwork2.ObjectFactory implementation class b~jIv:9T  
      com.opensymphony.xwork2.ObjectFactory接口(spring) epn#qeX  
!O 4<I_EY{  
struts.objectFactory.spring.autoWire n}0za#G  
      Whether Spring should autoWire or not is9}ePC7Xu  
      是否自动绑定Spring 5GaoJ v  
oPCrD.s  
struts.objectFactory.spring.useClassCache FOeVRq:#  
      Whether Spring should use its class cache or not "Wo.8  
      是否spring应该使用自身的cache  oHOW5  
Q!YF!WoBX  
struts.objectTypeDeterminer 0r0c|*[+4z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \QliHm!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 El'yiJ  
KUF$h Er  
struts.serve.static.browserCache ';&0~[R[  
If static content served by the Struts filter should set browser caching header properties or not Q! Kn|mnN  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kkT3 wP  
kJI3`gS+  
struts.serve.static <b6s&"%=  
      Whether the Struts filter should serve static content or not 7AI3|Ts]p  
      是否struts过滤器应该提供静态内容 E2Us#a  
@+iC/  
struts.tag.altSyntax 4 #aqz9k  
      Whether to use the alterative syntax for the tags or not %)8d{1at  
      是否可以用替代的语法替代tags K*HCFqr U"  
K2*1T+?X  
struts.ui.templateDir I$+%~4  
      The directory containing UI templates y+?=E g  
      UI templates的目录夹 +mivqR~{{  
:G^"e  
struts.ui.theme >vHH  
      The default UI template theme  qe[  
      默认的UI template主题 VPWxHVf  
f( ]R/'o  
struts.url.http.port mPckf  
      The HTTP port used by Struts URLs (L`l+t1  
      设置http端口 %I_&Ehu  
G XarUjs  
struts.url.https.port "fRlEO[9  
      The HTTPS port used by Struts URLs ^CfM|L8>  
      设置https端口 -E6Jf$  
sk~za  
struts.url.includeParams TG4\%S$w  
      The default includeParams method to generate Struts URLs   YfTd  
      在url中产生 默认的includeParams mgo'MW\   
2IKxh  
]#vWKNv:;  
struts.velocity.configfile Q.r B\8ea  
      The Velocity configuration file path Km[]^;6  
      velocity配置文件路径 Y=5!QLV4  
;:AG2zE!  
struts.velocity.contexts 4Sg<r,G  
      List of Velocity context names \H,V 9!B  
      velocity的context列表 +]A+!8%Z  
,D:iQDG^  
$/NGNkl[  
struts.velocity.manager.classname C]yvK}  
      org.apache.struts2.views.velocity.VelocityManager implementation class n"XdHW0  
      org.apache.struts2.views.velocity.VelocityManager接口名 Z~duJsH  
#x, ]D  
struts.velocity.toolboxlocation 2ZU@>W  
      The location of the Velocity toolbox ''$`;?t>  
      velocity工具盒的位置 Qe7" Z  
struts.xslt.nocache <dq,y>  
      Whether or not XSLT templates should not be cached R"m.&%n  
      是否XSLT模版应该被缓存 'wCS6_K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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