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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;8BA~,4l  
4b]_ #7Qm  
struts.action.extension f?Z|>3.2  
      The URL extension to use to determine if the request is meant for a Struts action 6eM6[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #^Ys{  
^/k ,  
struts.configuration z9 O~W5-U  
      The org.apache.struts2.config.Configuration implementation class  O)OUy  
        org.apache.struts2.config.Configuration接口名 21 ViHV  
7 %3<~'v[  
struts.configuration.files 8qN"3 Et  
      A list of configuration files automatically loaded by Struts V>B'+b+<  
      struts自动加载的一个配置文件列表 m*`cuSU|o  
4\\.n  
struts.configuration.xml.reload i=-8@  
      Whether to reload the XML configuration or not eI0F!Yon  
      是否加载xml配置(true,false) MO-!TZ+6  
_AprkI_  
struts.continuations.package kymn)Ea  
      The package containing actions that use Rife continuations aV<^IxE;  
      含有actions的完整连续的package名称 2yvVeo&3  
#\LZ;&T'N  
struts.custom.i18n.resources Nl { 7  
      Location of additional localization properties files to load V'j@K!)~xR  
      加载附加的国际化属性文件(不包含.properties后缀) 9_GokU P_  
yQ'eu;+]  
struts.custom.properties ;@9e\!%  
      Location of additional configuration properties files to load G)8ChnJa!m  
      加载附加的配置文件的位置 vnTq6:f#M  
kQIfYtT  
.A(i=!{q  
struts.devMode |:N>8%@6c  
      Whether Struts is in development mode or not ocwE_dR{  
      是否为struts开发模式 +1/b^Ac  
+qhnP$vIe  
struts.dispatcher.parametersWorkaround mpAHL(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q4k.f_{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {c@G$  
@UO}W_0ZD  
struts.enable.DynamicMethodInvocation }"n7~|  
      Allows one to disable dynamic method invocation from the URL qi&D+~Gv!  
        允许动态方法调用 Ib6(Bp9.L  
d/]|657u  
struts.freemarker.manager.classname N 'i,>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -6`;},Yr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a8zZgIV  
nkRK +~>  
struts.i18n.encoding E?cZ bn*>`  
      The encoding to use for localization messages lVoik *,B  
      国际化信息内码 ETO$9}x[  
@(>XOj?+  
struts.i18n.reload c" +zgP  
      Whether the localization messages should automatically be reloaded #]y5z i  
      是否国际化信息自动加载 O#:&*Mv  
=JW[pRI5a  
struts.locale AWT"Y4Ie  
      The default locale for the Struts application U<[jT=L  
      默认的国际化地区信息 Oc~aW3*A(  
B6MkF"J<  
struts.mapper.class M&f#wQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class RLHYw@-j@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 O,|\"b1(  
B?3juyB`--  
struts.multipart.maxSize Yb 6q))Y  
      The maximize size of a multipart request (file upload) 88l,&2q  
      multipart请求信息的最大尺寸(文件上传用) CW-Ae  
JDA]t&D!v  
struts.multipart.parser J {tVa(.  
      The org.apache.struts2.dispatcher.multipart. 63M=,0-Qt  
      MultiPartRequest parser implementation for a multipart request (file upload) Xa,\EEmQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =X@o@1  
:u/mTZDi  
")%r}:0  
struts.multipart.saveDir NR3`M?Hjf  
      The directory to use for storing uploaded files LuS+_|]x  
      设置存储上传文件的目录夹 !Lkm? (_  
[l*;E f,  
struts.objectFactory bX2"89{  
      The com.opensymphony.xwork2.ObjectFactory implementation class `!i-#~n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4pPI'd&/7  
$r79n-  
struts.objectFactory.spring.autoWire 7&+Ys  
      Whether Spring should autoWire or not `R+,1"5=  
      是否自动绑定Spring d~Mg vh'  
IzUo0D*@  
struts.objectFactory.spring.useClassCache CVQB"L  
      Whether Spring should use its class cache or not ,S!w'0k|n  
      是否spring应该使用自身的cache :=fvZAWD  
>qh?L#Fk  
struts.objectTypeDeterminer KOSQQf o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3n48%5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {rXs:N@  
@cv{rr  
struts.serve.static.browserCache .:9s}%Z r  
If static content served by the Struts filter should set browser caching header properties or not zOB=aG?/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f$F*3  
B42sb_  
struts.serve.static 6+` tn  
      Whether the Struts filter should serve static content or not euQ.ArF  
      是否struts过滤器应该提供静态内容 v(O=IUa  
1%`7.;!i  
struts.tag.altSyntax s| -FH X  
      Whether to use the alterative syntax for the tags or not X?o( b/F -  
      是否可以用替代的语法替代tags Xy7Z38G  
o6L9UdT   
struts.ui.templateDir |d}MxS`^  
      The directory containing UI templates qf8[!5GM  
      UI templates的目录夹 {{!Y]\2S  
KnzsHli,~k  
struts.ui.theme ^gYD*K!*  
      The default UI template theme 2]WE({P  
      默认的UI template主题 \Fb| {6+  
n&Yk<  
struts.url.http.port N1x@-/xa|  
      The HTTP port used by Struts URLs jbte *Ae  
      设置http端口 9uYyfb: ,z  
DQXS$uBT  
struts.url.https.port ]}PV"|#K{c  
      The HTTPS port used by Struts URLs ~<9{#uM  
      设置https端口 kB P*K  
L,]=vba'$  
struts.url.includeParams 5VE2@Fn}  
      The default includeParams method to generate Struts URLs ofdZ1F  
      在url中产生 默认的includeParams m{%t?w$Au  
xWX*tJ4  
[aqu }Su  
struts.velocity.configfile XbXA+ey6  
      The Velocity configuration file path .tXtcf/  
      velocity配置文件路径 #AViM_u  
xUWr}j4;  
struts.velocity.contexts Bl;KOR  
      List of Velocity context names :@3Wg3N  
      velocity的context列表 6Y384  
JXU2CyMY  
Y}STF  
struts.velocity.manager.classname *nTU# U  
      org.apache.struts2.views.velocity.VelocityManager implementation class &h~aChJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 O8u3y  
O m'(mr  
struts.velocity.toolboxlocation RW7(r/C  
      The location of the Velocity toolbox nCxAQ|P?  
      velocity工具盒的位置 Q(@IK&v  
struts.xslt.nocache `,Vv["^PB  
      Whether or not XSLT templates should not be cached :+&AY2`  
      是否XSLT模版应该被缓存 XhW %,/<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八