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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 uN)c!='I  
hWy@?r.  
struts.action.extension 7 FE36Ub9  
      The URL extension to use to determine if the request is meant for a Struts action  |,$&jSe  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #Nh'1@@  
b$b;^nly  
struts.configuration LFax$CZc  
      The org.apache.struts2.config.Configuration implementation class UQu6JkbLL  
        org.apache.struts2.config.Configuration接口名 dL$ iTSfz"  
i%FC lMF  
struts.configuration.files LTe ({6l0  
      A list of configuration files automatically loaded by Struts r!&174DSR1  
      struts自动加载的一个配置文件列表 5?^#v  
r]!#v{#.  
struts.configuration.xml.reload k ;^$Pd?t  
      Whether to reload the XML configuration or not Uoe{,4T  
      是否加载xml配置(true,false) 4:/V|E\D  
y^C5_w(^jZ  
struts.continuations.package Z^>4qf,k  
      The package containing actions that use Rife continuations D3 C7f'  
      含有actions的完整连续的package名称 fQ5v?(  
rn|]-^ku/  
struts.custom.i18n.resources ?>B?*IK!  
      Location of additional localization properties files to load t"4* ]S  
      加载附加的国际化属性文件(不包含.properties后缀) p3Ux%/ZqPV  
\#,2#BmO"E  
struts.custom.properties vW &G\L  
      Location of additional configuration properties files to load 2p&$bf t  
      加载附加的配置文件的位置 @*y4uI6&  
[`@M!G.  
7su2A>Ix  
struts.devMode r.e K;  
      Whether Struts is in development mode or not dcY(1p)  
      是否为struts开发模式 D\THe-Vtr  
zpwoK&T+  
struts.dispatcher.parametersWorkaround {d.z/Buu  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r0}x:{$M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A^,E~Z!x  
Pdf-2 Tx  
struts.enable.DynamicMethodInvocation ~LuGfPO^  
      Allows one to disable dynamic method invocation from the URL 6=/sEzS'  
        允许动态方法调用 J3mLjYy  
1O`V_d)  
struts.freemarker.manager.classname m+!.H\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u1 Q;M`+>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 tBGLEeL/.  
w#)u+^-  
struts.i18n.encoding Lp-$Ie  
      The encoding to use for localization messages 8SRUqe[H]  
      国际化信息内码 k~AtnI  
~8&->?{  
struts.i18n.reload Ub f5 :  
      Whether the localization messages should automatically be reloaded CN(-Jd.b  
      是否国际化信息自动加载 }&+,y<>   
gpyio1V>  
struts.locale JYj*.Q0  
      The default locale for the Struts application 1\,k^Je7  
      默认的国际化地区信息 .WKJ37od  
>"IG\//I  
struts.mapper.class Il4]1d|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yKUxjb^b\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (z8ZCyq7r[  
W*s=No3C  
struts.multipart.maxSize ch%zu%;f  
      The maximize size of a multipart request (file upload) 'qEw]l  
      multipart请求信息的最大尺寸(文件上传用) vfn[&WN]  
7:F0?l*  
struts.multipart.parser 423%K$710  
      The org.apache.struts2.dispatcher.multipart. #y:F3$c  
      MultiPartRequest parser implementation for a multipart request (file upload) ;UXV!8SM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) yCR8c,'8  
@{RhO|UR  
+ a*Ic8*  
struts.multipart.saveDir JAKs [@:  
      The directory to use for storing uploaded files o|d:rp!^  
      设置存储上传文件的目录夹 7]Qxt%7/>  
&8f/6dq  
struts.objectFactory xU%]G .k  
      The com.opensymphony.xwork2.ObjectFactory implementation class kF'9@*?J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) zjA#8;h~w  
m4h)Wq  
struts.objectFactory.spring.autoWire N`7OJ)l  
      Whether Spring should autoWire or not esZhX)dS  
      是否自动绑定Spring V?*fl^f  
+JG05h%'  
struts.objectFactory.spring.useClassCache 5"40{3  
      Whether Spring should use its class cache or not \i[N ";K  
      是否spring应该使用自身的cache 72RTEGy  
,F->*=  
struts.objectTypeDeterminer 837:;<T  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kuBtPZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 QZ(O2!Mg  
<t!0{FJ  
struts.serve.static.browserCache p q?# X0  
If static content served by the Struts filter should set browser caching header properties or not }\H. G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X} V]3  
Cp!9 "J:  
struts.serve.static Ff0V6j)ji  
      Whether the Struts filter should serve static content or not D1deh=  
      是否struts过滤器应该提供静态内容 dHOH]x  
g,*fpk  
struts.tag.altSyntax  :Kyr}-  
      Whether to use the alterative syntax for the tags or not 65@GXn[W_  
      是否可以用替代的语法替代tags `0W"[BY  
SF:{PgGMi  
struts.ui.templateDir V6ECL6n  
      The directory containing UI templates G+sB/l"  
      UI templates的目录夹 M@q)\UQ'  
SZ4y\I  
struts.ui.theme hiVDN"$$  
      The default UI template theme Z>w@3$\z  
      默认的UI template主题 @o@SU"[?_  
tculG|/  
struts.url.http.port l0yflFGr  
      The HTTP port used by Struts URLs J+0 ?e9  
      设置http端口 6,CK1j+tZ  
ZA_~o#0%  
struts.url.https.port nx`W!|g$`  
      The HTTPS port used by Struts URLs v(sS$2J|}  
      设置https端口 j;Lp@~M  
;$!0pxL)s  
struts.url.includeParams YP"%z6N@v  
      The default includeParams method to generate Struts URLs xXV15%&  
      在url中产生 默认的includeParams 3!*` hQ;s  
WV|9d}5  
;SA+| ,  
struts.velocity.configfile >i1wB!gc8  
      The Velocity configuration file path 3e;K5qSeo/  
      velocity配置文件路径 Y\1&  Uk  
=5pwNi_S  
struts.velocity.contexts {iLr$ 89  
      List of Velocity context names '+^XL6$L  
      velocity的context列表 kmfz.:j{  
_#P5j#  
HwMe^e;  
struts.velocity.manager.classname ac4dIW{$3  
      org.apache.struts2.views.velocity.VelocityManager implementation class OnW,R3eg  
      org.apache.struts2.views.velocity.VelocityManager接口名 5= MM^$QG  
%s%e5hU  
struts.velocity.toolboxlocation 99q$>nx,w  
      The location of the Velocity toolbox V3pn@'pr  
      velocity工具盒的位置 c$hoqi |tD  
struts.xslt.nocache Me,AE^pgL'  
      Whether or not XSLT templates should not be cached 'aZAWY d  
      是否XSLT模版应该被缓存 t9 id^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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