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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ](]*]a4ss  
u XaL  
struts.action.extension O_qu;Dx!  
      The URL extension to use to determine if the request is meant for a Struts action F+lm[4n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V]+o)A$  
?3.(Vqwog  
struts.configuration ^A:!ni@3  
      The org.apache.struts2.config.Configuration implementation class [_B+DD=}  
        org.apache.struts2.config.Configuration接口名 eUzU]6h  
&C CHxjsKR  
struts.configuration.files L3-<Kop  
      A list of configuration files automatically loaded by Struts 1v>  
      struts自动加载的一个配置文件列表 WHZe)|n  
Y8x(#qp,  
struts.configuration.xml.reload hWl""66+5  
      Whether to reload the XML configuration or not K7)j  
      是否加载xml配置(true,false) zpBBnlq  
!"Z."fm*  
struts.continuations.package MoC*tImWR  
      The package containing actions that use Rife continuations & y#y>([~  
      含有actions的完整连续的package名称 9_g>BI;"8  
-wPuml!hZ|  
struts.custom.i18n.resources S7@ZtFf  
      Location of additional localization properties files to load _|Y.!ZRYP  
      加载附加的国际化属性文件(不包含.properties后缀) !7kAJG g  
<=B1"'\  
struts.custom.properties IMl9\U  
      Location of additional configuration properties files to load '8]|E  
      加载附加的配置文件的位置 &!H~bzg  
g~bf!  
f\U?:8 3  
struts.devMode ^bZ<9}  
      Whether Struts is in development mode or not SSSDl$}'t  
      是否为struts开发模式 l}U~I 3}).  
<k!mdj)  
struts.dispatcher.parametersWorkaround 8=ukS_?Vy  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k)<~nc-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,3fuX~g  
UKt/0Ze  
struts.enable.DynamicMethodInvocation ?qq!%4mTB  
      Allows one to disable dynamic method invocation from the URL gxBl1  
        允许动态方法调用 [Gh%nsH  
B^Rw?: hN  
struts.freemarker.manager.classname ="'rH.n #  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $9j>VGf=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 n1k$)S$iiy  
< -@,  
struts.i18n.encoding . }-@;:yh  
      The encoding to use for localization messages M]%!n3Fb  
      国际化信息内码 H4,.H,PZ  
A?6{  
struts.i18n.reload iXr`0V   
      Whether the localization messages should automatically be reloaded Ivd[U`=Q  
      是否国际化信息自动加载 /ze_{{o  
#*ZnA,  
struts.locale !."%M^J  
      The default locale for the Struts application p``;!3~ ~  
      默认的国际化地区信息 Sop Ntcu!  
:$X4#k<  
struts.mapper.class A{{q'zb!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a[d{>Fb.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 i;uG:,ro  
Gdc ~Lh  
struts.multipart.maxSize ;|;h9"  
      The maximize size of a multipart request (file upload) @xW"rX#7f  
      multipart请求信息的最大尺寸(文件上传用) utFcFd X  
.:r2BgL  
struts.multipart.parser iuH8g  
      The org.apache.struts2.dispatcher.multipart. qxg7cj2  
      MultiPartRequest parser implementation for a multipart request (file upload) 7~%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F$sF 'cw  
I;kUG_c(4  
Qzs\|KS  
struts.multipart.saveDir ZmR[5 mv@  
      The directory to use for storing uploaded files h[[/p {z  
      设置存储上传文件的目录夹 x]mye  
N('S2yfDR  
struts.objectFactory EP*["fx  
      The com.opensymphony.xwork2.ObjectFactory implementation class tnKpn-LPA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7-G'8t  
709Uv5  
struts.objectFactory.spring.autoWire t?#vb}_  
      Whether Spring should autoWire or not C[87f-g  
      是否自动绑定Spring 2y .-4?e  
hq&  
struts.objectFactory.spring.useClassCache ; ei<Q =[  
      Whether Spring should use its class cache or not R; Gl{  
      是否spring应该使用自身的cache X-;Qorb^  
6S+K*/w  
struts.objectTypeDeterminer oE|u;o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class X{9JSq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4E>/*F!  
R>YMGUH~w  
struts.serve.static.browserCache f@xfb ie !  
If static content served by the Struts filter should set browser caching header properties or not k1LtqV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y/eN)  
)2<B$p  
struts.serve.static ]%Q]C 8[C  
      Whether the Struts filter should serve static content or not >w]k3MC  
      是否struts过滤器应该提供静态内容 w7*b}D@65\  
BF1O|Q|d6  
struts.tag.altSyntax ~gLEhtW  
      Whether to use the alterative syntax for the tags or not w'zO(6 `  
      是否可以用替代的语法替代tags )2^/?jK  
8ZDqqz^C0  
struts.ui.templateDir wEHrer  
      The directory containing UI templates 6GrMcI@hS  
      UI templates的目录夹 #QyK?i*  
G~iYF(:&  
struts.ui.theme Z+h7 0,|  
      The default UI template theme ja,L)b:  
      默认的UI template主题 UV *tO15i  
xjn8)C  
struts.url.http.port PE6u8ZAb"  
      The HTTP port used by Struts URLs a*n%SUP  
      设置http端口 Ow .)h(y/  
Ppo^qb  
struts.url.https.port ,ov v  
      The HTTPS port used by Struts URLs Zy+QA>d|  
      设置https端口 g]PLW3  
,h(f\h(9  
struts.url.includeParams JXy667_  
      The default includeParams method to generate Struts URLs /K<GN7vN  
      在url中产生 默认的includeParams 39a]B`y  
ptcH>wM!  
Rp%\`'+Xz  
struts.velocity.configfile L8-[:1  
      The Velocity configuration file path :+dWJNY:  
      velocity配置文件路径  KHs{/  
Mbi+Vv-  
struts.velocity.contexts m 'H  
      List of Velocity context names z1@sEfk>  
      velocity的context列表  !k??Kj  
x8rFMR#S=  
p7=^m>Z6  
struts.velocity.manager.classname p ra-8z-  
      org.apache.struts2.views.velocity.VelocityManager implementation class r|H!s,  
      org.apache.struts2.views.velocity.VelocityManager接口名 3TvhOC>yG  
Fi3(glgd-  
struts.velocity.toolboxlocation [ sO<6?LY  
      The location of the Velocity toolbox VL!kX``^F  
      velocity工具盒的位置  rgvc5p  
struts.xslt.nocache q$2taG}  
      Whether or not XSLT templates should not be cached !L.z4n,n+  
      是否XSLT模版应该被缓存 H1ui#5n2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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