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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @BI;H V%k  
3U[:N &Jb  
struts.action.extension ic?(`6N8  
      The URL extension to use to determine if the request is meant for a Struts action U/>l>J5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W%< z|  
kC/An@J^#  
struts.configuration RtF!(gd  
      The org.apache.struts2.config.Configuration implementation class {6HgKI  
        org.apache.struts2.config.Configuration接口名 Fz@U\\94z  
)S|&3\  
struts.configuration.files #++D|oE  
      A list of configuration files automatically loaded by Struts X="]q|Z  
      struts自动加载的一个配置文件列表 +pbP;zu  
c=4z+_K  
struts.configuration.xml.reload B8?j"AF  
      Whether to reload the XML configuration or not ~f?brQ?  
      是否加载xml配置(true,false) dIk9C|-.  
ZtX \E+mC  
struts.continuations.package Ksvk5r&y  
      The package containing actions that use Rife continuations O2oF\E_6  
      含有actions的完整连续的package名称 Twpk@2=l  
'$q3Ze  
struts.custom.i18n.resources q 7hoI]  
      Location of additional localization properties files to load uUh6/=y  
      加载附加的国际化属性文件(不包含.properties后缀) MUMB\K*$  
F2dwT  
struts.custom.properties !>6`+$=U  
      Location of additional configuration properties files to load \r- v]]_<d  
      加载附加的配置文件的位置 :<,tGYg/!  
.!_^<c6  
>\!k~Zi  
struts.devMode ^6PKSEba  
      Whether Struts is in development mode or not ->J5|c#  
      是否为struts开发模式 *!`bC@E  
y+$a}=cb0  
struts.dispatcher.parametersWorkaround Ba9"IXKH  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }C5Fvy6uz  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /_tN&[  
<(BIWm*  
struts.enable.DynamicMethodInvocation ])vqXjN6"  
      Allows one to disable dynamic method invocation from the URL 8hZc#b;  
        允许动态方法调用 8FgF6ip  
r ['zp=9  
struts.freemarker.manager.classname /F}dC/W  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 'F7UnkKO|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 E{[>j'dwc  
`i6q\-12n  
struts.i18n.encoding 7E R!>l+  
      The encoding to use for localization messages j.KV :zJU  
      国际化信息内码 ^[1Xl7)`  
r9~IR  
struts.i18n.reload z=qxZuFkDs  
      Whether the localization messages should automatically be reloaded r z5@E  
      是否国际化信息自动加载 PH=O>a`a_O  
oX?~  
struts.locale gg$:U  
      The default locale for the Struts application *)Pb-c  
      默认的国际化地区信息 VoNk.h"T  
K9S(Xip  
struts.mapper.class XknbcA|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NP$ D9#   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $%5vJiuk  
G:Nwi=vN  
struts.multipart.maxSize ._`?ZJ  
      The maximize size of a multipart request (file upload) ]v0=jm5A  
      multipart请求信息的最大尺寸(文件上传用) z<8WN[fB  
@EUvx  
struts.multipart.parser ?nD]p!  
      The org.apache.struts2.dispatcher.multipart. QMwV6cA  
      MultiPartRequest parser implementation for a multipart request (file upload) |S3wCG  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [V41 Gk  
l/56;f\IA  
Bx0=D:j  
struts.multipart.saveDir _>G=xKA#e  
      The directory to use for storing uploaded files M>@PRb:Oc  
      设置存储上传文件的目录夹 +e&Q<q!,q  
f&C]}P  
struts.objectFactory aTE;Gy,W  
      The com.opensymphony.xwork2.ObjectFactory implementation class aY\(R02B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ] {=qdgJ  
kS)|oU K  
struts.objectFactory.spring.autoWire rnXoA, c/  
      Whether Spring should autoWire or not -nnAe F  
      是否自动绑定Spring g>_d,#F  
x24&mWgU  
struts.objectFactory.spring.useClassCache H@`lM~T[  
      Whether Spring should use its class cache or not ePTN^#|W  
      是否spring应该使用自身的cache ]u"x=S93  
*m`F-J6U  
struts.objectTypeDeterminer g3\1 3<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -@/!u9l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r1.OLn?C  
O @{<?[  
struts.serve.static.browserCache S|T*-?|  
If static content served by the Struts filter should set browser caching header properties or not &;$- &;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 je=XZ's,i~  
me@EKspX  
struts.serve.static ]wV_xZ)l^A  
      Whether the Struts filter should serve static content or not pY(S]i  
      是否struts过滤器应该提供静态内容 9HD5A$  
[ejl #'*5  
struts.tag.altSyntax `B7?F$J  
      Whether to use the alterative syntax for the tags or not ZnD(RM  
      是否可以用替代的语法替代tags i{k v$ir!  
1f0maN  
struts.ui.templateDir %DhLU~VX  
      The directory containing UI templates tdn|mX#  
      UI templates的目录夹 +=(@=PJ6  
}*56 DX  
struts.ui.theme L7s _3\  
      The default UI template theme 4,:)%KB"V  
      默认的UI template主题 \w2X.2b.F  
Io<L! =>  
struts.url.http.port {EVHkQ+o  
      The HTTP port used by Struts URLs xd]7?L@h.I  
      设置http端口 _ Zzne  
ybpU?n  
struts.url.https.port q ?m<9`  
      The HTTPS port used by Struts URLs z A@w[.  
      设置https端口 dt(Lp_&v  
#YB3Ug]z  
struts.url.includeParams )!d_Td\-  
      The default includeParams method to generate Struts URLs hr/|Fn+kA  
      在url中产生 默认的includeParams _kQOax{c/  
> `+lEob  
qEnmms1  
struts.velocity.configfile :47"c3J  
      The Velocity configuration file path O\^D 6\ v  
      velocity配置文件路径 x!A5j $k0  
;`FR1KIg  
struts.velocity.contexts n$3w=9EX *  
      List of Velocity context names 8PvO_Gz5  
      velocity的context列表 u1/q8'RW  
420cbD3a  
vXibg  
struts.velocity.manager.classname wKAxUPzm  
      org.apache.struts2.views.velocity.VelocityManager implementation class  A}n7A   
      org.apache.struts2.views.velocity.VelocityManager接口名 ?f=7F %  
XC\'8hL:  
struts.velocity.toolboxlocation ~JohcU}d  
      The location of the Velocity toolbox ]H=P(Z -  
      velocity工具盒的位置 \-I)dMm[  
struts.xslt.nocache ;;n=(cM|z  
      Whether or not XSLT templates should not be cached /P/::$  
      是否XSLT模版应该被缓存 v#$}3+KVC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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