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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ETWmeMN  
}b ]y 0"  
struts.action.extension \I,Dje/:w  
      The URL extension to use to determine if the request is meant for a Struts action Mevyj;1t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tk#&Ux{ZJ  
|7Xpb  
struts.configuration _~S^#ut+  
      The org.apache.struts2.config.Configuration implementation class .Qi1I  
        org.apache.struts2.config.Configuration接口名 hIO4%RQj_  
7@y!R   
struts.configuration.files SSsQu^A  
      A list of configuration files automatically loaded by Struts q;a*gqt   
      struts自动加载的一个配置文件列表 ~lalc ^  
Oi%~8J>  
struts.configuration.xml.reload %:;[M|.  
      Whether to reload the XML configuration or not i e)1h  
      是否加载xml配置(true,false) .' 2gJ"?,  
x< y[na  
struts.continuations.package CT:eV7<>s  
      The package containing actions that use Rife continuations UE`4$^qs  
      含有actions的完整连续的package名称 xEZVsz  
nTy,Jml  
struts.custom.i18n.resources GxBPEIim  
      Location of additional localization properties files to load qH$rvD!]  
      加载附加的国际化属性文件(不包含.properties后缀) L\?g/l+k  
yY-t4WeXP  
struts.custom.properties M^Ay,jK!  
      Location of additional configuration properties files to load !2M[  
      加载附加的配置文件的位置 ,lS-;.  
Ft8h=  
)I-?zyL  
struts.devMode 5b4V/d* '  
      Whether Struts is in development mode or not MG5Sn*(C  
      是否为struts开发模式 =?*"V-l  
eh7r'DmAR  
struts.dispatcher.parametersWorkaround +P)[|y +e  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ne24QZ~}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) P 7.8tM2}  
;Owu:}   
struts.enable.DynamicMethodInvocation [T#a1!  
      Allows one to disable dynamic method invocation from the URL :w_1J'D}  
        允许动态方法调用 gsm^{jB  
QV7c9)<]'}  
struts.freemarker.manager.classname *k]S{]Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;Y&?ixx  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R*{?4NKG  
Ty:Ir  
struts.i18n.encoding "LIii1]k  
      The encoding to use for localization messages N4DDH^h  
      国际化信息内码 $$f$$  
U7%pOpO!  
struts.i18n.reload Y@S6m@.$  
      Whether the localization messages should automatically be reloaded v]SE?xF{U  
      是否国际化信息自动加载 j/mp.'P1k  
Z3~*R7G8>  
struts.locale {,2_K6#  
      The default locale for the Struts application @,`=~_J  
      默认的国际化地区信息 m`q> _*  
+F&]BZ  
struts.mapper.class `'.x*MNF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R+hS;F nh%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 oxXW`C<  
B{(l 5B6  
struts.multipart.maxSize )nxIxr0d-  
      The maximize size of a multipart request (file upload) )K3 vzX  
      multipart请求信息的最大尺寸(文件上传用) U)]natB  
lG#&1  
struts.multipart.parser tvxcd*{  
      The org.apache.struts2.dispatcher.multipart. b/Q"j3  
      MultiPartRequest parser implementation for a multipart request (file upload) rL3Vogw'e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .: ;Hh~  
\9zC?Cw  
eW,Pn'  
struts.multipart.saveDir \Da$bJ  
      The directory to use for storing uploaded files t}l<#X5  
      设置存储上传文件的目录夹 S-|$sV^cG  
d^^>3L!h  
struts.objectFactory [' 1?'*  
      The com.opensymphony.xwork2.ObjectFactory implementation class q)zvePO#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {v(|_j&:o  
,CF~UX% bU  
struts.objectFactory.spring.autoWire M!'tD!NWc  
      Whether Spring should autoWire or not ,#Y".23G  
      是否自动绑定Spring SUhP e+  
b1!%xdy_T  
struts.objectFactory.spring.useClassCache ABGL9;.8  
      Whether Spring should use its class cache or not  sOmYQ{R  
      是否spring应该使用自身的cache Mq?21gW  
e~dU "  
struts.objectTypeDeterminer q1Mk_(4oJ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cG6+'=]3<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "H@AT$Ny(  
n1h+`nsf  
struts.serve.static.browserCache ly+7klQ;.  
If static content served by the Struts filter should set browser caching header properties or not t-/^O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,0xN#&?Ohh  
7\lc aC@  
struts.serve.static m e" <+6  
      Whether the Struts filter should serve static content or not St<\qC  
      是否struts过滤器应该提供静态内容 /qG?(3  
-xlI'gNg7  
struts.tag.altSyntax L^}kwu#  
      Whether to use the alterative syntax for the tags or not %l,EA#89 s  
      是否可以用替代的语法替代tags QH:i)v*  
V6N#%(?3  
struts.ui.templateDir &bb*~W-  
      The directory containing UI templates $[e*0!e  
      UI templates的目录夹 w:Vs$,  
/hHD\+0({  
struts.ui.theme x($1pAE  
      The default UI template theme ~ nIZ g5  
      默认的UI template主题 GS@ wG  
"]% L{a P  
struts.url.http.port 1L ow[i  
      The HTTP port used by Struts URLs qSR %#  
      设置http端口 E#OKeMK  
%* 8QLI  
struts.url.https.port ):\L#>:w  
      The HTTPS port used by Struts URLs $!t!=  
      设置https端口 >:Ec   
_]NM@'e  
struts.url.includeParams 8u4]@tJH  
      The default includeParams method to generate Struts URLs (fl2?d5+C  
      在url中产生 默认的includeParams -95 `.o  
KW)yTE<  
f3O3pIA  
struts.velocity.configfile @/~41\=e  
      The Velocity configuration file path 3j2}n o8O  
      velocity配置文件路径 Y,9("'bo  
8K$:9+OY  
struts.velocity.contexts /lUb9&yV  
      List of Velocity context names sfH|sp  
      velocity的context列表 +r '  
SU:Cm: $  
WWY9U  
struts.velocity.manager.classname b]Jh0B~Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class uE>}>6)b  
      org.apache.struts2.views.velocity.VelocityManager接口名 t+pI<c^]y  
[KJm&\evp  
struts.velocity.toolboxlocation mu(S 9  
      The location of the Velocity toolbox "C>KKs }  
      velocity工具盒的位置  ^rI&BN@S  
struts.xslt.nocache mZORV3bN  
      Whether or not XSLT templates should not be cached om(#P5cSM;  
      是否XSLT模版应该被缓存 BPW:W }  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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