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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @Bs0Avj.  
dDtFx2(R  
struts.action.extension t`|,6qEG  
      The URL extension to use to determine if the request is meant for a Struts action 6EJVD!#[K  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "0&N}  
G'x .NL  
struts.configuration 'v&}(  
      The org.apache.struts2.config.Configuration implementation class S>Z|) I  
        org.apache.struts2.config.Configuration接口名 pOga6'aB)  
H4<Nnd\   
struts.configuration.files C!%:o/  
      A list of configuration files automatically loaded by Struts h`5)2n+P  
      struts自动加载的一个配置文件列表 XU-m"_t  
nWWM2v  
struts.configuration.xml.reload 8`v$liH  
      Whether to reload the XML configuration or not uQeu4$k!  
      是否加载xml配置(true,false) bAF )Bli  
Ec]|p6a3  
struts.continuations.package o6}n8U}bk  
      The package containing actions that use Rife continuations *'ZN:5%H  
      含有actions的完整连续的package名称 x5Zrz<Y$w  
hu5!ev2  
struts.custom.i18n.resources #^rU x.  
      Location of additional localization properties files to load AQ{zx1^2>K  
      加载附加的国际化属性文件(不包含.properties后缀) V#83!  
!.Zt[g}  
struts.custom.properties @CQb[!9C  
      Location of additional configuration properties files to load .mxTfP=9  
      加载附加的配置文件的位置 xiM&$<LpR  
`/Y+1 aD  
-_8*41  
struts.devMode ?o[L7JI  
      Whether Struts is in development mode or not lDc;__}Ws  
      是否为struts开发模式 . (`3JQ2s  
r;qzo .  
struts.dispatcher.parametersWorkaround p!W[X%`)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3qM Nl>>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4]XI"-M^D  
&35|16z%@  
struts.enable.DynamicMethodInvocation 8SmjZpQ?  
      Allows one to disable dynamic method invocation from the URL UG[e//m  
        允许动态方法调用 j"7 JLe*  
\4bWWy  
struts.freemarker.manager.classname ;Zut@z4\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JlZ0n;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 jO'|mGUM  
kA#vByf`v  
struts.i18n.encoding 6*XM7'n  
      The encoding to use for localization messages 8i 0  
      国际化信息内码 hW 2.8f$  
O/OiQ^T  
struts.i18n.reload py<_HyJ  
      Whether the localization messages should automatically be reloaded "="O >  
      是否国际化信息自动加载 n:#TOU1ix<  
F0dI/+  
struts.locale uV]ULm#,i  
      The default locale for the Struts application *l>0t]5YH  
      默认的国际化地区信息 [CN$ScK,  
$3P`DJo  
struts.mapper.class ,Og4 ?fS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _ PWj(});  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %mI~ =^za  
~+n,1]W_  
struts.multipart.maxSize rT7^-B*  
      The maximize size of a multipart request (file upload) Un@\kAY  
      multipart请求信息的最大尺寸(文件上传用) "mIgs9l$  
B BL485`  
struts.multipart.parser |. C1|J'Z  
      The org.apache.struts2.dispatcher.multipart. _sMs}?^  
      MultiPartRequest parser implementation for a multipart request (file upload) r%=[},JQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _p}xZD\?,  
+m$5a YX  
#V_GOy1-  
struts.multipart.saveDir VWf %v  
      The directory to use for storing uploaded files /iM$Tb5  
      设置存储上传文件的目录夹 79 Bg]~}Z  
@h9MxCE!  
struts.objectFactory Of7 +/UV  
      The com.opensymphony.xwork2.ObjectFactory implementation class }NmNanW^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |X(2Zv^O  
/Jlv"R 1,  
struts.objectFactory.spring.autoWire ~1(j&&kXet  
      Whether Spring should autoWire or not t/p $  
      是否自动绑定Spring ae`|ic  
UQ8bN I7  
struts.objectFactory.spring.useClassCache ?&c:q3_-Z  
      Whether Spring should use its class cache or not 1;r69e  
      是否spring应该使用自身的cache d#_m.j  
Vb4;-?s_  
struts.objectTypeDeterminer f}fsoDoQ=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;!u;!F!i  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Kn}ub+ "J  
dbF M,"^  
struts.serve.static.browserCache :Ml7G  
If static content served by the Struts filter should set browser caching header properties or not `rFAZcEj%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mP}#Ccji?  
wD9a#AgEd  
struts.serve.static KS<Jv;  
      Whether the Struts filter should serve static content or not xAdq+$><  
      是否struts过滤器应该提供静态内容 1(gfdx9|b  
6`e@$(dfA  
struts.tag.altSyntax }vh Za p^  
      Whether to use the alterative syntax for the tags or not g1[&c+=U`P  
      是否可以用替代的语法替代tags 9K"JYJ q2  
> J>V% 7  
struts.ui.templateDir $& {IKP)u  
      The directory containing UI templates 80hme+e  
      UI templates的目录夹 Y94MI1O5$  
H%i>L?J2/  
struts.ui.theme x0+glQrNN  
      The default UI template theme LI W*4r!  
      默认的UI template主题 !`wW_W  
Faac]5u:*  
struts.url.http.port r/r:oXK  
      The HTTP port used by Struts URLs S%6U~@hig  
      设置http端口 *"9<TSU%m  
_%pAlo_6  
struts.url.https.port 4<v;1   
      The HTTPS port used by Struts URLs Dn;p4T@  
      设置https端口 >P(`MSc  
9f+RAN(  
struts.url.includeParams 1:NS}r+>3.  
      The default includeParams method to generate Struts URLs - r#K#v3  
      在url中产生 默认的includeParams uHM@h{r  
>L>+2z  
D3]BTkMMS;  
struts.velocity.configfile Sp?NfJ\Ie  
      The Velocity configuration file path :c8^db`"  
      velocity配置文件路径 RUXCq`)"<  
+x1/-J8_sg  
struts.velocity.contexts N6/T#UVns  
      List of Velocity context names 8jnz}aBd  
      velocity的context列表 2CLB1  
GjQfi'vCk  
U}AX0*S  
struts.velocity.manager.classname F[E? A95W  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5cTY;@@  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^R_e  
nX5C< Ky  
struts.velocity.toolboxlocation v5$s#f<   
      The location of the Velocity toolbox w6zB Vi  
      velocity工具盒的位置 ?U9/fl  
struts.xslt.nocache lOerrP6f(  
      Whether or not XSLT templates should not be cached ;u!?QSvb  
      是否XSLT模版应该被缓存 wK*PD&nN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五