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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D^=J|7e  
P@9t;dZN  
struts.action.extension maXG:l|  
      The URL extension to use to determine if the request is meant for a Struts action cNM3I,o7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T[j#M+p  
ZuS0DPS`L  
struts.configuration #6+@M  
      The org.apache.struts2.config.Configuration implementation class nv@8tdrc  
        org.apache.struts2.config.Configuration接口名 ~c %hWt  
kic/*v\6@  
struts.configuration.files U c@Ao:  
      A list of configuration files automatically loaded by Struts 4`!Z$kt  
      struts自动加载的一个配置文件列表 Jo@|"cE=  
JV]^zW  
struts.configuration.xml.reload OH">b6>\  
      Whether to reload the XML configuration or not WJ4li@T7V  
      是否加载xml配置(true,false) /f|X(docI  
w+1 |9Y  
struts.continuations.package \lZf<f  
      The package containing actions that use Rife continuations bdQ_?S(  
      含有actions的完整连续的package名称 Mf&{7%  
(]Y 5eM  
struts.custom.i18n.resources m<j8cJ(  
      Location of additional localization properties files to load K95p>E`9e  
      加载附加的国际化属性文件(不包含.properties后缀) ">y%iE  
[Pq}p0cD  
struts.custom.properties A?-oL='  
      Location of additional configuration properties files to load yIDD@j=l  
      加载附加的配置文件的位置 J6L  K  
 DX"xy  
p2DrEId  
struts.devMode w*oQ["SL  
      Whether Struts is in development mode or not 9983aFam  
      是否为struts开发模式 uF1~FKB  
@U3Vc|  
struts.dispatcher.parametersWorkaround b\-&sM(W"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f] J M /  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K }Vv4x1U  
rL+!tH  
struts.enable.DynamicMethodInvocation 1n:8s'\  
      Allows one to disable dynamic method invocation from the URL [^U#Qj)hL  
        允许动态方法调用 n&-qaoNl  
/J:bWr  
struts.freemarker.manager.classname 9Hc$G{[a  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $!8-? ?ML  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P DrZY.-  
,!7 H]4Qx  
struts.i18n.encoding 1e&QSzL  
      The encoding to use for localization messages h $L/<3oP6  
      国际化信息内码 ;uw Ryd  
]cGA~d  
struts.i18n.reload |aT| l^2R@  
      Whether the localization messages should automatically be reloaded UG'9*(*  
      是否国际化信息自动加载 XVv K2(  
5ZMR,SZhC  
struts.locale G|( ]bvJ?  
      The default locale for the Struts application -5I2ga  
      默认的国际化地区信息 2Fq<*pxAY  
BPdfYu ,il  
struts.mapper.class 34d3g  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l,,> & F  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Bc6|n :;u  
}RwSp!}C  
struts.multipart.maxSize i1>- QDYnJ  
      The maximize size of a multipart request (file upload) DRc)iE>@  
      multipart请求信息的最大尺寸(文件上传用) ; =X P&  
{ Fawt:  
struts.multipart.parser ,)iKH]lY=  
      The org.apache.struts2.dispatcher.multipart. IGtl\b=  
      MultiPartRequest parser implementation for a multipart request (file upload) .h>8@5/s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) " QWq_R  
)tl.s)"N  
_g~qu [1  
struts.multipart.saveDir yp66{o  
      The directory to use for storing uploaded files {3.r6ZwCn  
      设置存储上传文件的目录夹 k[HAkB \{  
xYhrO  
struts.objectFactory brdmz}  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0 0 M@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `.x Fiyc  
n(L\||#+  
struts.objectFactory.spring.autoWire 4Qo]n re!  
      Whether Spring should autoWire or not + j W1V}h  
      是否自动绑定Spring w0C~*fn3l  
1;mW,l'`  
struts.objectFactory.spring.useClassCache 72oF,42y  
      Whether Spring should use its class cache or not /ig:9R  
      是否spring应该使用自身的cache Um: Hrjw  
4Rvf  
struts.objectTypeDeterminer #@"<:!?z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class AKRTBjG"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 av$/Om :  
h3Q21D'f  
struts.serve.static.browserCache _ h": >  
If static content served by the Struts filter should set browser caching header properties or not DBCK2PlJ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S p^9& ^  
l"2OP6d  
struts.serve.static `g6h9GC6  
      Whether the Struts filter should serve static content or not uvV;Mlo]  
      是否struts过滤器应该提供静态内容 }C#;fp"L  
opJMS6%r  
struts.tag.altSyntax x >^Si/t  
      Whether to use the alterative syntax for the tags or not QCX8IIHG  
      是否可以用替代的语法替代tags r%.do;5  
sRrzp=D  
struts.ui.templateDir |"9 #bU  
      The directory containing UI templates i}o[- S4  
      UI templates的目录夹 !ykx^z  
9$|Gfyv  
struts.ui.theme vsr[ur[eP  
      The default UI template theme cg*)0U-_(  
      默认的UI template主题 m/qbRk68s  
/Ne<V2AX  
struts.url.http.port 61j I  
      The HTTP port used by Struts URLs [fKUyIY_  
      设置http端口 #*g5u{k'P  
`zE}1M%y  
struts.url.https.port |7}C QU  
      The HTTPS port used by Struts URLs a'jR#MQl?  
      设置https端口 >+ 4huRb  
9`w)  
struts.url.includeParams Tp9- niW  
      The default includeParams method to generate Struts URLs |)K]U  
      在url中产生 默认的includeParams IrWD%/$H  
S-'fS2  
gW1b~( fD  
struts.velocity.configfile %0mMz.f  
      The Velocity configuration file path SJ};TEA  
      velocity配置文件路径 ulER1\W  
"eWYv3z~-  
struts.velocity.contexts @;H,gEH^  
      List of Velocity context names SY^dWLf  
      velocity的context列表 Eyh51IB.  
=pk)3<GwF  
+ke1Cn'[  
struts.velocity.manager.classname Myq5b`z  
      org.apache.struts2.views.velocity.VelocityManager implementation class MiRdX#+Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 C$@yG)Pj   
}oKG}wgY  
struts.velocity.toolboxlocation .^m>AKC0cX  
      The location of the Velocity toolbox bgK<pi)d  
      velocity工具盒的位置 Y"6w,_'m  
struts.xslt.nocache z8J."27ND  
      Whether or not XSLT templates should not be cached ]+m/;&0  
      是否XSLT模版应该被缓存 WzI8_uM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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