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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 y(!J8(yA  
W{'RR.  
struts.action.extension Y_S>S( 0  
      The URL extension to use to determine if the request is meant for a Struts action t|XQFb@}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fR]%:'2k  
(nL''#Ka  
struts.configuration @'XxMO[Z!<  
      The org.apache.struts2.config.Configuration implementation class ~ A?  
        org.apache.struts2.config.Configuration接口名 w&VMb&<  
cVk&Yp;[*  
struts.configuration.files _ljdo`j#N  
      A list of configuration files automatically loaded by Struts nZ7FG  
      struts自动加载的一个配置文件列表 ] A.:8;  
1VRe xp  
struts.configuration.xml.reload />FgDIO  
      Whether to reload the XML configuration or not Bg3`w__l;  
      是否加载xml配置(true,false) ,j^z];  
! 3&_#VO  
struts.continuations.package afE`GG-  
      The package containing actions that use Rife continuations >Z-f</v03  
      含有actions的完整连续的package名称 p)'.swpJ  
J)yNp,V  
struts.custom.i18n.resources ii,/omn:  
      Location of additional localization properties files to load (?[^##03MN  
      加载附加的国际化属性文件(不包含.properties后缀) E6 glR  
\l$gcFXb  
struts.custom.properties x.J% c[Q8  
      Location of additional configuration properties files to load k(As^'>  
      加载附加的配置文件的位置 VkKq<`t<  
LNm{}VJ%  
UTT7a"  
struts.devMode T;{M9W+  
      Whether Struts is in development mode or not c^Y&4=>T  
      是否为struts开发模式 %UV'HcO/gp  
BM6 J  
struts.dispatcher.parametersWorkaround @!;EW R]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0C3s  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B-EVo&.  
7NG^I6WP-  
struts.enable.DynamicMethodInvocation 6@N?`6Bt  
      Allows one to disable dynamic method invocation from the URL _@-D/g  
        允许动态方法调用 Jng,:$sZ  
ctqXzM `  
struts.freemarker.manager.classname _hK83s4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U2~7qC,!Do  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #a : W  
Nhq& Sn2  
struts.i18n.encoding gA`x-`  
      The encoding to use for localization messages N^u,C$zP9C  
      国际化信息内码 IYb%f T  
<|,0%bq)|  
struts.i18n.reload 8 oK;Tzh  
      Whether the localization messages should automatically be reloaded P8Nzz(JF  
      是否国际化信息自动加载 aVI%FycYo  
eJh4hp;x  
struts.locale 2`|1 !x  
      The default locale for the Struts application }\p>h  
      默认的国际化地区信息 \Pv_5LAo  
?z "fp$  
struts.mapper.class Ws_R S%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  @%8Xa7+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 g(9\r  
kB`t_`7f  
struts.multipart.maxSize P[|FK(l  
      The maximize size of a multipart request (file upload) Zjo8/  
      multipart请求信息的最大尺寸(文件上传用) u2p5* gzZ  
~[E@P1  
struts.multipart.parser ;a]Lxx;-  
      The org.apache.struts2.dispatcher.multipart. "!\ON)l*  
      MultiPartRequest parser implementation for a multipart request (file upload) SHM ?32'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !`S`%\"  
D'dE!CAUs  
*T acV p  
struts.multipart.saveDir QEUr+7[  
      The directory to use for storing uploaded files mQVc ZV  
      设置存储上传文件的目录夹 GQZLOjsop  
ML6V,-KU  
struts.objectFactory E="FE.%A  
      The com.opensymphony.xwork2.ObjectFactory implementation class =x8F!W}Bt<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) AYB =iLa  
8A|{jH74  
struts.objectFactory.spring.autoWire 0)c9X[sG  
      Whether Spring should autoWire or not A..,.   
      是否自动绑定Spring \dIc_6/D1  
!>%U8A  
struts.objectFactory.spring.useClassCache ]6PX4oK_t  
      Whether Spring should use its class cache or not A (:7q4  
      是否spring应该使用自身的cache UIpW#t  
%D::$,;<<  
struts.objectTypeDeterminer ^iWcuh_n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }8+rrzMUB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 kPh;SCr{  
R`7v3{  
struts.serve.static.browserCache [gZz'q&[)  
If static content served by the Struts filter should set browser caching header properties or not $?38o6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d@ +}_R"c  
$}{u6*u.,  
struts.serve.static urJ>dw?FI  
      Whether the Struts filter should serve static content or not O{0TS^  
      是否struts过滤器应该提供静态内容 ~j1.;WId[  
$]&0`F  
struts.tag.altSyntax }Pu|%\  
      Whether to use the alterative syntax for the tags or not gH{X?  
      是否可以用替代的语法替代tags &) '5_#S  
.Pp;%  
struts.ui.templateDir 6mFH>T*jzH  
      The directory containing UI templates D)yCuw{M:  
      UI templates的目录夹 @ y{i.G  
d+ LEi^  
struts.ui.theme :'\4%D=w  
      The default UI template theme w&A &BE^O/  
      默认的UI template主题 ^qs{Cf$  
)X8?m <cG  
struts.url.http.port 3ug|H  
      The HTTP port used by Struts URLs W%/lBkP  
      设置http端口 fx W,S  
50s)5G#  
struts.url.https.port r6B\yH2  
      The HTTPS port used by Struts URLs F4!,8)}  
      设置https端口 WK{{U$:$  
{l/]+8G^  
struts.url.includeParams A5d(L4Q]a(  
      The default includeParams method to generate Struts URLs / 7EeM{,~  
      在url中产生 默认的includeParams 3YtFO;-  
;n-)4b]\  
#g.J,L  
struts.velocity.configfile mw^Di  
      The Velocity configuration file path SUSam/xeg"  
      velocity配置文件路径 <"SDU_<xG  
Je|D]w  
struts.velocity.contexts IEi E6z]L(  
      List of Velocity context names >e]46 K  
      velocity的context列表 .EOHkhn  
XHKVs  
*O`76+iZ|_  
struts.velocity.manager.classname ?;\xeFy!  
      org.apache.struts2.views.velocity.VelocityManager implementation class (<u3<40[YN  
      org.apache.struts2.views.velocity.VelocityManager接口名 vV2px  
aFI?^"L  
struts.velocity.toolboxlocation O@.afk"{  
      The location of the Velocity toolbox nm[ yp3B  
      velocity工具盒的位置 ##%R|P3  
struts.xslt.nocache R]oi&"H@r)  
      Whether or not XSLT templates should not be cached "82<}D^;  
      是否XSLT模版应该被缓存 wm3fd 7T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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