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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Vu5?;|^:  
.H)H9cmf  
struts.action.extension P1mg;!tq  
      The URL extension to use to determine if the request is meant for a Struts action >1s a*Wf  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :.x(( FU  
"|8oFf)l@B  
struts.configuration  aO&U=!  
      The org.apache.struts2.config.Configuration implementation class 5%Qxx\q  
        org.apache.struts2.config.Configuration接口名 *2zp>(%  
BmX'%5ho  
struts.configuration.files MLWHO$C~T  
      A list of configuration files automatically loaded by Struts N1~bp?$1  
      struts自动加载的一个配置文件列表 y&$n[j  
#|b*l/t8  
struts.configuration.xml.reload 7_\sx7h{3  
      Whether to reload the XML configuration or not Yj&Sb  
      是否加载xml配置(true,false) e"04jd/  
9[.HWe,  
struts.continuations.package P-\f-FS  
      The package containing actions that use Rife continuations -+WAaJ(b  
      含有actions的完整连续的package名称 {zb'Z Yz  
cZh0\Dy U  
struts.custom.i18n.resources ! UT'4Fs  
      Location of additional localization properties files to load ;@ePu  
      加载附加的国际化属性文件(不包含.properties后缀) -8n1y[  
~tp]a]yV  
struts.custom.properties uos8Mav{E  
      Location of additional configuration properties files to load ]@$^Ju,  
      加载附加的配置文件的位置 rt+4-WuK>  
~~/,2^   
Z Ts*Y,  
struts.devMode y74Q(  
      Whether Struts is in development mode or not $wUYK%.  
      是否为struts开发模式 ;\RV C 7  
c[Fc3  
struts.dispatcher.parametersWorkaround sq'm)g  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B"GC|}N )v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M/<ypJ  
jR/Gd01)  
struts.enable.DynamicMethodInvocation w5m /[Z  
      Allows one to disable dynamic method invocation from the URL f]NLR>$L}  
        允许动态方法调用 kd'b_D[$H  
xk,Uf,,>  
struts.freemarker.manager.classname x4q}xwH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class # ?2*I2_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]F y' M  
ly%^\jW  
struts.i18n.encoding d {!P c<  
      The encoding to use for localization messages , /.@([C  
      国际化信息内码 T~]~'+<Pi  
{xTq5`&gT  
struts.i18n.reload W3.[d->X  
      Whether the localization messages should automatically be reloaded !K-1tp$  
      是否国际化信息自动加载 $nE{%?n-#  
<j'K7We/tP  
struts.locale rbd0`J9fq  
      The default locale for the Struts application Dd?G4xUG  
      默认的国际化地区信息 agUdI_'~@9  
JG!B3^qB  
struts.mapper.class >+%#m'Y&&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class wo`.sB&T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8:TX9`,  
7:UeE~ uB:  
struts.multipart.maxSize x $LCLP#$H  
      The maximize size of a multipart request (file upload) }3*<sxw7<  
      multipart请求信息的最大尺寸(文件上传用) -N' (2'  
xG sOnY;  
struts.multipart.parser ~}_^$l8#-Q  
      The org.apache.struts2.dispatcher.multipart. "^4*,41U  
      MultiPartRequest parser implementation for a multipart request (file upload) *Dp&;,b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %p}vX9U')  
puOtF YZ\  
o-8{C0>:  
struts.multipart.saveDir gNZwD6GMe?  
      The directory to use for storing uploaded files 3WwS+6R  
      设置存储上传文件的目录夹 >j?5?J"  
;dzy 5o3  
struts.objectFactory ]ae(t`\l^  
      The com.opensymphony.xwork2.ObjectFactory implementation class !`{?qQ[=  
      com.opensymphony.xwork2.ObjectFactory接口(spring) XVs]Y'* x  
&[d'g0pF  
struts.objectFactory.spring.autoWire p cLKE ZK  
      Whether Spring should autoWire or not s-CAo~,  
      是否自动绑定Spring 0C<\m\|~k  
85E$m'0O  
struts.objectFactory.spring.useClassCache Q,NnB{R  
      Whether Spring should use its class cache or not \Tz|COG5h\  
      是否spring应该使用自身的cache XC3)#D#HGh  
K GgtEh|  
struts.objectTypeDeterminer *ra)u-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z|qI[uiO  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V>Jr4z  
li*S^uSF  
struts.serve.static.browserCache 2U./ Yfk\  
If static content served by the Struts filter should set browser caching header properties or not =zn'0g, J4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 dy6zrgxygP  
?nc:bC  
struts.serve.static =CQfs6np:N  
      Whether the Struts filter should serve static content or not VD.TosVeWo  
      是否struts过滤器应该提供静态内容 \92M\S  
q{9vY:`[  
struts.tag.altSyntax NO*, }aeG  
      Whether to use the alterative syntax for the tags or not u$JAjA  
      是否可以用替代的语法替代tags "Da 1BuX\  
T, #-: }  
struts.ui.templateDir *8)?ZZMM  
      The directory containing UI templates C1-U2@  
      UI templates的目录夹 :-x?g2MY  
a?-Jj\q  
struts.ui.theme m'2F#{  
      The default UI template theme Ft>B% -;  
      默认的UI template主题 ["nWIs[h  
DGJ:#U E  
struts.url.http.port U.TZd"  
      The HTTP port used by Struts URLs _f!ko<52  
      设置http端口 I[%IW4jJ  
EP38Ho=[  
struts.url.https.port .w4|$.H  
      The HTTPS port used by Struts URLs z_'^=9m  
      设置https端口 n~lB}  
_h1bVd-  
struts.url.includeParams 9'( _*KSH  
      The default includeParams method to generate Struts URLs }d5]N  
      在url中产生 默认的includeParams 0eO!,/  
x)?V{YAL  
ewcFzlA@  
struts.velocity.configfile gNr4oOR{  
      The Velocity configuration file path  C6gSj1  
      velocity配置文件路径 6O/L~Z*t  
~;(\a@ _  
struts.velocity.contexts tM5(&cQ!d  
      List of Velocity context names z 4}"oQk:r  
      velocity的context列表 oN}\bK  
\0|x<~#j'  
}e7/F[c.U  
struts.velocity.manager.classname 1'~+.92Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ow-ejo  
      org.apache.struts2.views.velocity.VelocityManager接口名 lz=DGm  
pKLcg"{[F  
struts.velocity.toolboxlocation W<<G  'Km  
      The location of the Velocity toolbox `pbCPa{Y  
      velocity工具盒的位置 D0#U*tq;  
struts.xslt.nocache k[mp(  
      Whether or not XSLT templates should not be cached $U,]c  
      是否XSLT模版应该被缓存 jpi,BVTI-X  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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