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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .U.Knn  
ph*?y  
struts.action.extension s;!TB6b@  
      The URL extension to use to determine if the request is meant for a Struts action chw6_ctR>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Wk1o H  
bgD4;)?5b  
struts.configuration [(Z{5gK  
      The org.apache.struts2.config.Configuration implementation class I8*_\Ez  
        org.apache.struts2.config.Configuration接口名 cXM4+pa=%  
mS)|i+5  
struts.configuration.files nf#;]FijB  
      A list of configuration files automatically loaded by Struts _a?c,<A  
      struts自动加载的一个配置文件列表 \09m ?;^  
RsnK B /  
struts.configuration.xml.reload Nn/me  
      Whether to reload the XML configuration or not Ql`N)!  
      是否加载xml配置(true,false) /)6+I(H  
quXL'g  
struts.continuations.package #mhR^60,  
      The package containing actions that use Rife continuations 7l Q@I}i  
      含有actions的完整连续的package名称 NDsF<2A4  
`M0m`Up  
struts.custom.i18n.resources ?` ?HqR0  
      Location of additional localization properties files to load H@ab]&  
      加载附加的国际化属性文件(不包含.properties后缀) p0c*)_a*  
sw<GlF"  
struts.custom.properties R_? Q`+X  
      Location of additional configuration properties files to load ]w7wwU^^*U  
      加载附加的配置文件的位置 {O24:'K&  
nPlg5&E  
05o +VF;z  
struts.devMode TVy\%FP^L  
      Whether Struts is in development mode or not f]c{,LFvZ  
      是否为struts开发模式 TsiI5'tx  
[2h 4%{R&  
struts.dispatcher.parametersWorkaround | ]#PF*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =$kSvCjP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2G=prS`s  
y Skz5K+|g  
struts.enable.DynamicMethodInvocation v#/k`x\  
      Allows one to disable dynamic method invocation from the URL >;wh0dBe  
        允许动态方法调用 ]7+9>V  
SSCyq#dl$  
struts.freemarker.manager.classname c, IAz  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @\ udaZc  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _JEe]  
_]oNbcbt(  
struts.i18n.encoding {,:yZ&(  
      The encoding to use for localization messages = Ob-'Syg>  
      国际化信息内码 `i~kW  
Y)V)g9  
struts.i18n.reload w|t}.u  
      Whether the localization messages should automatically be reloaded a] =k-Xh  
      是否国际化信息自动加载 %%uvia=e  
<c; U 0! m  
struts.locale ,> %=,x  
      The default locale for the Struts application  m$XMq  
      默认的国际化地区信息 wk+| }s  
Hl"^E*9x  
struts.mapper.class )4O>V?B  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W}6OMAbsE;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (U`<r-n\n  
jWpm"C  
struts.multipart.maxSize Vt4KG+zm  
      The maximize size of a multipart request (file upload) UnVYGch  
      multipart请求信息的最大尺寸(文件上传用) -l(G"]tRB  
i#4}xvi  
struts.multipart.parser g \;,NW^  
      The org.apache.struts2.dispatcher.multipart. SN#Cnu}  
      MultiPartRequest parser implementation for a multipart request (file upload) 8uh^%La8b.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,8Eg/  
fYgEiap  
rt8"U <~  
struts.multipart.saveDir dbe\ YE  
      The directory to use for storing uploaded files f;{K+\T  
      设置存储上传文件的目录夹 4:zyZu3fm  
{TOz}=R"3h  
struts.objectFactory @~ 6,8nQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class ro}WBv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /#Fz K  
K=K]R01/o  
struts.objectFactory.spring.autoWire (&o|}"kRq  
      Whether Spring should autoWire or not w ]%EJ|'  
      是否自动绑定Spring [8 I*lsS  
td!YwN*  
struts.objectFactory.spring.useClassCache U;w| =vM  
      Whether Spring should use its class cache or not eeVzOq(  
      是否spring应该使用自身的cache TxA%{0  
FE=vUQXE2  
struts.objectTypeDeterminer DeK&_)g| Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "=Xky,k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 '.gLqm}%  
mb GL)NI  
struts.serve.static.browserCache yg WwUpY  
If static content served by the Struts filter should set browser caching header properties or not FlyRcj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z km#w  
-`cNRd0n  
struts.serve.static Z,_EhEm  
      Whether the Struts filter should serve static content or not Y 8Dn&W  
      是否struts过滤器应该提供静态内容 nvInq2T 1  
,R$U(,>_0  
struts.tag.altSyntax \Dx5=Lh  
      Whether to use the alterative syntax for the tags or not GeFu_7u!|  
      是否可以用替代的语法替代tags U-.A+#<IT9  
?910ki_  
struts.ui.templateDir zq Cr'$  
      The directory containing UI templates P0c6?K6 j  
      UI templates的目录夹 fG" 4\A  
kNg{  
struts.ui.theme eW\C@>Ke  
      The default UI template theme bbG!Fg=qQ?  
      默认的UI template主题 bMGU9~CeJ  
6[T)Q^0`  
struts.url.http.port FT;I|+H*P  
      The HTTP port used by Struts URLs os[i  
      设置http端口 c~)H" n  
3gQ2wP*K  
struts.url.https.port _m@+d>f_  
      The HTTPS port used by Struts URLs ALi3JU  
      设置https端口 Iy;bzHXs  
|'QgL0?  
struts.url.includeParams DR<=C`<4(  
      The default includeParams method to generate Struts URLs 4<btWbk5u*  
      在url中产生 默认的includeParams tGw QUn  
OI)U c .  
h[& \ OD,P  
struts.velocity.configfile cnL@j_mb  
      The Velocity configuration file path [P3 Z"&  
      velocity配置文件路径 WNp-V02l  
i Qa=4'9;  
struts.velocity.contexts ,|^ lqY  
      List of Velocity context names H=@S+4_bK  
      velocity的context列表 y{9<>28  
\E8CC>Jd  
S{S.H?{F  
struts.velocity.manager.classname +5N09$f;R  
      org.apache.struts2.views.velocity.VelocityManager implementation class 1$v1:6  
      org.apache.struts2.views.velocity.VelocityManager接口名 7hAc6M$h;  
A 6j>KTU  
struts.velocity.toolboxlocation oV;I8;#\J  
      The location of the Velocity toolbox rrrn8b6  
      velocity工具盒的位置 #@Rtb\9  
struts.xslt.nocache '/GZ/$a_l  
      Whether or not XSLT templates should not be cached 0 czEA  
      是否XSLT模版应该被缓存 BDcA_= ^R&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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