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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 WQ|d;[E  
&7XB $  
struts.action.extension rM/*_0[`d  
      The URL extension to use to determine if the request is meant for a Struts action KSMe#Qnw  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !nU  
ZZ)bTLu  
struts.configuration #$e~ o}(r  
      The org.apache.struts2.config.Configuration implementation class *Iyv${  
        org.apache.struts2.config.Configuration接口名 ;XZ5r|V}  
TJ ;4QL  
struts.configuration.files u3dhMnUn  
      A list of configuration files automatically loaded by Struts AW!|xA6'`:  
      struts自动加载的一个配置文件列表 gXE'3  
> rB7ms/@E  
struts.configuration.xml.reload dPPe_% Ilr  
      Whether to reload the XML configuration or not 2u~0B +)K/  
      是否加载xml配置(true,false) mv)M9c,`  
N|WnUlf]:  
struts.continuations.package qd%5[A  
      The package containing actions that use Rife continuations P)tXU  
      含有actions的完整连续的package名称 #B &D  
72@8M  
struts.custom.i18n.resources {uDL"~^\  
      Location of additional localization properties files to load ak;fCx&  
      加载附加的国际化属性文件(不包含.properties后缀) hJrxb<9@Y0  
P5%DvZB$w  
struts.custom.properties \"<&8  
      Location of additional configuration properties files to load P (_:8|E  
      加载附加的配置文件的位置 N V^ktln  
(IAl$IP63s  
h,\^Sb5AP  
struts.devMode pIqPIuy  
      Whether Struts is in development mode or not VQ$=F8ivG  
      是否为struts开发模式 mdoy1a  
D-8%lGS  
struts.dispatcher.parametersWorkaround 0 jVuF l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?k<wI)JR  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "mSDL:$  
O_FT@bo\  
struts.enable.DynamicMethodInvocation +[zrU`!@  
      Allows one to disable dynamic method invocation from the URL  #Z"N\49  
        允许动态方法调用 Z8}Zhe.  
ACU0  
struts.freemarker.manager.classname P zzX Ds6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e-]k{_wm  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 N?p9h{DG  
|rq~.cA  
struts.i18n.encoding Qo0okir  
      The encoding to use for localization messages o%+K S5v!  
      国际化信息内码  i('z~  
a+{YTR>0m  
struts.i18n.reload _( 0!bUs>  
      Whether the localization messages should automatically be reloaded |U8;25Y  
      是否国际化信息自动加载 w-HgC  
k&n7 _[]n  
struts.locale '_4u, \SG  
      The default locale for the Struts application !,V8?3.aJn  
      默认的国际化地区信息 `i9WnPRt  
*J 7>6N:-  
struts.mapper.class Ni(D[?mZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K}1>n2P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 tPDV"Md#m<  
'lHtz ~[  
struts.multipart.maxSize svU107?  
      The maximize size of a multipart request (file upload) +O*S>0  
      multipart请求信息的最大尺寸(文件上传用) aEy_H-6f  
%&V<kH"7Q{  
struts.multipart.parser $lU~3I)  
      The org.apache.struts2.dispatcher.multipart. 7: J6 F  
      MultiPartRequest parser implementation for a multipart request (file upload) * ,_Qdr^F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) nx $?wxIm  
Y=vA ;BE]R  
jSaEwN  
struts.multipart.saveDir c5mv4 MC  
      The directory to use for storing uploaded files &pZ]F=.r+  
      设置存储上传文件的目录夹 >M[rOu (d  
U@BVVH?,o  
struts.objectFactory IgLP=mqcWK  
      The com.opensymphony.xwork2.ObjectFactory implementation class gA`/t e  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?F(t`0=  
z }R-J/xr2  
struts.objectFactory.spring.autoWire q ^n6"&;*  
      Whether Spring should autoWire or not cJ&l86/l1  
      是否自动绑定Spring *[.+|v;A  
ceH7Rq:4W  
struts.objectFactory.spring.useClassCache +S<2d.&~  
      Whether Spring should use its class cache or not H-1@z$p  
      是否spring应该使用自身的cache s%H5Qa+Uh  
*NFy%ktu  
struts.objectTypeDeterminer $gJMF(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y xGIv8O]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !MTm4Ls  
3-h u'xSU  
struts.serve.static.browserCache G"O %u|7  
If static content served by the Struts filter should set browser caching header properties or not mu=u!by.E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o-("S|A-  
Lyt6DvAp"  
struts.serve.static XFG]%y=/6  
      Whether the Struts filter should serve static content or not \%mR*J+  
      是否struts过滤器应该提供静态内容 RgRyo  
O)\xElu  
struts.tag.altSyntax [LjYLm%<  
      Whether to use the alterative syntax for the tags or not F2z^7n.S  
      是否可以用替代的语法替代tags Mff_j0D  
WxWgY}`  
struts.ui.templateDir A}t.`FLP,j  
      The directory containing UI templates FK }x*d  
      UI templates的目录夹 wZE[we^Q"  
RLw=y{%p  
struts.ui.theme !D7\$ g6g  
      The default UI template theme \X Nb9-  
      默认的UI template主题 qVZ=:D{  
wrK$ZO]  
struts.url.http.port O<L /m[]  
      The HTTP port used by Struts URLs SKD!V6S  
      设置http端口 '+f!(teLz  
'gI58#v  
struts.url.https.port t=xO12Z  
      The HTTPS port used by Struts URLs !`=r('l  
      设置https端口 u vc0"g1h  
C/<fR:`c  
struts.url.includeParams v srce  
      The default includeParams method to generate Struts URLs :*0k:h6g  
      在url中产生 默认的includeParams `vL R;D  
Y 0$m~}j  
wD22@uM#]  
struts.velocity.configfile rnmWw#  
      The Velocity configuration file path q>]v~  
      velocity配置文件路径 ` *$^rQS  
;=_<\2  
struts.velocity.contexts C]A*B  
      List of Velocity context names N]KqSpPh  
      velocity的context列表 Q]{DhDz ?+  
7yeZ+lD  
iMk`t:!;#"  
struts.velocity.manager.classname e7]IEBbX2O  
      org.apache.struts2.views.velocity.VelocityManager implementation class va~:oA  
      org.apache.struts2.views.velocity.VelocityManager接口名 _~HGMC)  
yw#P<8{/[  
struts.velocity.toolboxlocation "y_$!KY%  
      The location of the Velocity toolbox h*_r=' E  
      velocity工具盒的位置 ]r'b(R; S  
struts.xslt.nocache 68;,hS*|6  
      Whether or not XSLT templates should not be cached ?#,\,  
      是否XSLT模版应该被缓存 \<i#Jn+)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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