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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 y\@INA^  
b 67l\L  
struts.action.extension cu )w6!f  
      The URL extension to use to determine if the request is meant for a Struts action wq = Ef  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .ovG_O  
"?r_A*U  
struts.configuration >&D}^TMYY  
      The org.apache.struts2.config.Configuration implementation class Xcw 6mpLt  
        org.apache.struts2.config.Configuration接口名 NGL,j\(~7  
Q~zs]{\  
struts.configuration.files `FHKQS5  
      A list of configuration files automatically loaded by Struts t*(buAx  
      struts自动加载的一个配置文件列表 aM!%EaT  
)m<CmYr2  
struts.configuration.xml.reload =)IV^6~b  
      Whether to reload the XML configuration or not Pt\GVWi_t  
      是否加载xml配置(true,false) HMl M!Xk?  
D V=xqC6}  
struts.continuations.package nk.j7tu  
      The package containing actions that use Rife continuations FfpP<(4  
      含有actions的完整连续的package名称 'v0(ki#  
7 (pl HW|  
struts.custom.i18n.resources d$#DXLA\P  
      Location of additional localization properties files to load YF6 8 Ax]  
      加载附加的国际化属性文件(不包含.properties后缀) Ac8t>;=&  
vNSeNS@jxC  
struts.custom.properties Ee097A?1vj  
      Location of additional configuration properties files to load Ck>{7 Gw  
      加载附加的配置文件的位置 |?<^4U8  
L.Tu7+M4  
c$b~? Mx  
struts.devMode %[WOQ.Sh  
      Whether Struts is in development mode or not Y0xn}:%K  
      是否为struts开发模式 kX "*kD  
?G<.W[3  
struts.dispatcher.parametersWorkaround H C(7,3  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <Wa7$hF  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \Y^GA;AMQQ  
Ngw/H)<c  
struts.enable.DynamicMethodInvocation ~U+W4%f8  
      Allows one to disable dynamic method invocation from the URL RhD   
        允许动态方法调用 z#Db~  
|"i"8~/@<  
struts.freemarker.manager.classname Yx':~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nNpXkI:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PsO>&Te2  
3e ?J#;  
struts.i18n.encoding 9?zi  
      The encoding to use for localization messages 0T.kwZ8  
      国际化信息内码  >^J  
sM6o(=>  
struts.i18n.reload ,u^%[ejH  
      Whether the localization messages should automatically be reloaded ufvjW]   
      是否国际化信息自动加载 !eA6Ejf  
nXAGwU8a  
struts.locale bmI6OIWl  
      The default locale for the Struts application bu,xIT^  
      默认的国际化地区信息 ;&`6b:ug  
PaZd^0'!Z  
struts.mapper.class BNq6dz$J  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;X%8I$Ba,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vE C#W43l  
.Zm de*b  
struts.multipart.maxSize !P@4dG  
      The maximize size of a multipart request (file upload) u]MQ(@HHF  
      multipart请求信息的最大尺寸(文件上传用) fir#5,*q|  
St;@ZV  
struts.multipart.parser SdNxSD$Q  
      The org.apache.struts2.dispatcher.multipart. 8)XAdAr  
      MultiPartRequest parser implementation for a multipart request (file upload) ,)PpE&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;uN&yj<}a  
-7(,*1Tk  
d:JP935  
struts.multipart.saveDir 6!Uk c'r  
      The directory to use for storing uploaded files 0;tu}]jnN  
      设置存储上传文件的目录夹 ;YY nIb(  
$/"QYSF  
struts.objectFactory v{pW/Fu~  
      The com.opensymphony.xwork2.ObjectFactory implementation class Eu2(#z 6eW  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GxS!Lk  
Tl L\&n.$  
struts.objectFactory.spring.autoWire j|%>NB ):  
      Whether Spring should autoWire or not 3,)[Q?nKD  
      是否自动绑定Spring lQ!(l Ph  
~ugH2jiB  
struts.objectFactory.spring.useClassCache Y lhKP;  
      Whether Spring should use its class cache or not VU;98  
      是否spring应该使用自身的cache 5`Y>!| Ab  
{Lugdf'  
struts.objectTypeDeterminer ?eDZ-u9)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C=x70Y/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k|3hs('y|  
cQrXrij;!  
struts.serve.static.browserCache 349BQ5ND  
If static content served by the Struts filter should set browser caching header properties or not 9yWSlbPr]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 C@!bd+'  
m*vz   
struts.serve.static V<Co!2S  
      Whether the Struts filter should serve static content or not Q=t_m(:0  
      是否struts过滤器应该提供静态内容 oQK,#>rv  
p Cgm!t?/  
struts.tag.altSyntax 0y3C />a  
      Whether to use the alterative syntax for the tags or not g5lK&-yu]  
      是否可以用替代的语法替代tags 2)9XTY 6$  
=4 NKXP~C  
struts.ui.templateDir $J=`fx  
      The directory containing UI templates {=6CL'_  
      UI templates的目录夹 cv-;fd>'  
T$1(6<:+.  
struts.ui.theme aEn*vun  
      The default UI template theme 6f)7*j~  
      默认的UI template主题 +Ou<-EQV  
g1I8_!}~  
struts.url.http.port p<c1$O*  
      The HTTP port used by Struts URLs &"d :+!4h  
      设置http端口 vDCbD#.6  
uTNy{RBD+  
struts.url.https.port uoTc c|Kc  
      The HTTPS port used by Struts URLs A9y@v{txN  
      设置https端口 \ 0.!al0  
't+'rG6x  
struts.url.includeParams =Y*zF>#lP  
      The default includeParams method to generate Struts URLs 5h6-aQU[  
      在url中产生 默认的includeParams \?[m%$A  
i4lB ]k  
&n]]OPo  
struts.velocity.configfile <.:mp1,8V  
      The Velocity configuration file path <vd}oiB@  
      velocity配置文件路径 85BB{ T;  
)!=fy']  
struts.velocity.contexts ??z&w`Yy,  
      List of Velocity context names u3\_![Jt?  
      velocity的context列表 ?f:ND1jU  
J|C CTXT  
>=/DCQ$  
struts.velocity.manager.classname 0Ok[`r`  
      org.apache.struts2.views.velocity.VelocityManager implementation class O)c3Lm-w  
      org.apache.struts2.views.velocity.VelocityManager接口名 X0]Se(  
WF-^pfRq~  
struts.velocity.toolboxlocation Kh{_BdN  
      The location of the Velocity toolbox (5kL6d2  
      velocity工具盒的位置 &/?OP)N,}  
struts.xslt.nocache kW& zkE{  
      Whether or not XSLT templates should not be cached ~!6 I.u  
      是否XSLT模版应该被缓存 r{wf;5d(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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