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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AM[jL'r|  
i.t9jN  
struts.action.extension $}nh[@  
      The URL extension to use to determine if the request is meant for a Struts action BY*2yp}7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h ??C4z  
'}Wu3X  
struts.configuration Q+d.%qhc  
      The org.apache.struts2.config.Configuration implementation class $% Ci8p  
        org.apache.struts2.config.Configuration接口名 gr>o E#7  
9Yl8n dP^E  
struts.configuration.files MkDK/K$s  
      A list of configuration files automatically loaded by Struts eOehgU5x  
      struts自动加载的一个配置文件列表 bEBBwv  
2 {e dW+  
struts.configuration.xml.reload m-ph}  
      Whether to reload the XML configuration or not ov`^o25f  
      是否加载xml配置(true,false) H^D 3NuUC  
=_RcoG/^~  
struts.continuations.package j/H>0^  
      The package containing actions that use Rife continuations %{7_E*I@n  
      含有actions的完整连续的package名称 F#1 Kk#t  
a|QE *s.  
struts.custom.i18n.resources xHJ8?bD p  
      Location of additional localization properties files to load kS+r"e .TM  
      加载附加的国际化属性文件(不包含.properties后缀) rFmKmV  
"{A*(.  
struts.custom.properties pw,O"6J*  
      Location of additional configuration properties files to load [1b6#I"x  
      加载附加的配置文件的位置 b96t0w!cs  
!/Iq{2LX  
R9Sf!LR  
struts.devMode mRhd/|g*  
      Whether Struts is in development mode or not c62dorDqy  
      是否为struts开发模式 vi]r  
;)(Sdf[P  
struts.dispatcher.parametersWorkaround qzA`d 5rX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *Y85DEA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,VNi_.W0  
;rB6u_5"I.  
struts.enable.DynamicMethodInvocation PiMKu|,3  
      Allows one to disable dynamic method invocation from the URL #NvQmz?J?  
        允许动态方法调用  0]AN;  
lPM3}52Xu  
struts.freemarker.manager.classname BBHK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Fe!D%p Qv  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q$r&4s)To  
F9(._ow[  
struts.i18n.encoding t})lr\  
      The encoding to use for localization messages AV40:y\RW  
      国际化信息内码 0b/i r2  
bIgh@= 2  
struts.i18n.reload r&}(9Cq&"y  
      Whether the localization messages should automatically be reloaded '_:(oAi,C  
      是否国际化信息自动加载 qysTjGwa]  
w8O" =},  
struts.locale KZ=u54  
      The default locale for the Struts application +R-h ,$\=7  
      默认的国际化地区信息 d1v<DU>M  
%.mEBI=hs  
struts.mapper.class C ye T]y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9\HR60V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @;vNX*-J  
X1+ wX`f  
struts.multipart.maxSize yuOS&+,P  
      The maximize size of a multipart request (file upload) 96d~~2p  
      multipart请求信息的最大尺寸(文件上传用) *G9sy_  
UuU/c-.  
struts.multipart.parser /<);=&[  
      The org.apache.struts2.dispatcher.multipart. ,CP 5~4u  
      MultiPartRequest parser implementation for a multipart request (file upload) (n,u|}8Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .evbE O5  
3jjMY  
kb71q:[  
struts.multipart.saveDir )qL&%xz  
      The directory to use for storing uploaded files rQ/ ,XH  
      设置存储上传文件的目录夹 ! QM.P t7c  
NzQ9Z1Mxy  
struts.objectFactory zN#*G i'  
      The com.opensymphony.xwork2.ObjectFactory implementation class MtS3p>4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Z$ p0&~   
?38lHn`FyQ  
struts.objectFactory.spring.autoWire F]UQuOR)  
      Whether Spring should autoWire or not <a4 TO8  
      是否自动绑定Spring O*[{z)M.  
41G5!=i  
struts.objectFactory.spring.useClassCache <Mx0\b!  
      Whether Spring should use its class cache or not 7tNc=,x}  
      是否spring应该使用自身的cache F>zl9Vi<  
|?d#eQ9a  
struts.objectTypeDeterminer Wy4$*$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K=dR%c(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CS 8jA\  
u7fK1 ^O  
struts.serve.static.browserCache :w`3cw Q  
If static content served by the Struts filter should set browser caching header properties or not OoBCY-gj*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j~E",7Q'  
33'Y[4  
struts.serve.static hoM|P8 }rh  
      Whether the Struts filter should serve static content or not :Zt2'vcGpf  
      是否struts过滤器应该提供静态内容 ]0c+/ \b&  
iYJZvN  
struts.tag.altSyntax #*9-d/K  
      Whether to use the alterative syntax for the tags or not )?=YT  
      是否可以用替代的语法替代tags ?m7:if+ y  
b>\?yL/%+?  
struts.ui.templateDir  foRD{Hx  
      The directory containing UI templates  R'}95S<  
      UI templates的目录夹 FOwnxYGVf  
#>[a{<;Kn  
struts.ui.theme X(A.X:"  
      The default UI template theme |TsE-t*E}  
      默认的UI template主题 {2&m`D bm  
yNg9X(U  
struts.url.http.port _;1}x%4v  
      The HTTP port used by Struts URLs vxFTen{-F  
      设置http端口 `F t]MR  
omSM:f_~  
struts.url.https.port 2)X4y"l  
      The HTTPS port used by Struts URLs Z[Qza13lo  
      设置https端口 lg :  
1x)ZB~L  
struts.url.includeParams 7O5`v(<9n>  
      The default includeParams method to generate Struts URLs 0AK,&nbF  
      在url中产生 默认的includeParams JyLa#\ R  
#KxbM-1=  
k o;>#::  
struts.velocity.configfile QaIjLc~W  
      The Velocity configuration file path *N'K/36;  
      velocity配置文件路径 $ _j[2EU  
KRAcnY;u  
struts.velocity.contexts k%s_0 @  
      List of Velocity context names 1MlUG5  
      velocity的context列表 &;yH@@Z  
$+JS&k/'m  
]\-^>!F#K  
struts.velocity.manager.classname gr-9l0u  
      org.apache.struts2.views.velocity.VelocityManager implementation class :W#rhuzC  
      org.apache.struts2.views.velocity.VelocityManager接口名 %nN `|\  
{7u[1[L1  
struts.velocity.toolboxlocation +gd4\ZG  
      The location of the Velocity toolbox `?T#Hl>j  
      velocity工具盒的位置 KmG  
struts.xslt.nocache hu_ ^OlF  
      Whether or not XSLT templates should not be cached ~h}Fi  
      是否XSLT模版应该被缓存 6E(Qx~i L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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