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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /;9iDjG  
SioP`*,}  
struts.action.extension 3Ued>8Gv  
      The URL extension to use to determine if the request is meant for a Struts action YAJr@v+Ls  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uraT$Q}  
-_+,HyJP  
struts.configuration 4>}qdR1L4  
      The org.apache.struts2.config.Configuration implementation class dH_g:ocA  
        org.apache.struts2.config.Configuration接口名 L1u(\zw  
CCp&+LRvR  
struts.configuration.files ql2O%B.6?  
      A list of configuration files automatically loaded by Struts < +X,oxg  
      struts自动加载的一个配置文件列表 wgFAPZr  
29kR7[k  
struts.configuration.xml.reload w3Z;&sFd  
      Whether to reload the XML configuration or not m$WN"kV`,9  
      是否加载xml配置(true,false) U?&&yynK  
84jA)  
struts.continuations.package .u\xA7X  
      The package containing actions that use Rife continuations Q@5v> `  
      含有actions的完整连续的package名称 /& wA$h  
/@feY?glc  
struts.custom.i18n.resources L6n<h  
      Location of additional localization properties files to load 5rlZ'>I.  
      加载附加的国际化属性文件(不包含.properties后缀) s8|F e_  
@8"cT-  
struts.custom.properties d[$YTw  
      Location of additional configuration properties files to load O#3PUuE%d  
      加载附加的配置文件的位置 f0]`TjY  
*Y<1KXFU  
_>4Qh#6K  
struts.devMode }Sv\$h  
      Whether Struts is in development mode or not *wu|(t_ A  
      是否为struts开发模式 ,Uu#41ZOKL  
6):iu=/i/  
struts.dispatcher.parametersWorkaround q~G@S2=}0}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1rGi"kdf  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %IH ra6  
1,Ji|&Pwf  
struts.enable.DynamicMethodInvocation .j^=]3  
      Allows one to disable dynamic method invocation from the URL cC7&]2X +f  
        允许动态方法调用 w i=&W  
1qd(3A41  
struts.freemarker.manager.classname d6+{^v$#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5~\GAjf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [E6ZmMB&  
#5=!ew  
struts.i18n.encoding &LDA=B  
      The encoding to use for localization messages Q/^a(   
      国际化信息内码 Wk-jaz  
&.)ST0b4  
struts.i18n.reload z%~rQa./$  
      Whether the localization messages should automatically be reloaded \oy8)o/Gb  
      是否国际化信息自动加载 l$J2|\M6  
8rpr10;U  
struts.locale TT3\c,cs  
      The default locale for the Struts application 3&"+)*/ m  
      默认的国际化地区信息 #!R=h|  
3iBUIv  
struts.mapper.class 7]lUPLsl  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *!&,)''  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J[jzkzSu`  
`| f1^C^  
struts.multipart.maxSize $.T\dm-  
      The maximize size of a multipart request (file upload) }-2U,Xg[  
      multipart请求信息的最大尺寸(文件上传用) [s&0O<Wv  
Ah Rvyj  
struts.multipart.parser >@?`n}r|  
      The org.apache.struts2.dispatcher.multipart. B'!I{LC  
      MultiPartRequest parser implementation for a multipart request (file upload) C[Nh>V7=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \3 M%vJ  
JYO("f  
:BpXi|n;  
struts.multipart.saveDir }E&48$0h  
      The directory to use for storing uploaded files MVOWJaT(Aq  
      设置存储上传文件的目录夹 -i*]Sgese  
/j;HM[  
struts.objectFactory MoMxKmI  
      The com.opensymphony.xwork2.ObjectFactory implementation class WI\jm&H r  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _8&a%?R@W  
EVW\Z 2N.  
struts.objectFactory.spring.autoWire 2b^E8+r9  
      Whether Spring should autoWire or not ~U<=SyZYo  
      是否自动绑定Spring WIYWql>*  
dj5@9X  
struts.objectFactory.spring.useClassCache Twq,6X-  
      Whether Spring should use its class cache or not `!lQd}W  
      是否spring应该使用自身的cache 'A)9h7k}  
LQXMGgp  
struts.objectTypeDeterminer bo40s9"-*W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %1z`/B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _l{_n2D-  
U_<k*o@:  
struts.serve.static.browserCache y?ypRCgO.u  
If static content served by the Struts filter should set browser caching header properties or not HA]5:ck  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 jWcfQ  
OXD*ZKi8  
struts.serve.static ?eOw8Rom  
      Whether the Struts filter should serve static content or not J{e`P;ND  
      是否struts过滤器应该提供静态内容 Q 1[E iM3  
t 4>\ ;  
struts.tag.altSyntax UIK4]cYC'  
      Whether to use the alterative syntax for the tags or not qX:Y I3:,@  
      是否可以用替代的语法替代tags cn2SMa[@S  
Q+; N(\  
struts.ui.templateDir <Xb$YB-c  
      The directory containing UI templates  .F/0:)  
      UI templates的目录夹 -I.BQ  
ewVks>lbz  
struts.ui.theme  %&pd`A/  
      The default UI template theme !;E{D  
      默认的UI template主题 5m9;'SF  
LZ z]4Mf  
struts.url.http.port O>[B"mM t  
      The HTTP port used by Struts URLs Z!*k0 <Z  
      设置http端口 rH9[x8e  
Z=zD~ka  
struts.url.https.port ~$]Puv1V>  
      The HTTPS port used by Struts URLs e7M6|6nb  
      设置https端口 F`M`c%  
= PIarUJ  
struts.url.includeParams }$@E pM  
      The default includeParams method to generate Struts URLs A}G>JL  
      在url中产生 默认的includeParams npMPjknl  
U~O*9  
A O3MlK9t  
struts.velocity.configfile 36\_Y?zx%  
      The Velocity configuration file path }T&~DVM  
      velocity配置文件路径 MTAq} 8  
UNyk, #4  
struts.velocity.contexts 8]&\FA8  
      List of Velocity context names _ pO1XM  
      velocity的context列表 Hgbrlh  
9@wmngvM*Y  
{;+9A}e  
struts.velocity.manager.classname O7z5,-  
      org.apache.struts2.views.velocity.VelocityManager implementation class hGb SN_F  
      org.apache.struts2.views.velocity.VelocityManager接口名 G!E1N(%o  
,$bK)|pGV  
struts.velocity.toolboxlocation q" @%WK  
      The location of the Velocity toolbox SY$%)(c8kL  
      velocity工具盒的位置 %OJq(}  
struts.xslt.nocache MQq!<?/  
      Whether or not XSLT templates should not be cached 2 sK\.yS  
      是否XSLT模版应该被缓存 <8BNqbX  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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