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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 FWW@t1)  
%i3[x.M  
struts.action.extension = FV12(U  
      The URL extension to use to determine if the request is meant for a Struts action J5Zz*'av'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9y&;6V.'  
R[l`# I  
struts.configuration 4(P<'FK $  
      The org.apache.struts2.config.Configuration implementation class ~A5NseWCK  
        org.apache.struts2.config.Configuration接口名 ]zyT_}&  
>Tl/3{V  
struts.configuration.files &x\)] i2f  
      A list of configuration files automatically loaded by Struts h%u!UHA  
      struts自动加载的一个配置文件列表 B,_K mHItd  
Ew{*)r)m  
struts.configuration.xml.reload dl8f]y#Q  
      Whether to reload the XML configuration or not $mKExW  
      是否加载xml配置(true,false) \.iejB  
-QJ8\/1>  
struts.continuations.package qzvht4  
      The package containing actions that use Rife continuations BaI-ve  
      含有actions的完整连续的package名称 Q`'cxx  
tzd !r7  
struts.custom.i18n.resources [Q8Wy/o Q  
      Location of additional localization properties files to load Hpz1Iy @  
      加载附加的国际化属性文件(不包含.properties后缀) zL}`7*d:v  
w<THPFFF"  
struts.custom.properties {ixKc  
      Location of additional configuration properties files to load *a\x!c"  
      加载附加的配置文件的位置 z.RM85?T  
q1L>nvE  
YU6|/ <8  
struts.devMode b|k^   
      Whether Struts is in development mode or not p|nPu*R-\  
      是否为struts开发模式 <5j%!6zo  
Q'3tDc<  
struts.dispatcher.parametersWorkaround LqI&1$#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _i7yyt;h  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XSN=0N!GB  
`5oXf  
struts.enable.DynamicMethodInvocation @>$qb|j  
      Allows one to disable dynamic method invocation from the URL eB9&HD:  
        允许动态方法调用 q'y< UyT6  
6 F39'  
struts.freemarker.manager.classname ( 1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?R sPAL  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 YR/I<m`]}  
 9S9j  
struts.i18n.encoding /%7&De6Xg  
      The encoding to use for localization messages Dpu?JF]  
      国际化信息内码 Tr}XG  
tN)t`1_j  
struts.i18n.reload Z*b l J5YC  
      Whether the localization messages should automatically be reloaded \v=@'  
      是否国际化信息自动加载 X-" +nThMn  
u.n'dF-  
struts.locale +Tx_q1/f5X  
      The default locale for the Struts application .]4MtG  
      默认的国际化地区信息 {0+WVZ4u  
U}Puq5[ ?  
struts.mapper.class CGK]i. N  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [FF}HWf  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "WtYqXyd  
j@+$lU*r  
struts.multipart.maxSize \5j}6Wj  
      The maximize size of a multipart request (file upload) sz/^Ie-~  
      multipart请求信息的最大尺寸(文件上传用) `bV&n!Y_  
.)bNi*&  
struts.multipart.parser @x!+_z  
      The org.apache.struts2.dispatcher.multipart. -w"lW7  
      MultiPartRequest parser implementation for a multipart request (file upload) -(lP8Y~gFY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O/#uQn}  
A1Uy|Dl  
W?kJ+1"(  
struts.multipart.saveDir l. cp[  
      The directory to use for storing uploaded files q=`n3+N_H~  
      设置存储上传文件的目录夹 $~1mKx]]  
nnT#S  
struts.objectFactory @'M"c q  
      The com.opensymphony.xwork2.ObjectFactory implementation class b]xoXC6@t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *[b>]GXd49  
[N9yW uc  
struts.objectFactory.spring.autoWire gE^pOn  
      Whether Spring should autoWire or not }><[6Uz%  
      是否自动绑定Spring z'1%%.r;FM  
3X DU(#  
struts.objectFactory.spring.useClassCache xz.M'az\  
      Whether Spring should use its class cache or not o%;ly  
      是否spring应该使用自身的cache EVaHb;  
KDP47A  
struts.objectTypeDeterminer P?|\Ig1Gk  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nsVLgTbx  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o_k)x3I?  
+Q);t,  
struts.serve.static.browserCache HYT~AO-!  
If static content served by the Struts filter should set browser caching header properties or not T=sAy/1oR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 dy5}Jn%L  
's5rl  
struts.serve.static $X/'BCb  
      Whether the Struts filter should serve static content or not :X-S&S X0  
      是否struts过滤器应该提供静态内容 kFmtE dhsc  
:WQlpLn  
struts.tag.altSyntax %3t;[$n#  
      Whether to use the alterative syntax for the tags or not ]e"!ZR?XJ  
      是否可以用替代的语法替代tags 5=#d#dDc  
7 wEv`5  
struts.ui.templateDir VMJaL}J]  
      The directory containing UI templates 'yA/sZ  
      UI templates的目录夹 9xzow,mi  
q^zG+FN  
struts.ui.theme z8{-I@+`  
      The default UI template theme {~Jk(c~I  
      默认的UI template主题 b30Jr2[  
X?< L<:.  
struts.url.http.port (&v|,.c^)1  
      The HTTP port used by Struts URLs 4L{]!dox  
      设置http端口 kMnG1K  
^_P?EJ,)`  
struts.url.https.port #Cu$y8~as  
      The HTTPS port used by Struts URLs n4+q7  
      设置https端口 2@z.ory.  
} }~a4p>%  
struts.url.includeParams uG6.(A1LM  
      The default includeParams method to generate Struts URLs c@}t@k  
      在url中产生 默认的includeParams a L+>XN  
9=T;Dxn  
<Y1 Plc  
struts.velocity.configfile NqOX);'L0  
      The Velocity configuration file path 'OP0#`6`  
      velocity配置文件路径 +By'6?22  
7'i{JPm  
struts.velocity.contexts %3#C0%{x  
      List of Velocity context names {y6h(@I8\  
      velocity的context列表 _<sN54  
{!qnHv\S  
7t<MHdw  
struts.velocity.manager.classname $HQ4o\~  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,&M#[>\(3  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;l @lA)i  
vBF9!6X.  
struts.velocity.toolboxlocation pXN'vP  
      The location of the Velocity toolbox Q{950$ )L  
      velocity工具盒的位置 2Zuo).2a.  
struts.xslt.nocache y'4Qt.1ukN  
      Whether or not XSLT templates should not be cached QdQ1+*/+U  
      是否XSLT模版应该被缓存 C<(oaeQY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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