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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8h ol4'B  
,vR>hyM  
struts.action.extension GUQ3XF\  
      The URL extension to use to determine if the request is meant for a Struts action  3B#fnj  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9Zx| L/\  
A7QT4h&6  
struts.configuration F]OWqUV  
      The org.apache.struts2.config.Configuration implementation class `@ Z$+  
        org.apache.struts2.config.Configuration接口名 }r04*P(  
R1*&rjB  
struts.configuration.files 5!Er ;e  
      A list of configuration files automatically loaded by Struts # l1*#Z  
      struts自动加载的一个配置文件列表 ",YNphjAn  
qLBQ!>lR  
struts.configuration.xml.reload 8Ogg(uS70'  
      Whether to reload the XML configuration or not Ez <YD  
      是否加载xml配置(true,false) a[t"J*0  
V xN!Ki=  
struts.continuations.package i@{b+5$  
      The package containing actions that use Rife continuations Tu:lIy~A  
      含有actions的完整连续的package名称 ruhC:rg:/  
Fkv284,LM  
struts.custom.i18n.resources W&A^.% 2l  
      Location of additional localization properties files to load + fvVora  
      加载附加的国际化属性文件(不包含.properties后缀) S?DMeZ{:  
89[/UxM)  
struts.custom.properties 8f,",NCgc  
      Location of additional configuration properties files to load yJx,4be  
      加载附加的配置文件的位置 %5ov!nm7  
QKk7"2t|  
,9OER!$y  
struts.devMode N#J8 4i;ry  
      Whether Struts is in development mode or not l2#~   
      是否为struts开发模式 ml~ )7J  
#E4oq9{0*W  
struts.dispatcher.parametersWorkaround ^g'uR@uU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic J?p|Vy|9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c7rC!v  
pJ?y  
struts.enable.DynamicMethodInvocation V\Lh(zPt  
      Allows one to disable dynamic method invocation from the URL 7WV"Wrl]  
        允许动态方法调用 %i&am=  
MDpx@.A,  
struts.freemarker.manager.classname +MS*YpPW  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BT:b&"AR[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  LWo)x  
JpQV7}$  
struts.i18n.encoding lfoPFJ Z  
      The encoding to use for localization messages 8yr-X!eF  
      国际化信息内码 tjZS:@3 Z  
%*L8W*V  
struts.i18n.reload j%!xb><  
      Whether the localization messages should automatically be reloaded 8v)Z/R-  
      是否国际化信息自动加载 kaZcYuT.9  
b^Do[o}5  
struts.locale DUf . F  
      The default locale for the Struts application %z1hXh#+  
      默认的国际化地区信息 y_IF{%i  
BQMo*I>I  
struts.mapper.class CIR2sr0a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class h#h)=;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ud(w0eX  
enMHKN g  
struts.multipart.maxSize Zf)<)o*  
      The maximize size of a multipart request (file upload) >wV2` 6  
      multipart请求信息的最大尺寸(文件上传用) ++kVq$9@y  
gZ (\/m8Z  
struts.multipart.parser -OQ6;A"#  
      The org.apache.struts2.dispatcher.multipart. 6.v)q,JL  
      MultiPartRequest parser implementation for a multipart request (file upload) e ~G IUwJ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _T^@,!&  
G!GGT?J  
B3u:D"t  
struts.multipart.saveDir ~\R+p~>  
      The directory to use for storing uploaded files 3k+46Wp  
      设置存储上传文件的目录夹 Mc|UD*Z  
LZPLz@=&]  
struts.objectFactory c5Hm94, p  
      The com.opensymphony.xwork2.ObjectFactory implementation class c"'JMq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6K.0dhl>`B  
ds+0y;vc  
struts.objectFactory.spring.autoWire =sXk,I;  
      Whether Spring should autoWire or not e=6C0fr  
      是否自动绑定Spring F-?s8RD  
! "^//2N+,  
struts.objectFactory.spring.useClassCache +_fxV|}P  
      Whether Spring should use its class cache or not kEdAt5/U{  
      是否spring应该使用自身的cache y#{> tC  
LZpqv~av  
struts.objectTypeDeterminer u_)'}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k8sjW!2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'k$j^ |r>  
-[lOf  
struts.serve.static.browserCache DTV"~>@  
If static content served by the Struts filter should set browser caching header properties or not M[dJQ (  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 E7Pz~6  
^X?3e1om  
struts.serve.static SQBe}FlktK  
      Whether the Struts filter should serve static content or not f,Dj@?3+  
      是否struts过滤器应该提供静态内容 i\k>2df  
I_h&35^t  
struts.tag.altSyntax }W"/h)q  
      Whether to use the alterative syntax for the tags or not ON3~!Q)  
      是否可以用替代的语法替代tags >^KO5N-:4  
r7:4| 6E  
struts.ui.templateDir xcl8q:  
      The directory containing UI templates TqXB2`7Ri  
      UI templates的目录夹 t'Pn*  
=I9RM9O<  
struts.ui.theme 7pz #%Hf  
      The default UI template theme sZPA(N?  
      默认的UI template主题  F| O  
I.}E#f/A'  
struts.url.http.port eN ]9=Y~-K  
      The HTTP port used by Struts URLs w'D=K_h  
      设置http端口 dX~$#-Ad86  
5@@ilvwzz  
struts.url.https.port q vGkTE  
      The HTTPS port used by Struts URLs -Fs<{^E3j  
      设置https端口  HO =\  
-]~vE fq+T  
struts.url.includeParams 0)-yLfTn  
      The default includeParams method to generate Struts URLs PzD ekyl  
      在url中产生 默认的includeParams wtnC^d$  
/jv4# 9  
;V\l, u  
struts.velocity.configfile V17SJSC-  
      The Velocity configuration file path pbePxOG  
      velocity配置文件路径 4XXuj  
6` @4i'.  
struts.velocity.contexts %oE3q>S$en  
      List of Velocity context names N1i%b,:3  
      velocity的context列表 etWCMR  
iqP MCOPZ  
0_faJjTbP;  
struts.velocity.manager.classname <mdHca  
      org.apache.struts2.views.velocity.VelocityManager implementation class uMe]].04  
      org.apache.struts2.views.velocity.VelocityManager接口名 a$ FO5%o  
Gg=Y}S7:  
struts.velocity.toolboxlocation yJAz#~PO/  
      The location of the Velocity toolbox /KH,11 )yc  
      velocity工具盒的位置 kls 6Dk#  
struts.xslt.nocache '9d] B^)F  
      Whether or not XSLT templates should not be cached 8%D 2G i  
      是否XSLT模版应该被缓存 ijR,%qg  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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