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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 '`-W!g[ >  
q(i^sE[y  
struts.action.extension P9Gjsu #  
      The URL extension to use to determine if the request is meant for a Struts action &B^zu+J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yqy5i{Y  
)yV|vn  
struts.configuration N2?o6)  
      The org.apache.struts2.config.Configuration implementation class Vvth,  
        org.apache.struts2.config.Configuration接口名 }Htnhom0n  
){AtV&{$  
struts.configuration.files pJ` M5pF  
      A list of configuration files automatically loaded by Struts 0 !D,74r  
      struts自动加载的一个配置文件列表 h>'9-j6B  
F{:ZHCm  
struts.configuration.xml.reload )HrFWI'Y  
      Whether to reload the XML configuration or not X5@S LkJ-`  
      是否加载xml配置(true,false) ^w0V{qF{  
61Z#;2]  
struts.continuations.package (,5oqU9s@  
      The package containing actions that use Rife continuations O'6zV"<P  
      含有actions的完整连续的package名称 p.r \|  
Zz"b&`K  
struts.custom.i18n.resources 7}r!&Eb  
      Location of additional localization properties files to load ZP@or2No%  
      加载附加的国际化属性文件(不包含.properties后缀) Q9(J$_:  
Qz T>h  
struts.custom.properties bv.DW,l%'  
      Location of additional configuration properties files to load Q?f%]uGFQ  
      加载附加的配置文件的位置 }(g`l)OX  
}Yi)r*LI3  
dmq<vVxC  
struts.devMode wq|~[+y  
      Whether Struts is in development mode or not C~do*rnM^  
      是否为struts开发模式 p!+7F\  
S?X2MX  
struts.dispatcher.parametersWorkaround e&Z\hZBb  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T;cyU9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Wq bfZx  
NDw+bR-  
struts.enable.DynamicMethodInvocation 59?@55  
      Allows one to disable dynamic method invocation from the URL -#=y   
        允许动态方法调用 u!k]Q#2ZR  
<b-BJ2],k  
struts.freemarker.manager.classname \JJ>y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class pK)*{fC$`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 p^2"g~  
i\P?Y(-{  
struts.i18n.encoding T6X%.tR>`  
      The encoding to use for localization messages 45Z"U<I,9  
      国际化信息内码 8+m[ %5lu  
sU {'  
struts.i18n.reload %5N;SRtv  
      Whether the localization messages should automatically be reloaded {K{&__Nk  
      是否国际化信息自动加载 +%Vbz7+!  
;z6Gk&?  
struts.locale z*Y4t?+  
      The default locale for the Struts application kmJ {(y)w  
      默认的国际化地区信息 pUvbIbg+  
Qg)=4(<Hr  
struts.mapper.class CYr2~0<g  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G1; .\i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S(7_\8 h  
b&LfL$  
struts.multipart.maxSize I91pX<NBf  
      The maximize size of a multipart request (file upload) ;Nw.  
      multipart请求信息的最大尺寸(文件上传用) -Jo8jE~>V  
8>: kv:MId  
struts.multipart.parser 89I[Dg;"u  
      The org.apache.struts2.dispatcher.multipart. _$<Q$P6y  
      MultiPartRequest parser implementation for a multipart request (file upload) M`W%nvEDE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'Ii%/ Ob!  
(Bta vE  
s]=s2.=  
struts.multipart.saveDir 3xhv~be  
      The directory to use for storing uploaded files ~R`Rj*Q2Y  
      设置存储上传文件的目录夹 ;WQ@dC  
"J0,SFu:  
struts.objectFactory t@GPB]3[  
      The com.opensymphony.xwork2.ObjectFactory implementation class A#s`!SNv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8\-Q(9q(  
IAr  
struts.objectFactory.spring.autoWire HaP0;9q  
      Whether Spring should autoWire or not {HV$hU+_)Q  
      是否自动绑定Spring SZOcFmC?  
:n3)vK   
struts.objectFactory.spring.useClassCache 8S&Kf>D  
      Whether Spring should use its class cache or not q!iMc  
      是否spring应该使用自身的cache KRS_6G],{  
],*^wQ   
struts.objectTypeDeterminer zNE"5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;().  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f%LzWXA  
> ,L'A;c}  
struts.serve.static.browserCache Oeo:V"  
If static content served by the Struts filter should set browser caching header properties or not $}d| ~q\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Onr#p4UT  
Da)rzr|}>3  
struts.serve.static U D9&k^  
      Whether the Struts filter should serve static content or not NO4V{}?a  
      是否struts过滤器应该提供静态内容 zl>l.zJ  
qp(F}@  
struts.tag.altSyntax *}9i@DP1,  
      Whether to use the alterative syntax for the tags or not q&IO9/[dk  
      是否可以用替代的语法替代tags ;H#'9p,2  
lFWN [`H  
struts.ui.templateDir P)fv:a  
      The directory containing UI templates b\zRwp  
      UI templates的目录夹 ?Gq'r2V  
&"dT/5}6  
struts.ui.theme Rd5ni2-nve  
      The default UI template theme %0]vW;Q5  
      默认的UI template主题 {~g(WxE  
6qA48:/F=  
struts.url.http.port _=c>>X  
      The HTTP port used by Struts URLs +"Pt?k  
      设置http端口 RU!j"T 5  
G"CV S@  
struts.url.https.port K 7)1wiEj  
      The HTTPS port used by Struts URLs 0G/VbS  
      设置https端口 _(J7^rN  
W_EM k  
struts.url.includeParams nZ>bOP+,  
      The default includeParams method to generate Struts URLs (7RxCo=X  
      在url中产生 默认的includeParams i2{xW`AcUh  
fP`g#t)4Tu  
/^~3Ib8Fw+  
struts.velocity.configfile lAsDdxB`  
      The Velocity configuration file path rs01@  
      velocity配置文件路径 ,63hO.4M  
t&UPU&tY  
struts.velocity.contexts 7<Fp3N 3  
      List of Velocity context names pv2_A   
      velocity的context列表 . xT8@]  
E3gR%t  
e";r_J3w  
struts.velocity.manager.classname `BKo`@  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7%Zl^c>q  
      org.apache.struts2.views.velocity.VelocityManager接口名 4!Ez#\  
wiWpzJz  
struts.velocity.toolboxlocation ScrEtN  
      The location of the Velocity toolbox ! /Z{uy  
      velocity工具盒的位置 <{7CS=)  
struts.xslt.nocache sDnHd9v<?t  
      Whether or not XSLT templates should not be cached &sL(|>N  
      是否XSLT模版应该被缓存 @;}bBHQz{p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八