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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &[23DrI8  
yBs  
struts.action.extension Il*wVNrZI  
      The URL extension to use to determine if the request is meant for a Struts action VGq2ITg9eE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |CStw"Fog  
d=H C;T)  
struts.configuration i#(T?=VPcy  
      The org.apache.struts2.config.Configuration implementation class ]5uCs[  
        org.apache.struts2.config.Configuration接口名 6Dw[n   
~;Xdz/  
struts.configuration.files rf^1%Zo:  
      A list of configuration files automatically loaded by Struts 1 9;\:tN  
      struts自动加载的一个配置文件列表 b .j\=c  
qo$<&'r  
struts.configuration.xml.reload nyTfTn  
      Whether to reload the XML configuration or not Ql [ =  
      是否加载xml配置(true,false) 1w1(FpQO.  
)CihqsA2  
struts.continuations.package [A[vR7&S  
      The package containing actions that use Rife continuations nJA\P1@m  
      含有actions的完整连续的package名称 )jCAfdnCs  
`6Y'H2WJ?  
struts.custom.i18n.resources "m/0>UU0  
      Location of additional localization properties files to load ,v>P05  
      加载附加的国际化属性文件(不包含.properties后缀) =(.HO:#  
2l8jw:=H  
struts.custom.properties bWjW_$8  
      Location of additional configuration properties files to load ,#D &*  
      加载附加的配置文件的位置 d}ue/hdw  
^om(6JL2  
s.Yywy  
struts.devMode 9J0m  
      Whether Struts is in development mode or not U,aV {qz  
      是否为struts开发模式 ^ 8egn|  
au0)yg*V1  
struts.dispatcher.parametersWorkaround >qAQNX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v=9:N/sW  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,%>/8*  
$+:_>n^#/  
struts.enable.DynamicMethodInvocation FW=oP>f]w  
      Allows one to disable dynamic method invocation from the URL AqE . TK  
        允许动态方法调用 .P-@ !Q5*  
b s:E`Q  
struts.freemarker.manager.classname sq&$   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7lf* vqG  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 gnx!_H\h<  
 8(5}Jo+  
struts.i18n.encoding ]?b#~  
      The encoding to use for localization messages X;ijCZb3b  
      国际化信息内码 H-^>Co_  
<Cn-MOoM  
struts.i18n.reload NfDg=[FN[  
      Whether the localization messages should automatically be reloaded p>65(&N,  
      是否国际化信息自动加载 o}Dy\UfU  
RzFv``g  
struts.locale ~qco -b  
      The default locale for the Struts application DoNbCVZ  
      默认的国际化地区信息 G|IO~o0+  
mqw& SxU9  
struts.mapper.class h-Ffs  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class XQHvs{P o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 trtI^^/%  
Z5_U D  
struts.multipart.maxSize DHgEhf]  
      The maximize size of a multipart request (file upload) qZCA16  
      multipart请求信息的最大尺寸(文件上传用) ZIkXy*<(  
|V%Qp5 XJ  
struts.multipart.parser $(.[b][S  
      The org.apache.struts2.dispatcher.multipart. ZU7,=B=  
      MultiPartRequest parser implementation for a multipart request (file upload) /&cb`^"U^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r Fdq \BSi  
wUW+S5"K  
\ec,=7S<Zf  
struts.multipart.saveDir 7 45Uo'  
      The directory to use for storing uploaded files JX`+b  
      设置存储上传文件的目录夹 DY0G ;L 3  
zF3fpEKe  
struts.objectFactory |jO&qT]{  
      The com.opensymphony.xwork2.ObjectFactory implementation class OUS@)Tyh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) zD7\Gv  
kImS'i{A  
struts.objectFactory.spring.autoWire '-S^z"ZrI  
      Whether Spring should autoWire or not u ;f~  
      是否自动绑定Spring :TX!lbCq  
.)ZK42Qd  
struts.objectFactory.spring.useClassCache !imm17XQ\  
      Whether Spring should use its class cache or not lLS`Ln)"  
      是否spring应该使用自身的cache *";,HG?|Iz  
Ql3hq.E  
struts.objectTypeDeterminer ~t.*B& A  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E@Q+[~H}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^MKvZ DOP  
9ZeTS~i  
struts.serve.static.browserCache ~X*)gS-=  
If static content served by the Struts filter should set browser caching header properties or not mp+ %@n.;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4}gqtw:  
W;eHDQ|  
struts.serve.static L6J=m#Ld  
      Whether the Struts filter should serve static content or not s+h`,gg9  
      是否struts过滤器应该提供静态内容 BC 9rsb  
XGbtmmQG  
struts.tag.altSyntax _U|s!60'  
      Whether to use the alterative syntax for the tags or not |Q?IV5%$  
      是否可以用替代的语法替代tags w8%<O^wN,  
1|q$Wn:*  
struts.ui.templateDir )$]_;JFr  
      The directory containing UI templates uIiE,.Uu}  
      UI templates的目录夹 v<HhB.t.  
{^1D|y  
struts.ui.theme \%K< S  
      The default UI template theme #\GWYWkR  
      默认的UI template主题 a=.A/;|0*  
0 x4p!5  
struts.url.http.port $*\[I{Zau}  
      The HTTP port used by Struts URLs jyb/aov  
      设置http端口 )F8G q,  
r**u=q %p  
struts.url.https.port 4S`2")V  
      The HTTPS port used by Struts URLs Fi14_{  
      设置https端口 [x kbzJ  
#9F=+[L  
struts.url.includeParams j[.R|I|  
      The default includeParams method to generate Struts URLs >MauuL,.j  
      在url中产生 默认的includeParams 4'cdV0]  
t"cGv32b  
Pe EC|&x  
struts.velocity.configfile =EA*h_"q9  
      The Velocity configuration file path W`*S?QGzl@  
      velocity配置文件路径 ,JYvfCA  
4@&8jZ)a  
struts.velocity.contexts ] bz']`  
      List of Velocity context names %V%*0S|U  
      velocity的context列表 t,gKN^P_  
rn"'tvhm  
 W>.KV7  
struts.velocity.manager.classname F3HpDfy  
      org.apache.struts2.views.velocity.VelocityManager implementation class EC<g7_0F  
      org.apache.struts2.views.velocity.VelocityManager接口名 e23}'qb  
$-Lk,}s.*  
struts.velocity.toolboxlocation PO%Z.ol9  
      The location of the Velocity toolbox ,edX;`#  
      velocity工具盒的位置 )hGRq'WA=  
struts.xslt.nocache wf)T-]e  
      Whether or not XSLT templates should not be cached Eaf6rjD  
      是否XSLT模版应该被缓存 H~Xi;[{7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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