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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TrCut 2  
Lb]!TOl  
struts.action.extension =&T%Jm}  
      The URL extension to use to determine if the request is meant for a Struts action d?:KEi-<7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M>qqe!c*  
yz}ik^T  
struts.configuration OSoIH`t A  
      The org.apache.struts2.config.Configuration implementation class .A6D&-&z  
        org.apache.struts2.config.Configuration接口名 >0F)^W?  
ncGt-l<9  
struts.configuration.files #`]`gNB0Yg  
      A list of configuration files automatically loaded by Struts ej91)3AO  
      struts自动加载的一个配置文件列表 8c`E B-y  
H!'Ek[s+  
struts.configuration.xml.reload ycq+C8J+Ep  
      Whether to reload the XML configuration or not n(uzqd  
      是否加载xml配置(true,false) b~$8<\  
|j}D2q=  
struts.continuations.package 35Ro8 5j  
      The package containing actions that use Rife continuations N\l|3~  
      含有actions的完整连续的package名称 5ENU}0W  
h"0)g :\  
struts.custom.i18n.resources :o3>  
      Location of additional localization properties files to load p=!12t  
      加载附加的国际化属性文件(不包含.properties后缀) []lMv ZW  
L"KKW c  
struts.custom.properties  p!> 5}f6  
      Location of additional configuration properties files to load knn9s0'Q  
      加载附加的配置文件的位置 2Tp @;[!3  
Q~R%|Q{&  
tm1#Lh0  
struts.devMode vh"wXu  
      Whether Struts is in development mode or not 0Q7|2{  
      是否为struts开发模式 ?K\r-J!Y  
ZH)Jq^^RI  
struts.dispatcher.parametersWorkaround ^HhV ?Iqg  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n\ 'PNB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bL`># M_^  
;nq"jm  
struts.enable.DynamicMethodInvocation bvW3[ V  
      Allows one to disable dynamic method invocation from the URL _Z>n y&   
        允许动态方法调用 l{I.l  
IayF<y,8  
struts.freemarker.manager.classname !'eh@BU;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s%QCdU ]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 tWyl&,3?1  
oeYUsnsbi  
struts.i18n.encoding 2= Y8$-  
      The encoding to use for localization messages w=_q<1a  
      国际化信息内码 }y1r yeW<  
CKnPMvmz  
struts.i18n.reload 2T?8{yO7  
      Whether the localization messages should automatically be reloaded c(b2f-0!4  
      是否国际化信息自动加载 B/*\Ih9y  
s !IvUc7'  
struts.locale 8e5imei  
      The default locale for the Struts application W(}2R>$  
      默认的国际化地区信息 b*(, W  
-x{@D{Q%  
struts.mapper.class ,. zHG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I`77[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @;G%7&ps  
- lqD  
struts.multipart.maxSize q`VkA \  
      The maximize size of a multipart request (file upload) j[,XJ,5=  
      multipart请求信息的最大尺寸(文件上传用) I5*<J n  
m\oxS;fxWi  
struts.multipart.parser ;m=k FZ?  
      The org.apache.struts2.dispatcher.multipart. 2KlVj]!7  
      MultiPartRequest parser implementation for a multipart request (file upload) &^`[$LtYd  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) shD4";8*@  
\sAkKPI  
d]USk&8  
struts.multipart.saveDir !K-qoBqKM  
      The directory to use for storing uploaded files X$Shi *U[  
      设置存储上传文件的目录夹 N\"Hf=Y(~  
X?YT>+g;  
struts.objectFactory % *ng *  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'l<Oj&E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #<y/m*Ota  
O7%8F Y  
struts.objectFactory.spring.autoWire [!C!R$AMa  
      Whether Spring should autoWire or not p//mV H%  
      是否自动绑定Spring 4p7j "d5  
AC\y|X8-  
struts.objectFactory.spring.useClassCache o5['5?i}/  
      Whether Spring should use its class cache or not ;eJ|) *  
      是否spring应该使用自身的cache :%gM Xsb  
$ y(Qdb  
struts.objectTypeDeterminer _ FNW[V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class OHwH(}H?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D9  Mst6  
G6}!PEwM  
struts.serve.static.browserCache # 0d7  
If static content served by the Struts filter should set browser caching header properties or not <Mndr 8 H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ay =B<|!  
L#?mPF  
struts.serve.static s",G w]8  
      Whether the Struts filter should serve static content or not j115:f  
      是否struts过滤器应该提供静态内容 ]Q,&7D Ah  
F~0iJnF  
struts.tag.altSyntax M6ZXq6J  
      Whether to use the alterative syntax for the tags or not >;]S+^dXY  
      是否可以用替代的语法替代tags !3<b#QAXRG  
p1[|5r5Day  
struts.ui.templateDir !<HF764@`  
      The directory containing UI templates k0&FUO  
      UI templates的目录夹 2Jky,YLcb  
 '[HBKn$`  
struts.ui.theme ~# \{'<  
      The default UI template theme  Ci 'V  
      默认的UI template主题 V$w bmz  
g:.LCF  
struts.url.http.port -'}#j\  
      The HTTP port used by Struts URLs g##<d(e!}  
      设置http端口 Pc`)D:/}R  
f,KB BBbG  
struts.url.https.port y~@zfJ5/^  
      The HTTPS port used by Struts URLs g}xL7bTlI>  
      设置https端口 N+rU|iMa.  
t'l4$}(  
struts.url.includeParams hEQyaDD;  
      The default includeParams method to generate Struts URLs ~<m^  
      在url中产生 默认的includeParams @we1#Vz.  
Mz p<s<BX  
;*M@LP{*L  
struts.velocity.configfile dD=$$( je  
      The Velocity configuration file path a3tcLd|7J  
      velocity配置文件路径 ExS5RV@v'  
kz7FQE  
struts.velocity.contexts 8b)WOr6n  
      List of Velocity context names  JhFbze>  
      velocity的context列表 1x:W 3.  
\}s/<Q  
O {1" I  
struts.velocity.manager.classname 5M0Q'"`F:  
      org.apache.struts2.views.velocity.VelocityManager implementation class Pwl*5/l  
      org.apache.struts2.views.velocity.VelocityManager接口名 6*q1%rs:w  
IMH4GVr"  
struts.velocity.toolboxlocation ZH_$Q$9  
      The location of the Velocity toolbox 25$_tZP AI  
      velocity工具盒的位置 3ic /xy;}  
struts.xslt.nocache &*=!B9OBI  
      Whether or not XSLT templates should not be cached `$B?TNuch7  
      是否XSLT模版应该被缓存 c\{N:S>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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