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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7wVH8^|  
5v _P Oq  
struts.action.extension lFq{O;q7}  
      The URL extension to use to determine if the request is meant for a Struts action +!yX T C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 bw S*]!*  
Nneo{j  
struts.configuration ;rHO&(h-  
      The org.apache.struts2.config.Configuration implementation class DBgMC"_   
        org.apache.struts2.config.Configuration接口名 =RsXI&&vh  
g0R[xOS|  
struts.configuration.files `u_Qa  
      A list of configuration files automatically loaded by Struts i.y)mcB4  
      struts自动加载的一个配置文件列表 l=={pb  
>)**khuP7  
struts.configuration.xml.reload EL D!{bMT  
      Whether to reload the XML configuration or not 5V5w:U>_z  
      是否加载xml配置(true,false) 8e2?tmWM  
#R&H &1  
struts.continuations.package 4N>>+]MWc  
      The package containing actions that use Rife continuations K8[DZ)rO;Z  
      含有actions的完整连续的package名称 BmBz}:xMez  
%X1x4t]  
struts.custom.i18n.resources QP(BZJC  
      Location of additional localization properties files to load (z7+|JE.  
      加载附加的国际化属性文件(不包含.properties后缀) `/IKdO*!S  
B[o`k]]  
struts.custom.properties kOrl\_!z3  
      Location of additional configuration properties files to load ^ c%N/V \  
      加载附加的配置文件的位置 T.:+3:8|F  
osP\D iQ  
$l[Rh1z`;+  
struts.devMode H9 tXSh  
      Whether Struts is in development mode or not A\sI<WrH  
      是否为struts开发模式 7 hw .B'7  
ULqoCd%bK  
struts.dispatcher.parametersWorkaround =xN= #  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -:Rp'SJ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %D=]ZV](  
Dr#c)P~Wd  
struts.enable.DynamicMethodInvocation 8Ogv9  
      Allows one to disable dynamic method invocation from the URL K_&MoyJJ9f  
        允许动态方法调用 9S7A!AKE  
h2q/mi5{  
struts.freemarker.manager.classname qUJ aeQ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p( LZ)7/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 aX6}6zubr  
Y] g?2N=E  
struts.i18n.encoding G4-z3e,crr  
      The encoding to use for localization messages ,xi({{L*  
      国际化信息内码 I PCGt{B~  
\XzM^K3  
struts.i18n.reload DXR:1w[^  
      Whether the localization messages should automatically be reloaded R9o-`Wz  
      是否国际化信息自动加载 ,<Kx{+ [h  
_lxco=qd=%  
struts.locale j?i#L}.I  
      The default locale for the Struts application S?0$?w?  
      默认的国际化地区信息 oF&l-DHp  
,. EBOUW^  
struts.mapper.class  #ToK$8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b^CNVdo'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {S.>BXX  
V"KS[>>f  
struts.multipart.maxSize L,_.$1d  
      The maximize size of a multipart request (file upload) a[!%L d  
      multipart请求信息的最大尺寸(文件上传用) >{zk qvsQ&  
nHXX\i  
struts.multipart.parser \IM4Z|NN"  
      The org.apache.struts2.dispatcher.multipart. mEAXM 1J|  
      MultiPartRequest parser implementation for a multipart request (file upload) @x&P9M0g  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Sv[5NZn0&  
&(pjqV  
Lxl_"k G  
struts.multipart.saveDir HLK@xKD<  
      The directory to use for storing uploaded files _8?o'<!8?^  
      设置存储上传文件的目录夹 =r. >N\  
/F/;G*n  
struts.objectFactory XP?rOOn  
      The com.opensymphony.xwork2.ObjectFactory implementation class ssQ BSbx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %yS3&Ju  
3251Vq %  
struts.objectFactory.spring.autoWire 1R%1h9I4'  
      Whether Spring should autoWire or not G;iEo4\?  
      是否自动绑定Spring y' C-[nk  
Tny> D0Z#  
struts.objectFactory.spring.useClassCache &:#h$`4  
      Whether Spring should use its class cache or not =6nD sibf  
      是否spring应该使用自身的cache 5jcte< 5I_  
SX0_v_%M  
struts.objectTypeDeterminer Q / x8 #X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ed!>)Cb  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V A^l+Z,d  
pW\'Z Rj  
struts.serve.static.browserCache )X+mV  
If static content served by the Struts filter should set browser caching header properties or not ( )T[$.(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G=9d&N  
a:STQk V  
struts.serve.static ^%T7.1'x  
      Whether the Struts filter should serve static content or not io2)1cE&f  
      是否struts过滤器应该提供静态内容 R!\EK H  
3,X/,'  
struts.tag.altSyntax :Ixx<9c.  
      Whether to use the alterative syntax for the tags or not n$L51#'  
      是否可以用替代的语法替代tags ~p1EF;4#  
X@2-*so<  
struts.ui.templateDir J;Rv ~<7  
      The directory containing UI templates Zo-$z8  
      UI templates的目录夹 },$0&/>ft  
,L> ar)B  
struts.ui.theme 7;:#;YS ha  
      The default UI template theme ,T,:-E  
      默认的UI template主题 p*QKK@C  
<[ Xw)/#  
struts.url.http.port A#wEuX=[  
      The HTTP port used by Struts URLs giY80!GX  
      设置http端口 3INI?y}t   
xl9aV\W  
struts.url.https.port K,ej%Vtz  
      The HTTPS port used by Struts URLs 8T[ 6J{|C  
      设置https端口 YNdrWBf)  
z,SYw &S  
struts.url.includeParams Aj>[z8!,  
      The default includeParams method to generate Struts URLs }GwVKAjP  
      在url中产生 默认的includeParams Ka!I`Yf  
I<oL}f  
)$GIN/i  
struts.velocity.configfile 5N$E()m$  
      The Velocity configuration file path yBpk$  
      velocity配置文件路径 ~"x5U{K48S  
"8)z=n  
struts.velocity.contexts f>jwN@(  
      List of Velocity context names j V3)2C}  
      velocity的context列表 h!@,8y[B  
JtKp(k&  
kh$_!BT  
struts.velocity.manager.classname g\fhp{gWB  
      org.apache.struts2.views.velocity.VelocityManager implementation class ` TqSQg_l  
      org.apache.struts2.views.velocity.VelocityManager接口名 Xf'=+f2p  
`(y(w-:W1  
struts.velocity.toolboxlocation ,U,By~s  
      The location of the Velocity toolbox sUkm|K`#  
      velocity工具盒的位置 6rti '  
struts.xslt.nocache E\7m< 'R  
      Whether or not XSLT templates should not be cached %V!iQzL1  
      是否XSLT模版应该被缓存 d[gl]tj9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五