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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Vez8 ~r3  
bA#9'Qu^j  
struts.action.extension 0jlM~H  
      The URL extension to use to determine if the request is meant for a Struts action J|f29B-c  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C&H'?0Y@  
./k7""4   
struts.configuration EUuSN| a  
      The org.apache.struts2.config.Configuration implementation class G/Sp/I<d  
        org.apache.struts2.config.Configuration接口名 4 O8ct,Y  
X\ P%C  
struts.configuration.files "Mj#P9  
      A list of configuration files automatically loaded by Struts IUv#nB3  
      struts自动加载的一个配置文件列表 )/>BgXwH  
zT78FliY6  
struts.configuration.xml.reload e !jy6 t  
      Whether to reload the XML configuration or not 7[;!enO  
      是否加载xml配置(true,false) h>\C2Q  
GT<oYrjU  
struts.continuations.package {+WY,%e  
      The package containing actions that use Rife continuations WSH[*jMA  
      含有actions的完整连续的package名称 Dc-K08c  
=eQB-Xe8Y  
struts.custom.i18n.resources [A84R04_%  
      Location of additional localization properties files to load {V QGfN  
      加载附加的国际化属性文件(不包含.properties后缀) Z5 IWoY  
hbx4[Pf  
struts.custom.properties (V6bX]<  
      Location of additional configuration properties files to load F*PhV|XU  
      加载附加的配置文件的位置 BeVDTk :  
JK =A=  
'37 {$VHw  
struts.devMode AuXUD9 -  
      Whether Struts is in development mode or not !t23 _b0  
      是否为struts开发模式 [G|.  
eW(pP>@k,  
struts.dispatcher.parametersWorkaround dRJ ](Gw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic d,(y$V+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hI86WP9*  
F5Xb_&   
struts.enable.DynamicMethodInvocation ^}-l["u`  
      Allows one to disable dynamic method invocation from the URL OX;(Mg|  
        允许动态方法调用 LBy`N_@  
7y|U!r"Y  
struts.freemarker.manager.classname cpa" ,8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8IlUbj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _h-agn4[i  
DA "V)  
struts.i18n.encoding Ww-x+U\l  
      The encoding to use for localization messages ZwMVFC-d  
      国际化信息内码 =Q_1Mr4O  
.Od:#(aq  
struts.i18n.reload U7g`R@  
      Whether the localization messages should automatically be reloaded )4ek!G]Rb  
      是否国际化信息自动加载 caQ1SV^{9  
89&9VX^A  
struts.locale !.j{vvQ/  
      The default locale for the Struts application s9wzN6re  
      默认的国际化地区信息 M +OVqTsFU  
daKZ*B|  
struts.mapper.class G!I++M"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QlGK+I>y;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 FvT4?7-  
Y5GN7.  
struts.multipart.maxSize u;t<rEC2  
      The maximize size of a multipart request (file upload) H>/,Re  
      multipart请求信息的最大尺寸(文件上传用) :5~Dca_iU4  
U%@PY9#  
struts.multipart.parser @:zC!dR)G  
      The org.apache.struts2.dispatcher.multipart. ^ `yhN  
      MultiPartRequest parser implementation for a multipart request (file upload) >k"O3Pc@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d8: $ll  
W@AHE?s6g  
Ms6 ;iW9  
struts.multipart.saveDir %_Vz0 D! 7  
      The directory to use for storing uploaded files HMUx/M.j  
      设置存储上传文件的目录夹 t[!,puZc#  
l5w^rj  
struts.objectFactory -I5]#%eX^  
      The com.opensymphony.xwork2.ObjectFactory implementation class K;"H$0 !9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aZ~e;}w.Zq  
-4QZ/*  
struts.objectFactory.spring.autoWire X{#^O/  
      Whether Spring should autoWire or not ph6/+[:  
      是否自动绑定Spring l^R:W#*+U  
7{U[cG+a#  
struts.objectFactory.spring.useClassCache TE&E f$h  
      Whether Spring should use its class cache or not s&ox%L4  
      是否spring应该使用自身的cache i%133in  
<T7@,_T  
struts.objectTypeDeterminer "#wAGlH6>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C3 "EZe[R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :gRrM)n  
E~q3o*  
struts.serve.static.browserCache ~*EipxhstJ  
If static content served by the Struts filter should set browser caching header properties or not 1R-0b{w[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eW.qMx#:od  
'dwsm7Xd  
struts.serve.static T|\sN*}\8J  
      Whether the Struts filter should serve static content or not MkVv5C  
      是否struts过滤器应该提供静态内容 Q']'KU.  
7Z]?a  
struts.tag.altSyntax Nkb%4ofKqu  
      Whether to use the alterative syntax for the tags or not (1S9+H>g  
      是否可以用替代的语法替代tags {!( htg;  
im<!JMI  
struts.ui.templateDir }k AE  
      The directory containing UI templates L' _%zO  
      UI templates的目录夹 R5MN;xG^  
8Ie0L3d-  
struts.ui.theme 7202N?a {  
      The default UI template theme 9J%O$sF  
      默认的UI template主题 1;./e&%%  
T\zn&6  
struts.url.http.port ly!3~W  
      The HTTP port used by Struts URLs ~+ae68{p  
      设置http端口 *C)m#[#:u  
sfG9R"  
struts.url.https.port )e[q% %ks  
      The HTTPS port used by Struts URLs ]nV_K}!w  
      设置https端口 3 |e~YmZx  
+:#g6(P]  
struts.url.includeParams k!qOE\%B  
      The default includeParams method to generate Struts URLs zGO_S\  
      在url中产生 默认的includeParams Lo'G fHE  
qYqd-R  
y54RD/`-  
struts.velocity.configfile U2_;  
      The Velocity configuration file path ZnbpIJ8cV  
      velocity配置文件路径 k?pNmKVJM  
Qc9[/4R>  
struts.velocity.contexts YS9)%F=X  
      List of Velocity context names muK)Y w[#N  
      velocity的context列表 qyE*?73W  
y}QqS/  
kyB>]2  
struts.velocity.manager.classname O>wGJ.  
      org.apache.struts2.views.velocity.VelocityManager implementation class ojWf]$^y}  
      org.apache.struts2.views.velocity.VelocityManager接口名 3wgZDF38  
\>/AF<2"  
struts.velocity.toolboxlocation iee`Yg!EOH  
      The location of the Velocity toolbox w `M/0.)V  
      velocity工具盒的位置 CZv^,O(M?2  
struts.xslt.nocache 6>d 3*   
      Whether or not XSLT templates should not be cached 78mJ3/?rC  
      是否XSLT模版应该被缓存 v<} $d.&*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五