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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 NoMEe<  
xH92=t-w  
struts.action.extension w^r*qi"  
      The URL extension to use to determine if the request is meant for a Struts action <)M?qkjb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 HG Pbx$!  
"zr%Q'Ky  
struts.configuration /({5x[  
      The org.apache.struts2.config.Configuration implementation class VRD2e ,K  
        org.apache.struts2.config.Configuration接口名 Blu^\:?#z-  
Rq;R{a  
struts.configuration.files  p.zU9rID  
      A list of configuration files automatically loaded by Struts &fW;;>  
      struts自动加载的一个配置文件列表 -QRKDp  
#ujcT%1G  
struts.configuration.xml.reload R(csJ4F  
      Whether to reload the XML configuration or not B-o"Y'iXs  
      是否加载xml配置(true,false) b+{,c@1rd  
;]p#PNQ0  
struts.continuations.package _I2AJn`#  
      The package containing actions that use Rife continuations 7bTs+C_;7  
      含有actions的完整连续的package名称 Am- JB  
F7mzBrz  
struts.custom.i18n.resources r&^4L  
      Location of additional localization properties files to load }UX>O  
      加载附加的国际化属性文件(不包含.properties后缀) JBuorc  
1,4kw~tA  
struts.custom.properties gbo{Zgf<  
      Location of additional configuration properties files to load !j\  yt  
      加载附加的配置文件的位置 ?vvjwys@  
"ibKi=  
_c`Gxt%  
struts.devMode yfYAA*S!z  
      Whether Struts is in development mode or not BHa!jw_~o  
      是否为struts开发模式 #U'n=@U@(  
lQoa[#q  
struts.dispatcher.parametersWorkaround bE0cW'6r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic a}MOhM6T  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >/Slk {  
7qu hp\  
struts.enable.DynamicMethodInvocation .0Cpqn,[  
      Allows one to disable dynamic method invocation from the URL <TDgv%eg0  
        允许动态方法调用 ?eeE[F  
Pf]L`haGN  
struts.freemarker.manager.classname 6=FF*"-6E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c_%vD~6W-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 b>G!K)MS3  
C}wmoYikV  
struts.i18n.encoding {DAwkJvb]  
      The encoding to use for localization messages KrG$W/<tg  
      国际化信息内码 AM,@BnEcuT  
&EZ28k"x  
struts.i18n.reload J1g `0XH  
      Whether the localization messages should automatically be reloaded CI ~+(+q  
      是否国际化信息自动加载 Zb3E-'G+  
ln9U>*<  
struts.locale DOf[?vbu  
      The default locale for the Struts application !Il<'+ ^  
      默认的国际化地区信息 $7,n8ddRy  
;p) gTQa  
struts.mapper.class c[ga@Vy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~u7a50  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 l =xy_ TCf  
Iy\K&)5?  
struts.multipart.maxSize H2[ S]`?  
      The maximize size of a multipart request (file upload) =p ^Sn,t  
      multipart请求信息的最大尺寸(文件上传用) =f?|f  
jg' 'T1)  
struts.multipart.parser 0lY.z$V  
      The org.apache.struts2.dispatcher.multipart. b1E>LrL  
      MultiPartRequest parser implementation for a multipart request (file upload) "rBo?%:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -&%#R_RV  
{'EQ%H $q  
0t'WM=W<!8  
struts.multipart.saveDir n`;=^^B  
      The directory to use for storing uploaded files "m(HQ5e)*  
      设置存储上传文件的目录夹 =[3I#s?V  
Lw1~$rZg  
struts.objectFactory Tj@s\@hv  
      The com.opensymphony.xwork2.ObjectFactory implementation class B!yAam#^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) NkA|T1w7  
O~Pb u[C  
struts.objectFactory.spring.autoWire ?tg(X[h{S  
      Whether Spring should autoWire or not 7l%O:M(\  
      是否自动绑定Spring yLG`tU1  
x~Y]c"'D  
struts.objectFactory.spring.useClassCache ,accw}G  
      Whether Spring should use its class cache or not ?HAWw'QW  
      是否spring应该使用自身的cache |'Z6M];8t  
n:x6bPal]  
struts.objectTypeDeterminer -"#;U`.oh7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _.yBX\tf[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =X]$J@j  
>@` D@_v  
struts.serve.static.browserCache ]t(;bD hT  
If static content served by the Struts filter should set browser caching header properties or not `pOiv&>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rt^<=|Z  
!ku5P+y$  
struts.serve.static [r<lAS{ .  
      Whether the Struts filter should serve static content or not ldO6W7 G|h  
      是否struts过滤器应该提供静态内容 X70G@-w  
rK9X68)  
struts.tag.altSyntax IEmtt^C  
      Whether to use the alterative syntax for the tags or not ":tQYo]d  
      是否可以用替代的语法替代tags BMgiXdv.B  
~f;d3dJ]/  
struts.ui.templateDir $x)C_WZj?  
      The directory containing UI templates v=RQ"iv8  
      UI templates的目录夹 ^dM,K p  
wspZ Eu>C;  
struts.ui.theme $i7iv  
      The default UI template theme UPfH~H[1)  
      默认的UI template主题 +W x/zo  
g#2Q1t,~U  
struts.url.http.port .q"`)PT  
      The HTTP port used by Struts URLs 5~5d%C^3k  
      设置http端口 t6W$t  
g!,>.  
struts.url.https.port A|Up >`QH  
      The HTTPS port used by Struts URLs KD11<&4_x  
      设置https端口 2zZ" }Zr#  
@rB!47!  
struts.url.includeParams 82O#Fe q  
      The default includeParams method to generate Struts URLs mQ*:?\@  
      在url中产生 默认的includeParams }`FC'!(   
w)2X0ev"  
Yg3Vj=  
struts.velocity.configfile 7j8nDX<  
      The Velocity configuration file path :7 Ro9z8  
      velocity配置文件路径 N<}{oIsZ+  
Y_ b;1RN  
struts.velocity.contexts B b_R~1 l  
      List of Velocity context names !vH7vq  
      velocity的context列表 [7]Kvb2t  
@zSI@Oq_  
iaPrkMhd  
struts.velocity.manager.classname wi-O}*O   
      org.apache.struts2.views.velocity.VelocityManager implementation class YII1 Z'q  
      org.apache.struts2.views.velocity.VelocityManager接口名 6nRXRO  
N|WZk2 "  
struts.velocity.toolboxlocation K; ,2ag  
      The location of the Velocity toolbox :FcYjw  
      velocity工具盒的位置 |]kcgLqj  
struts.xslt.nocache n&DRh.@  
      Whether or not XSLT templates should not be cached v!{mpF  
      是否XSLT模版应该被缓存 ?fr -5&,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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