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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Y0`@$d&n  
7#K%Bo2pG  
struts.action.extension T=6fZ;7  
      The URL extension to use to determine if the request is meant for a Struts action =\;yxl  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q@B--Omfh  
9aYDi)  
struts.configuration ? +{=>{1  
      The org.apache.struts2.config.Configuration implementation class 3n{'}SYyz  
        org.apache.struts2.config.Configuration接口名 kigq(a  
<i9pJGW  
struts.configuration.files CG!/Lbd  
      A list of configuration files automatically loaded by Struts Q>qx? g  
      struts自动加载的一个配置文件列表 u~MD?!LV  
~ZbEKqni2  
struts.configuration.xml.reload F/c7^  
      Whether to reload the XML configuration or not l AF/O5b  
      是否加载xml配置(true,false) !Z +4FwF  
{k.Dy92  
struts.continuations.package L'XX++2  
      The package containing actions that use Rife continuations Rv R ,V  
      含有actions的完整连续的package名称 Sn 3@+9J  
b'\a 4  
struts.custom.i18n.resources /">A3bq  
      Location of additional localization properties files to load -:92<G\D  
      加载附加的国际化属性文件(不包含.properties后缀) H"hL+F^  
.yp"6S^b  
struts.custom.properties |BrD:+  
      Location of additional configuration properties files to load oNV5su  
      加载附加的配置文件的位置 V_Owi5h  
S}zh0`+d'Z  
=/xTUI4  
struts.devMode {oIv%U9  
      Whether Struts is in development mode or not a&yIH;-  
      是否为struts开发模式 fJ"#c<n  
-oGJPl{r  
struts.dispatcher.parametersWorkaround 2w>l nJ-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *Jd,8B/hC  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <YU+W"jQT  
-~z]ut<Z  
struts.enable.DynamicMethodInvocation CS[[TzC=5  
      Allows one to disable dynamic method invocation from the URL P $4h_dw  
        允许动态方法调用 vwZd@%BO  
S,&tKDJn  
struts.freemarker.manager.classname GtZkzVqLd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =*f>vrme  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 WH Zz?|^  
0fc]RkHs"  
struts.i18n.encoding A)I4 `3E  
      The encoding to use for localization messages &mebpEHUG7  
      国际化信息内码 ppcuMcR{  
[5&zyIi  
struts.i18n.reload Q8:`;W  
      Whether the localization messages should automatically be reloaded wFr}]<=Mi  
      是否国际化信息自动加载 ,>-Q#  
Zkn$D:  
struts.locale ]KX _a1e  
      The default locale for the Struts application <a>\.d9#)7  
      默认的国际化地区信息 $,+'|_0yM  
A/kRw'6  
struts.mapper.class w3j51v` 0'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z,~"`9>Ss  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pPztUz/.  
K*&?+_v :  
struts.multipart.maxSize F^iv1b  
      The maximize size of a multipart request (file upload) F_Q,j]0  
      multipart请求信息的最大尺寸(文件上传用) \L14rQ t  
H]:z:AAvX  
struts.multipart.parser _E({!t"`  
      The org.apache.struts2.dispatcher.multipart. 0>D:  
      MultiPartRequest parser implementation for a multipart request (file upload) D8+68_BEM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^Pc>/lY$Q%  
G$\2@RT9[  
BV=L.*  
struts.multipart.saveDir LM_/:  
      The directory to use for storing uploaded files Pw4j?pv2  
      设置存储上传文件的目录夹 p_hljgOV  
*|c*/7]<  
struts.objectFactory mPR(4Ol.  
      The com.opensymphony.xwork2.ObjectFactory implementation class t >89( k  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1c=Roiq  
xJ"CAg|B  
struts.objectFactory.spring.autoWire {.7ve<K  
      Whether Spring should autoWire or not Ln;jB&t  
      是否自动绑定Spring g*9jPwdG  
$"Oy }  
struts.objectFactory.spring.useClassCache \R& 4Nu2F  
      Whether Spring should use its class cache or not ns.[PJ"8  
      是否spring应该使用自身的cache  )]2yTG[  
@a.Y9;O  
struts.objectTypeDeterminer wEK@B&DV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^'8T9N@U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @Yua%n6]#D  
:j/PtNT@  
struts.serve.static.browserCache C7=Q!UK`\  
If static content served by the Struts filter should set browser caching header properties or not M4a- +T"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,j~ R ^j  
b@ J&jE~d  
struts.serve.static l'~]8Wo1  
      Whether the Struts filter should serve static content or not #80*3vi~F  
      是否struts过滤器应该提供静态内容 zT}Qrf~  
:=#*[H  
struts.tag.altSyntax >/Z#{;kOz  
      Whether to use the alterative syntax for the tags or not Meh?FW||5  
      是否可以用替代的语法替代tags qL^}t_>  
W%]sI n  
struts.ui.templateDir 6p/gvpZ  
      The directory containing UI templates 7lpd$Y  
      UI templates的目录夹 aE^tc'h~  
?v2OoNQ   
struts.ui.theme F<q3{}1zR  
      The default UI template theme SEY  
      默认的UI template主题 Fi{~UOZg  
0|X!Uw-Q%_  
struts.url.http.port 2tvMa%1^  
      The HTTP port used by Struts URLs ?MhRdY  
      设置http端口 uh`@qmu)  
t#|E.G:=  
struts.url.https.port G)l[\6Dn  
      The HTTPS port used by Struts URLs qx5X2@-;:  
      设置https端口 JH!qGV1  
_C?<re3*  
struts.url.includeParams 9d2#=IJm  
      The default includeParams method to generate Struts URLs maLJ M\C  
      在url中产生 默认的includeParams :V2j'R,  
<p(&8P  
N$ZThZqqv  
struts.velocity.configfile 5=Bj?xb$'  
      The Velocity configuration file path w <]7:/  
      velocity配置文件路径 uK]@! gz  
=5&)^  
struts.velocity.contexts zTY|Z@:  
      List of Velocity context names 4'rWy~` V  
      velocity的context列表 |0w'+HaE~N  
G#'3bxI{f+  
A"Rzn1/  
struts.velocity.manager.classname %5RYa<oP  
      org.apache.struts2.views.velocity.VelocityManager implementation class my")/e  
      org.apache.struts2.views.velocity.VelocityManager接口名  $J mL)r  
8QYG"CA6/  
struts.velocity.toolboxlocation sTqy-^e7  
      The location of the Velocity toolbox +7<{yP6wU  
      velocity工具盒的位置 _u}v(!PI  
struts.xslt.nocache L{2\NJ"+u  
      Whether or not XSLT templates should not be cached !?tWWU%P)  
      是否XSLT模版应该被缓存 /#$bb4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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