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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (s"_NUj6  
tfdP#1E  
struts.action.extension ;((gmg7,  
      The URL extension to use to determine if the request is meant for a Struts action )6!SFj>.O  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OBj .-jL  
 snN1  
struts.configuration g*^"x&  
      The org.apache.struts2.config.Configuration implementation class !8P#t{2_|  
        org.apache.struts2.config.Configuration接口名 ch< zpo:  
B4J^ rzK  
struts.configuration.files VS 8|lgQ  
      A list of configuration files automatically loaded by Struts  {kmaMP  
      struts自动加载的一个配置文件列表 G\Sd!'?p  
.Yh-m  
struts.configuration.xml.reload {Y IVHl  
      Whether to reload the XML configuration or not S Xgpj  
      是否加载xml配置(true,false) <QszmE  
fHwh6|  
struts.continuations.package ;9;.!4g/T  
      The package containing actions that use Rife continuations [KCh,'&  
      含有actions的完整连续的package名称 (:@qn+ a  
2{{M{#}S.  
struts.custom.i18n.resources C~6aX/:  
      Location of additional localization properties files to load [*50Ng>P`  
      加载附加的国际化属性文件(不包含.properties后缀) v[HxO?x^  
SHh g&~B  
struts.custom.properties A #ZaXu/:X  
      Location of additional configuration properties files to load ko  ~iDT  
      加载附加的配置文件的位置 2Ie50U  
lOZ.{0{f,  
<Z#u_:5@  
struts.devMode  V+(  
      Whether Struts is in development mode or not )_+#yaC  
      是否为struts开发模式 c) 1m4SB@  
'+-R 7#  
struts.dispatcher.parametersWorkaround yqCy`TK8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y.mojx%?a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %f, 9  
f~"3#MaV  
struts.enable.DynamicMethodInvocation \Lh,dZ}d  
      Allows one to disable dynamic method invocation from the URL r;S%BFMJS  
        允许动态方法调用 #JTi]U6`  
U:8^>_  
struts.freemarker.manager.classname 6G1Z"9<2*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @dcW0WQ\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qf7.Sh  
C'mmo&Pd  
struts.i18n.encoding LscAsq<H<  
      The encoding to use for localization messages KF7f<  
      国际化信息内码 WhK?>u  
ztb2Ign<  
struts.i18n.reload -6)ywq^{z  
      Whether the localization messages should automatically be reloaded [i&z_e)  
      是否国际化信息自动加载 (U-p&q>z  
8f29Hj+  
struts.locale $aGK8%.O  
      The default locale for the Struts application hRA.u'M  
      默认的国际化地区信息 Kji}2j'a  
q9Fc0(&Vf  
struts.mapper.class  )?4m}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?k"KZxpT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 i*2z7MY  
u,oxUySeG  
struts.multipart.maxSize q^12Rj;H  
      The maximize size of a multipart request (file upload) ,PIdPaV--  
      multipart请求信息的最大尺寸(文件上传用) ;z%& 3u/  
EB\z:n5  
struts.multipart.parser s?_b[B d  
      The org.apache.struts2.dispatcher.multipart. 2RM1-j ($  
      MultiPartRequest parser implementation for a multipart request (file upload) -'YX2!IU,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) rJNf&x%6  
%\- +SeC  
{5_*f)$[H  
struts.multipart.saveDir ([$F5 q1TR  
      The directory to use for storing uploaded files #XmN&83_  
      设置存储上传文件的目录夹 ^,`Lt *  
_q8s 7H  
struts.objectFactory qo}kwwWN;  
      The com.opensymphony.xwork2.ObjectFactory implementation class EA8(_}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) OTV)#,occ  
iPkG=*Ip(%  
struts.objectFactory.spring.autoWire dxASU|Yo9  
      Whether Spring should autoWire or not }]?RngTt  
      是否自动绑定Spring 6J=~*&  
fA+M/}=  
struts.objectFactory.spring.useClassCache A4&e#  
      Whether Spring should use its class cache or not R 6M@pO  
      是否spring应该使用自身的cache ]|732Z  
gi"v$ {R  
struts.objectTypeDeterminer 4CN8>J'-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~ 4&_$e!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Cg&1  
wOa_"  
struts.serve.static.browserCache B:^U~sR  
If static content served by the Struts filter should set browser caching header properties or not q].C>R*ux8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Je?V']lm  
NgH%  
struts.serve.static tKJ) 'v?  
      Whether the Struts filter should serve static content or not g@j:TQM_0  
      是否struts过滤器应该提供静态内容 -7+Fb^"L  
X^@d@xU4v  
struts.tag.altSyntax [hFyu|I !  
      Whether to use the alterative syntax for the tags or not Z:n33xh=<  
      是否可以用替代的语法替代tags .{8lG^0U<  
=,?@p{g}  
struts.ui.templateDir ZW\h,8%  
      The directory containing UI templates bxyU[`  
      UI templates的目录夹 ME |"pJ  
_wX'u,HrC  
struts.ui.theme +osY iP5  
      The default UI template theme '.^JN@  
      默认的UI template主题 1 9)78kV{  
Q!|71{5U  
struts.url.http.port ,p 'M@[  
      The HTTP port used by Struts URLs S"_vD<q  
      设置http端口 r+Z+x{  
1}'Jbj"/  
struts.url.https.port QeQbO  
      The HTTPS port used by Struts URLs X5<L  
      设置https端口 fc\hQXYv  
g.9MPN  
struts.url.includeParams wTTQIo 60  
      The default includeParams method to generate Struts URLs :Mt/6}  
      在url中产生 默认的includeParams rAQ^:q  
''WX  
NuXU2w~  
struts.velocity.configfile 0\ gE^=o[  
      The Velocity configuration file path w$t2Hd  
      velocity配置文件路径 f,?7,?x  
'7=*n_l  
struts.velocity.contexts s&tr84u|  
      List of Velocity context names ?px x,o6l  
      velocity的context列表 Rdv"Aj:  
I~mw\K{.3M  
/Pf7=P  
struts.velocity.manager.classname :!#-k  
      org.apache.struts2.views.velocity.VelocityManager implementation class Dk7"#q@kx  
      org.apache.struts2.views.velocity.VelocityManager接口名 E3KP jK  
SE/@li  
struts.velocity.toolboxlocation VSSiuo'5w  
      The location of the Velocity toolbox _e-a>y  
      velocity工具盒的位置 +)F8YMg e  
struts.xslt.nocache   () SG  
      Whether or not XSLT templates should not be cached v=L^jw  
      是否XSLT模版应该被缓存 7*4F-5G/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五