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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 n7d`J_%s  
< !]7Gt  
struts.action.extension _x?S0R1  
      The URL extension to use to determine if the request is meant for a Struts action m\ /V0V\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \>4x7mF!  
WI54xu1M  
struts.configuration Fprhu;h  
      The org.apache.struts2.config.Configuration implementation class 6 i]B8Ziq{  
        org.apache.struts2.config.Configuration接口名 {1W,-%  
%$F\o1S  
struts.configuration.files sUsIu,1Q  
      A list of configuration files automatically loaded by Struts .,SWa;[iB  
      struts自动加载的一个配置文件列表 5<?/M<i  
y#5;wb<1  
struts.configuration.xml.reload t8-LPq  
      Whether to reload the XML configuration or not !_h<w?)  
      是否加载xml配置(true,false) }Yp]A  
=JB1]b{|  
struts.continuations.package U KdCG.E9^  
      The package containing actions that use Rife continuations jI807g+  
      含有actions的完整连续的package名称 vC5y]1QDd  
CB?,[#r5f  
struts.custom.i18n.resources ,T7(!)dR  
      Location of additional localization properties files to load L!kbDbqn  
      加载附加的国际化属性文件(不包含.properties后缀) )nUTux0K\  
Y--Uo|H  
struts.custom.properties xsXf_gGu  
      Location of additional configuration properties files to load D~%h3HM  
      加载附加的配置文件的位置 pw1&WP&?3  
WG3 .qLH%  
g [+_T{  
struts.devMode *5;#+%A  
      Whether Struts is in development mode or not WK6|e[iP  
      是否为struts开发模式 ,?s: s&4  
>"+bL6#  
struts.dispatcher.parametersWorkaround <US!XMrCg  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XJi^gT N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @0q*50  
l&v&a!EU  
struts.enable.DynamicMethodInvocation ZNG{:5u,  
      Allows one to disable dynamic method invocation from the URL 6o ]X.plr  
        允许动态方法调用 k%lz%r  
FcZ)_m6m  
struts.freemarker.manager.classname RDQK_Ef:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A+F@JpV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 XxE>KeP  
n7K\\|X  
struts.i18n.encoding +W9#^  
      The encoding to use for localization messages L\X 2Olfz1  
      国际化信息内码 8p~G)J3U  
&(HIBF'O  
struts.i18n.reload q3R?8Mb  
      Whether the localization messages should automatically be reloaded kc70HrG  
      是否国际化信息自动加载 4f> s2I&pQ  
%q 7gl;'  
struts.locale n+uDg  
      The default locale for the Struts application "+J[7p}`@  
      默认的国际化地区信息 I%31MU9  
pwO U6A!  
struts.mapper.class j#E&u*IR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |\ 4cQ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B":u5_B  
&c1zEgl  
struts.multipart.maxSize :u>9H{a  
      The maximize size of a multipart request (file upload) \d{S3\7  
      multipart请求信息的最大尺寸(文件上传用) >D/+04w  
B>W!RyH8o  
struts.multipart.parser 2s:$4]K D  
      The org.apache.struts2.dispatcher.multipart. `.a~G y  
      MultiPartRequest parser implementation for a multipart request (file upload) H:M;H =0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) xu7Q^F#u  
S?Z"){  
vS'5Lm  
struts.multipart.saveDir ,\n%e'  
      The directory to use for storing uploaded files A&6qt  
      设置存储上传文件的目录夹 C| Vz `FY  
o2M4?}TpIV  
struts.objectFactory Y:} !W  
      The com.opensymphony.xwork2.ObjectFactory implementation class \@HsMV2+zN  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )S6"I  
7cJh^M   
struts.objectFactory.spring.autoWire w(Hio-l=  
      Whether Spring should autoWire or not 42mZ.,<  
      是否自动绑定Spring uKocEWB=/F  
H '(Ky  
struts.objectFactory.spring.useClassCache Bys_8x}  
      Whether Spring should use its class cache or not @fxDe[J:  
      是否spring应该使用自身的cache  @Iy&Qo  
)~l`%+  
struts.objectTypeDeterminer @-QDp`QtI  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y6S:[Z{~A  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 OJF41Z  
S 2SJFp  
struts.serve.static.browserCache Zl+Ba   
If static content served by the Struts filter should set browser caching header properties or not {Jj vF  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h^$ c  
VDP \E<3"  
struts.serve.static 2{o eJ  
      Whether the Struts filter should serve static content or not 0*Is#73rjY  
      是否struts过滤器应该提供静态内容 ]#VNZ#("  
"~&d= f0m  
struts.tag.altSyntax I,xV&j+<  
      Whether to use the alterative syntax for the tags or not 2E":6:Wsw  
      是否可以用替代的语法替代tags m@){@i2.  
<ny)yK  
struts.ui.templateDir eDPmUlC+-  
      The directory containing UI templates Gv3AJ'NL  
      UI templates的目录夹 +kK6G#c  
A(Ss:7({  
struts.ui.theme _7LZ\V+MLW  
      The default UI template theme !DUC#)F  
      默认的UI template主题 Hs~u&c  
NXw$PM|+R  
struts.url.http.port g$jZpU  
      The HTTP port used by Struts URLs E}WO?xxv74  
      设置http端口 $m-rn'Q  
h!L6NS_Q,  
struts.url.https.port zU)Ib<$  
      The HTTPS port used by Struts URLs 4D-4BxN*  
      设置https端口 }}'0r2S  
V]$Tbxg  
struts.url.includeParams (NBq!;_2,x  
      The default includeParams method to generate Struts URLs 3'zm)SXJ  
      在url中产生 默认的includeParams 5#v|t\ {  
C`0;  
M@/Hd0$  
struts.velocity.configfile (;@\gRL  
      The Velocity configuration file path E5J2=xVW#  
      velocity配置文件路径 S!;:7?mq  
V=v7<I=]  
struts.velocity.contexts 'sCj|=y2Qc  
      List of Velocity context names c$>$2[*=  
      velocity的context列表 pjP R3 r  
XeT{y]lkd  
&m>sGCZ  
struts.velocity.manager.classname ?$#,h30  
      org.apache.struts2.views.velocity.VelocityManager implementation class +w]KK6  
      org.apache.struts2.views.velocity.VelocityManager接口名 71# ipZ  
Lh(` 9(tX  
struts.velocity.toolboxlocation cj!Ew}o40D  
      The location of the Velocity toolbox g}B|ZRz+{  
      velocity工具盒的位置 @m=xCg.Z  
struts.xslt.nocache b&V}&9'[M;  
      Whether or not XSLT templates should not be cached I;<aJo6Yl  
      是否XSLT模版应该被缓存 EhOy<f[4W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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