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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s@E) =;!  
P @Fx6  
struts.action.extension OdO n wY  
      The URL extension to use to determine if the request is meant for a Struts action e jR_3K^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3.9/mztS  
*\ B(-  
struts.configuration +~|Jn_:A f  
      The org.apache.struts2.config.Configuration implementation class 1<cx!=w'  
        org.apache.struts2.config.Configuration接口名 a|(|!=  
F8#MI G   
struts.configuration.files KE~.f(  
      A list of configuration files automatically loaded by Struts Mf !S'\  
      struts自动加载的一个配置文件列表 \6bvk _  
`l6OQdB3W  
struts.configuration.xml.reload {c~w Ms#  
      Whether to reload the XML configuration or not ]+b?J0|P<  
      是否加载xml配置(true,false) #K*p1}rf  
=*{7G*tS  
struts.continuations.package XB@i{/6K  
      The package containing actions that use Rife continuations Sy]W4%  
      含有actions的完整连续的package名称 JpZ_cb`<E'  
F+?i{$  
struts.custom.i18n.resources _z1Qr?cY  
      Location of additional localization properties files to load ).0p\.W~  
      加载附加的国际化属性文件(不包含.properties后缀) e&E7_  
VbTX;?  
struts.custom.properties TU;AO%5  
      Location of additional configuration properties files to load kd_! S[  
      加载附加的配置文件的位置 }x& X vI  
%_!0V*X*  
T tnJ u*  
struts.devMode \Ui8gDJ8y5  
      Whether Struts is in development mode or not BG)zkn$  
      是否为struts开发模式 _00}O+GLM4  
+Z-{6C  
struts.dispatcher.parametersWorkaround kM@e_YtpY  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2Dt^W.!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z op/ MeI  
e@]m@  
struts.enable.DynamicMethodInvocation V|F/ynJfA  
      Allows one to disable dynamic method invocation from the URL +>AVxV=A#  
        允许动态方法调用 #xq3 )B  
xi4b;U j  
struts.freemarker.manager.classname _|4QrZ$n(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u~ VXe  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BHS@whj  
ueg%D +u  
struts.i18n.encoding C3N1t  
      The encoding to use for localization messages M= |is*t  
      国际化信息内码 #%8)'=1+4?  
I[gPW7&S@  
struts.i18n.reload IP-M)_I  
      Whether the localization messages should automatically be reloaded xls US'Eo  
      是否国际化信息自动加载 XR p60i6f  
I 9?X  
struts.locale ~p:hqi1+<+  
      The default locale for the Struts application QFN9j  
      默认的国际化地区信息 A>315!d"  
UUM:*X  
struts.mapper.class #Ye0*`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R?,v:S&i7;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1}SON4U  
bD3d T>(+  
struts.multipart.maxSize T~SkFZ  
      The maximize size of a multipart request (file upload) W5()A,R  
      multipart请求信息的最大尺寸(文件上传用) p2fzbBt  
-UAMHd}4  
struts.multipart.parser E7.{SGH}  
      The org.apache.struts2.dispatcher.multipart. ;9-J=@KY4  
      MultiPartRequest parser implementation for a multipart request (file upload) qlg.\H:W~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R<hsG%BS(D  
u-bgk(u  
D8xE"6T>  
struts.multipart.saveDir "4T36b  
      The directory to use for storing uploaded files u[4h|*'"|  
      设置存储上传文件的目录夹 cRCji^,KJ  
0R0_UvsXU  
struts.objectFactory /qq*"R  
      The com.opensymphony.xwork2.ObjectFactory implementation class G9#3 |B-?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M?<iQxtyb}  
(9'q/qgTO  
struts.objectFactory.spring.autoWire Sht3\cJ8  
      Whether Spring should autoWire or not Qw_> l}k/  
      是否自动绑定Spring 3RD+;^}q 3  
:xO43z  
struts.objectFactory.spring.useClassCache }dqOE-"I"n  
      Whether Spring should use its class cache or not /Tw $} 8  
      是否spring应该使用自身的cache k^B7M}  
e(OKE7  
struts.objectTypeDeterminer !+YSc&R_fW  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =%u=ma;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bGwj` lue  
+(w9! 5?F  
struts.serve.static.browserCache x[BA <UNO  
If static content served by the Struts filter should set browser caching header properties or not ]/%CTD(O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 JuRWR0@`  
D$D;'Kij  
struts.serve.static D.a\O9q"&{  
      Whether the Struts filter should serve static content or not s%m?Yh3  
      是否struts过滤器应该提供静态内容 O -p^S  
b"w2 2%  
struts.tag.altSyntax @)z?i  
      Whether to use the alterative syntax for the tags or not !NKPy+v  
      是否可以用替代的语法替代tags z~1S/,Ca  
$z5C+K@  
struts.ui.templateDir X&@>M}  
      The directory containing UI templates k^s7s{  
      UI templates的目录夹 =^zOM6E1ZF  
[?]p I  
struts.ui.theme v|jwz.jM  
      The default UI template theme jq|fI P  
      默认的UI template主题 ? fM_Y  
w'mn O'%  
struts.url.http.port :/fT8KCwo  
      The HTTP port used by Struts URLs 4]%MrSjS  
      设置http端口 #,!/Cnqis  
H]M[2C7#N  
struts.url.https.port T\7t#Z k  
      The HTTPS port used by Struts URLs xp\6,Jyh  
      设置https端口 1nE`Wmo.2  
Z[\nyj  
struts.url.includeParams ;`a~9uG  
      The default includeParams method to generate Struts URLs }\W^$e-  
      在url中产生 默认的includeParams 9; aOUs:<  
H1vToIP%  
^X:g C9  
struts.velocity.configfile 3nUC,T%  
      The Velocity configuration file path Y}r UVn  
      velocity配置文件路径 #/hXcF  
E/>kvs%  
struts.velocity.contexts sz4;hSTy  
      List of Velocity context names rp!{QG  
      velocity的context列表 zZPXI&,  
V24FzQ?z:.  
 ;W@  
struts.velocity.manager.classname v%E!  
      org.apache.struts2.views.velocity.VelocityManager implementation class GVM)-Dp]  
      org.apache.struts2.views.velocity.VelocityManager接口名 !L@a;L  
v)v`896S`  
struts.velocity.toolboxlocation 8fb<hq<  
      The location of the Velocity toolbox -Vjrh/@  
      velocity工具盒的位置 -8Uz8//A  
struts.xslt.nocache 5VE9DTE  
      Whether or not XSLT templates should not be cached /)XN^Jwa;m  
      是否XSLT模版应该被缓存 L#u!T)!zW  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五