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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p arG  
vK~KeZ\,p=  
struts.action.extension N2Hb19/k  
      The URL extension to use to determine if the request is meant for a Struts action !sWBj'[>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Upen/1bA  
70(?X/5#  
struts.configuration ZO$T/GE6%  
      The org.apache.struts2.config.Configuration implementation class e!'u{>u  
        org.apache.struts2.config.Configuration接口名 =x]dP.  
4=cq76  
struts.configuration.files 8Y'"=!3  
      A list of configuration files automatically loaded by Struts BVeNK=7m%  
      struts自动加载的一个配置文件列表 ?MB nnyo6  
]`9K|v  
struts.configuration.xml.reload e:occT  
      Whether to reload the XML configuration or not Lwk-  
      是否加载xml配置(true,false) izo $0  
iP_Xr~w  
struts.continuations.package (j"MsCwE  
      The package containing actions that use Rife continuations >1zzDd_  
      含有actions的完整连续的package名称 W}3vY]  
uS,$P34^oy  
struts.custom.i18n.resources LRs; >O  
      Location of additional localization properties files to load o)WSMV(&f  
      加载附加的国际化属性文件(不包含.properties后缀) $4,6&dwg  
VHNiTp  
struts.custom.properties 63$m& ]x  
      Location of additional configuration properties files to load !-~(*tn  
      加载附加的配置文件的位置 4tWI)}+ak  
c>.Xc[H  
E v#aMK  
struts.devMode ~Wv?p4  
      Whether Struts is in development mode or not PCjY,O  
      是否为struts开发模式 &i RX-)^u  
NE"fyX`  
struts.dispatcher.parametersWorkaround Y.#+Yh[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )FPbE^s(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m"]ys #  
W -&5 v  
struts.enable.DynamicMethodInvocation TaG-^bX8B  
      Allows one to disable dynamic method invocation from the URL xM\ApN~W  
        允许动态方法调用 8?XZF[D  
>j3N-;o@?  
struts.freemarker.manager.classname :B~c>:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RGmpkQEp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !f 6  
T(F8z5s5  
struts.i18n.encoding 5;Xrf=  
      The encoding to use for localization messages t`B']Ac;T  
      国际化信息内码 Nig-D>OS  
c2/HY8ttRD  
struts.i18n.reload 7/L7L5h<  
      Whether the localization messages should automatically be reloaded -&}E:zoe  
      是否国际化信息自动加载 %\0 Y1!Hw  
lfP|+=^B  
struts.locale |#6Lcz7[  
      The default locale for the Struts application _(foJRr  
      默认的国际化地区信息 $}fA;BP  
KG$2u:n  
struts.mapper.class u7d]%<~'$F  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iXFaQ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 stPCw$@  
-yeT$P&|  
struts.multipart.maxSize  \Z':hw  
      The maximize size of a multipart request (file upload) Sqs`E[G*  
      multipart请求信息的最大尺寸(文件上传用) pyKag;ZtP  
xFZq6si?  
struts.multipart.parser 5mU_S\)4:z  
      The org.apache.struts2.dispatcher.multipart. CggEAi~  
      MultiPartRequest parser implementation for a multipart request (file upload) c+=&5=i[3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tS$Ne7yk e  
nP^$p C  
'Nh^SbD+_|  
struts.multipart.saveDir D 3PF(Wx  
      The directory to use for storing uploaded files x<(h9tB  
      设置存储上传文件的目录夹 n>WS@b/o  
~6tY\6$9f  
struts.objectFactory N2>JG]G  
      The com.opensymphony.xwork2.ObjectFactory implementation class PJ{.jWwD  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Tx*m p+q  
\!r^6'A   
struts.objectFactory.spring.autoWire Y{KJk'xN5W  
      Whether Spring should autoWire or not cO:x{~  
      是否自动绑定Spring \IKr+wlN8  
|{ k B`  
struts.objectFactory.spring.useClassCache yWzTHW`)Mr  
      Whether Spring should use its class cache or not <mN3:G  
      是否spring应该使用自身的cache DI_mF#5q  
5WUrRQ?E  
struts.objectTypeDeterminer XebCl{HHp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class P]n ' q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 x>^S..K}L%  
SpgVsz  
struts.serve.static.browserCache p.G7Cs  
If static content served by the Struts filter should set browser caching header properties or not L" o6)N  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _3hEYeh  
)l=j,4nn  
struts.serve.static d1-QkW^0y  
      Whether the Struts filter should serve static content or not ;bX{7j  
      是否struts过滤器应该提供静态内容 xInWcQ  
?V0IryF;  
struts.tag.altSyntax S'txY\  
      Whether to use the alterative syntax for the tags or not |s:!LU&OL\  
      是否可以用替代的语法替代tags 4Xz|HU?  
jAu/] HZx  
struts.ui.templateDir W;=ZQ5Lw  
      The directory containing UI templates \m<*3eS  
      UI templates的目录夹 jzQgD ed ]  
+mJAIjH  
struts.ui.theme `6zoZM7?Y  
      The default UI template theme OHU(?TBo  
      默认的UI template主题 q45n.A6a  
;/v^@  
struts.url.http.port 5q\]]LV>  
      The HTTP port used by Struts URLs VD4(  
      设置http端口 fA8 ,wy|>  
FX{Sb"  
struts.url.https.port 'G&w[8mqY  
      The HTTPS port used by Struts URLs %EuSP0  
      设置https端口 =#W6+=YN8  
E:2Or~  
struts.url.includeParams R7#B_^ $  
      The default includeParams method to generate Struts URLs 7*sB"_U2  
      在url中产生 默认的includeParams 8qT/1b  
zR%#Q_  
zQ6otDZx  
struts.velocity.configfile {J[0UZ6  
      The Velocity configuration file path IMj{n.y4  
      velocity配置文件路径 Lr`yl$6  
Na4\)({  
struts.velocity.contexts [ACa<U/  
      List of Velocity context names ZPXxrmq%  
      velocity的context列表 L!\I>a5C0G  
5( 3tPbm{  
lyP<&<Y5  
struts.velocity.manager.classname G3q\Z`|3h  
      org.apache.struts2.views.velocity.VelocityManager implementation class -{HA+YL H  
      org.apache.struts2.views.velocity.VelocityManager接口名 T5ol2  
 0y?bwxkc  
struts.velocity.toolboxlocation bi QDupTz  
      The location of the Velocity toolbox Up~#]X  
      velocity工具盒的位置 .RdnJ&K*  
struts.xslt.nocache \]zH M.E1  
      Whether or not XSLT templates should not be cached y:mXv<g  
      是否XSLT模版应该被缓存 8/k* "^3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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