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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "dLMBY~  
RIVL 0Ig  
struts.action.extension DiYJlD&  
      The URL extension to use to determine if the request is meant for a Struts action t_zY0{|P  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ! 6p)t[s  
7&RJDa:a7T  
struts.configuration PPj6QJ]R0  
      The org.apache.struts2.config.Configuration implementation class (Qh7bfd  
        org.apache.struts2.config.Configuration接口名 A&}nRP9  
Ch \ed|u  
struts.configuration.files {'c%#\  
      A list of configuration files automatically loaded by Struts WDH[kJ  
      struts自动加载的一个配置文件列表 #8Id:56  
z!1/_]WJ,  
struts.configuration.xml.reload +EiUAs~H  
      Whether to reload the XML configuration or not -}N\REXE  
      是否加载xml配置(true,false) q~g&hR}K  
[! dnm1   
struts.continuations.package +SuUI-.  
      The package containing actions that use Rife continuations Z_^Kl76D  
      含有actions的完整连续的package名称 x3I%)@-Z  
\MFWK#W  
struts.custom.i18n.resources ,Zcx3C:#  
      Location of additional localization properties files to load tXG4A$(2&  
      加载附加的国际化属性文件(不包含.properties后缀) $5Y^fwIK  
hPqapz]HcP  
struts.custom.properties z)<pqN  
      Location of additional configuration properties files to load 4|@FO}rK[l  
      加载附加的配置文件的位置 0LHiOav  
RESGI}u  
j]F#p R}p  
struts.devMode ev;5 ?9\E  
      Whether Struts is in development mode or not >;'1k'  
      是否为struts开发模式 ;@ll  
,QHx*~9  
struts.dispatcher.parametersWorkaround M#lVPXS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uZ2v;]\Y6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s=y9!rr  
Ei p~ ~2  
struts.enable.DynamicMethodInvocation l=-d K_ I?  
      Allows one to disable dynamic method invocation from the URL \")YKN=W  
        允许动态方法调用 wkZ2Y-#='  
v4k=NH+w  
struts.freemarker.manager.classname :DX/r  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class C1P t3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t6L^ #\'  
[@. jL0>  
struts.i18n.encoding ">D(+ xr!)  
      The encoding to use for localization messages |Qt`p@W  
      国际化信息内码 O'& \-j 1  
pqQdr-aR=  
struts.i18n.reload <>*''^  
      Whether the localization messages should automatically be reloaded l&^[cR  
      是否国际化信息自动加载 _9O }d  
i2ml[;*,N  
struts.locale sm&rR=b  
      The default locale for the Struts application JmJ,~_  
      默认的国际化地区信息 Aya;ycsgE  
/hEGk~  
struts.mapper.class $hE'b9qx  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LN6JH!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x]d"|jmVZ  
://|f  
struts.multipart.maxSize z5*O@_r+.b  
      The maximize size of a multipart request (file upload) D16;6K'{  
      multipart请求信息的最大尺寸(文件上传用) e~ 78'UH  
\$HB~u%dr  
struts.multipart.parser !{~7)iq  
      The org.apache.struts2.dispatcher.multipart. P2:Q+j:PX  
      MultiPartRequest parser implementation for a multipart request (file upload) X"khuyT_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y)j,(9  
{8bY7NH|  
Bzy=@]`  
struts.multipart.saveDir OB  i!fLa  
      The directory to use for storing uploaded files by y1MgQd  
      设置存储上传文件的目录夹 x]J-q5  
&\]f!'jV  
struts.objectFactory \=G Xe.}4d  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~z1KD)^   
      com.opensymphony.xwork2.ObjectFactory接口(spring) wsGq>F~  
NMY!-Kv 5  
struts.objectFactory.spring.autoWire \7tvNa,C  
      Whether Spring should autoWire or not k&"qdB(I  
      是否自动绑定Spring O7CYpn4<7  
3]]6z K^i  
struts.objectFactory.spring.useClassCache !RUo:b+  
      Whether Spring should use its class cache or not &$z1Hz+l  
      是否spring应该使用自身的cache a3 _0F@I  
g$T_yT''  
struts.objectTypeDeterminer 1]3bx N  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  { e  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4a\+o]  
]jY)M<:J4  
struts.serve.static.browserCache n]{}C.C=  
If static content served by the Struts filter should set browser caching header properties or not |b;M5w?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6C51:XQO  
oD}FJvV  
struts.serve.static j83Y'VJJC  
      Whether the Struts filter should serve static content or not =$zr t  
      是否struts过滤器应该提供静态内容 A`/7>'k/q[  
5sCk y)N  
struts.tag.altSyntax b!HFv;^N  
      Whether to use the alterative syntax for the tags or not Uus)2R7  
      是否可以用替代的语法替代tags dvWlx]'  
__n"DLW  
struts.ui.templateDir (X7yNIPfA  
      The directory containing UI templates Jsnmn$C  
      UI templates的目录夹 [[DFEvOEh  
?# c@Ag %  
struts.ui.theme qmyZbo|8&  
      The default UI template theme @dKf]&h%%  
      默认的UI template主题 }N9a!,{P=b  
gV44PI6h  
struts.url.http.port R]s jG <  
      The HTTP port used by Struts URLs GQ)cUrXQz  
      设置http端口 <:7e4#  
;3}b&Z[N]  
struts.url.https.port lz0]p  
      The HTTPS port used by Struts URLs >)Z2bCe  
      设置https端口 cWy0N  
td$6:)  
struts.url.includeParams Cv7RCjMw  
      The default includeParams method to generate Struts URLs (V?`W7  
      在url中产生 默认的includeParams <gz MDX[^M  
1;[ <||K  
'0M0F'R  
struts.velocity.configfile juYt =  
      The Velocity configuration file path v=WDs#"  
      velocity配置文件路径 so&3A&4cL  
acZ|H  
struts.velocity.contexts J; Xz'0  
      List of Velocity context names J 2~B<=V  
      velocity的context列表 l+X^x%EA  
pR7G/]U$A  
Z:gsguX  
struts.velocity.manager.classname AG%es0D[H  
      org.apache.struts2.views.velocity.VelocityManager implementation class {cHTg04  
      org.apache.struts2.views.velocity.VelocityManager接口名 K{h]./%  
tl^;iE!-  
struts.velocity.toolboxlocation c+XR  
      The location of the Velocity toolbox DYk->)   
      velocity工具盒的位置 /38Pp%  
struts.xslt.nocache 62'0)Cy^  
      Whether or not XSLT templates should not be cached XxQ2g&USk  
      是否XSLT模版应该被缓存 =,Um;hU3r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五