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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7DI8r|~  
$/D@=P kc  
struts.action.extension 9@h>_1RJz  
      The URL extension to use to determine if the request is meant for a Struts action }n<dyX:a  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "evLI?  
|6&"r&  
struts.configuration sOHh&e  
      The org.apache.struts2.config.Configuration implementation class pZH bj2~  
        org.apache.struts2.config.Configuration接口名 $)'{+1  
vOqYt42  
struts.configuration.files 97 1qr  
      A list of configuration files automatically loaded by Struts eSvu:euv  
      struts自动加载的一个配置文件列表 eZUK<&0x5  
ULoTPx@N  
struts.configuration.xml.reload .z_^_@qdm  
      Whether to reload the XML configuration or not 2/;KZ+U&  
      是否加载xml配置(true,false) vj#gY2qZ  
4 Hu+ljdjB  
struts.continuations.package ALKhZFuz  
      The package containing actions that use Rife continuations (Q @m;i>  
      含有actions的完整连续的package名称 o]]Q7S=  
4TLh'?Xu9  
struts.custom.i18n.resources i}q6^;uTF  
      Location of additional localization properties files to load _gc2h@x1O  
      加载附加的国际化属性文件(不包含.properties后缀) [0 W^|=#K  
Edjh*  
struts.custom.properties { }>"f]3  
      Location of additional configuration properties files to load 0^.q5#A2  
      加载附加的配置文件的位置 vbSz&+52;  
~zuMX ;[  
< *XC`Ii  
struts.devMode >`6^1j(3  
      Whether Struts is in development mode or not B aXzz  
      是否为struts开发模式 x.d9mjLN8m  
N%^mR>.`  
struts.dispatcher.parametersWorkaround 87*R#((  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic au GN~"n^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \+5L. Q  
"U yw7  
struts.enable.DynamicMethodInvocation #Uudx~b  
      Allows one to disable dynamic method invocation from the URL $CXqkK<6  
        允许动态方法调用 KYlWV<sR  
<1hwXo  
struts.freemarker.manager.classname M14pg0Q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7C&`i}/t  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /R^!~J50  
g :O.$  
struts.i18n.encoding t[#`%$% '  
      The encoding to use for localization messages |ejrE,~1vb  
      国际化信息内码 5xRh'Jkyb  
M>0~Ek%3  
struts.i18n.reload Q(%uDUg%  
      Whether the localization messages should automatically be reloaded (2%C% #]8  
      是否国际化信息自动加载 /0(4wZe~?  
S_\RQB\l  
struts.locale |Q7Ch]G  
      The default locale for the Struts application o]jo R3  
      默认的国际化地区信息 s  n?  
d *H-l3N  
struts.mapper.class \Ud2]^D=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >0512_J+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GifD>c |z  
1-q\C<Q)  
struts.multipart.maxSize vnIxI a  
      The maximize size of a multipart request (file upload) !vG._7lPp  
      multipart请求信息的最大尺寸(文件上传用) rPQ$e!m1Ee  
\f._I+gJ  
struts.multipart.parser CMTy(Z8_)  
      The org.apache.struts2.dispatcher.multipart. J\2F%kBej?  
      MultiPartRequest parser implementation for a multipart request (file upload) Z5NuLB'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ujwI4oj"c  
o6{XT.z5qx  
x %$Z/  
struts.multipart.saveDir 's*UU:R  
      The directory to use for storing uploaded files ti'OjoJL  
      设置存储上传文件的目录夹 :?lSa6de  
'X`\vTxB  
struts.objectFactory L@v0C)  
      The com.opensymphony.xwork2.ObjectFactory implementation class p|W:;(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K)^.96{/@  
i3f/{D/  
struts.objectFactory.spring.autoWire \*_qP*vq@  
      Whether Spring should autoWire or not u,&Z5S  
      是否自动绑定Spring :<nL9y jt  
Av/|={i  
struts.objectFactory.spring.useClassCache 5*ABw6'6  
      Whether Spring should use its class cache or not cbS8~Xmj  
      是否spring应该使用自身的cache E4 JS   
7_A(1Lx/l7  
struts.objectTypeDeterminer r Cmqq/hZ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class viKN:n! Ev  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {%~Sbcq4F  
[D /q%  
struts.serve.static.browserCache u*H2kn[DU  
If static content served by the Struts filter should set browser caching header properties or not x37r{$2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {K:/(\  
7rsrC  
struts.serve.static W6]iJ  
      Whether the Struts filter should serve static content or not r\L:JTZ$  
      是否struts过滤器应该提供静态内容 4?8GK  
UlQ}   
struts.tag.altSyntax -BNW\ ]}  
      Whether to use the alterative syntax for the tags or not +)ro EJ_  
      是否可以用替代的语法替代tags M}us^t*  
?ILNp`k  
struts.ui.templateDir JCE364$$"  
      The directory containing UI templates wwE9|'Ok  
      UI templates的目录夹 W5sVQ`S-  
hZ$* sf  
struts.ui.theme MQp1j:CK  
      The default UI template theme :qw:)i  
      默认的UI template主题 ~d>O.*Q)  
T*LbZ"A  
struts.url.http.port c9DX  
      The HTTP port used by Struts URLs At.WBa3j%{  
      设置http端口 ,ad~ 6.Z_)  
V@T G"YF  
struts.url.https.port =OhhMAn  
      The HTTPS port used by Struts URLs XBi@\i=  
      设置https端口 +X.iJ$)  
NOo&5@z;H  
struts.url.includeParams H2rh$2  
      The default includeParams method to generate Struts URLs 7*u0)Hog  
      在url中产生 默认的includeParams 4AUY8Pxp  
4W$53LP8  
^Fy) oWS  
struts.velocity.configfile &\K,kS[.r  
      The Velocity configuration file path W9.Z hpM  
      velocity配置文件路径 Sd}fse  
hnH:G`[F  
struts.velocity.contexts )Z"7^ i  
      List of Velocity context names IjD: hR@  
      velocity的context列表 pcm|  
67Ge}6*2pd  
'$l*FWOEal  
struts.velocity.manager.classname EGU? 54  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,O $F`0>9A  
      org.apache.struts2.views.velocity.VelocityManager接口名 m[]p IXc(  
T%- F,i  
struts.velocity.toolboxlocation C6Dq7~{B  
      The location of the Velocity toolbox ^:LF  
      velocity工具盒的位置 C[<&% =  
struts.xslt.nocache  LBw,tP  
      Whether or not XSLT templates should not be cached WY0u9M4  
      是否XSLT模版应该被缓存 !|,=rM9x  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五