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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 1muB* O  
&_cMbFLBP  
struts.action.extension (9bFIvMc  
      The URL extension to use to determine if the request is meant for a Struts action bL>J0LWQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k!Y7 Rc{"  
D,Ft*(|T  
struts.configuration 5x";}Vp>P  
      The org.apache.struts2.config.Configuration implementation class 0. _)X  
        org.apache.struts2.config.Configuration接口名 Z>GqLq\`ed  
/DPD,bA  
struts.configuration.files +[$d9  
      A list of configuration files automatically loaded by Struts 5e^t;  
      struts自动加载的一个配置文件列表 $@y<.?k>UP  
RGrra<  
struts.configuration.xml.reload Z/nTI 0N{  
      Whether to reload the XML configuration or not D;%(Z!  
      是否加载xml配置(true,false) Vo*38c2  
*T(z4RVg  
struts.continuations.package g~EJja;  
      The package containing actions that use Rife continuations FSnF>3kj-  
      含有actions的完整连续的package名称 8P8@i+[]W  
0'ha!4h3Z  
struts.custom.i18n.resources 9/N=7<$  
      Location of additional localization properties files to load Q9v OY8  
      加载附加的国际化属性文件(不包含.properties后缀) "p<B|  
u*#j;Xc  
struts.custom.properties s>8;At-  
      Location of additional configuration properties files to load |7G +O+j  
      加载附加的配置文件的位置 +AVYypql8K  
A1{ 7g<k6  
]oy>kRnb {  
struts.devMode wm>I;|gA)  
      Whether Struts is in development mode or not ZuV/!9qU  
      是否为struts开发模式 e RiPC  
/ekeU+j  
struts.dispatcher.parametersWorkaround 1+\ZLy!5:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 04eE\%?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) saMv.;s 1^  
`Oxo@G*@}W  
struts.enable.DynamicMethodInvocation rSGp]W|  
      Allows one to disable dynamic method invocation from the URL Sl@$  
        允许动态方法调用 n_}=G RR  
|L XYF$  
struts.freemarker.manager.classname 35 /)S@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [gK (x%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~V,~' W  
e.X*x4*>~  
struts.i18n.encoding ,dhSc<:LT  
      The encoding to use for localization messages i}C9  
      国际化信息内码 hq}kAv4B=  
D,FX&{TYU  
struts.i18n.reload p-d2HXo  
      Whether the localization messages should automatically be reloaded CF|c4oY82  
      是否国际化信息自动加载 ESdjDg$[u  
.GG6wL<$?  
struts.locale N5$IVz}  
      The default locale for the Struts application .qBL.b_`  
      默认的国际化地区信息 qcYF&  
y%* hHnGd  
struts.mapper.class YKF5|;}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yQ5F'.m9e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `Mj>t(  
1\G S"4~P  
struts.multipart.maxSize e C\;n  
      The maximize size of a multipart request (file upload) di^E8egR$  
      multipart请求信息的最大尺寸(文件上传用) `?Wy;5-  
!1+yb.{\  
struts.multipart.parser G&i<&.i  
      The org.apache.struts2.dispatcher.multipart. B&J;yla6`d  
      MultiPartRequest parser implementation for a multipart request (file upload) .L;M-`^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )HPt(Ck  
O6nCu  
ILsw'  
struts.multipart.saveDir tYE\tbCO'  
      The directory to use for storing uploaded files >f7;45i  
      设置存储上传文件的目录夹 E3IB> f  
<5oG[1j  
struts.objectFactory #SNwSx&  
      The com.opensymphony.xwork2.ObjectFactory implementation class oqu; D'8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )n8(U%q$  
]xhZJ~"@u  
struts.objectFactory.spring.autoWire !JZ)6mtlr  
      Whether Spring should autoWire or not TFrZ+CcWp2  
      是否自动绑定Spring MfzSoxCb  
3LT[?C]H$  
struts.objectFactory.spring.useClassCache Tk(ciwB  
      Whether Spring should use its class cache or not ,{{e'S9cy  
      是否spring应该使用自身的cache :u}FF"j  
\F_~?$  
struts.objectTypeDeterminer -oSfp23u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class RweK<Flo'S  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &p/ ^A[  
=u M2l  
struts.serve.static.browserCache xl.iI$P  
If static content served by the Struts filter should set browser caching header properties or not {rp5qgVE<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :el]IH  
{*EA5;  
struts.serve.static # tN#_<W  
      Whether the Struts filter should serve static content or not Q>`|{m  
      是否struts过滤器应该提供静态内容 GR@jn]50  
E_t ^osY&  
struts.tag.altSyntax '`.bmiM  
      Whether to use the alterative syntax for the tags or not &YAw~1A  
      是否可以用替代的语法替代tags P2lDi!q|  
Yo`#G-]  
struts.ui.templateDir lLq9)+HGN  
      The directory containing UI templates 7m{YWR0  
      UI templates的目录夹 _0Mt*]L }  
^SdorPOq&  
struts.ui.theme $9_yD&&  
      The default UI template theme zqd_^  
      默认的UI template主题 HvhP9_MB  
<+0TN]?  
struts.url.http.port ~Q  q0  
      The HTTP port used by Struts URLs K0681_bp  
      设置http端口 K,pQ11J  
Q?e]N I^  
struts.url.https.port xMck A<E  
      The HTTPS port used by Struts URLs 9rO,h|L   
      设置https端口 DB1F _!9  
D;~c`G "f  
struts.url.includeParams 4d\1W?i-  
      The default includeParams method to generate Struts URLs :%&~/@B  
      在url中产生 默认的includeParams u ##.t  
[QC|Kd^#  
%XIPPEHU  
struts.velocity.configfile )ad-p.Hus  
      The Velocity configuration file path <F~0D0G  
      velocity配置文件路径 ^ +e5 M1U=  
5 iz(R:P<  
struts.velocity.contexts 5.1 c#rL  
      List of Velocity context names {+n0t1  
      velocity的context列表 kZ8+ev=  
IaDN[:SX  
z%$,F9/  
struts.velocity.manager.classname /wF*@/PTH  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z?IwR  
      org.apache.struts2.views.velocity.VelocityManager接口名 GqYE=Q  
l]pHj4`uv  
struts.velocity.toolboxlocation _z`g@[m:t  
      The location of the Velocity toolbox J Iw=Bs  
      velocity工具盒的位置 ,U-aZ  
struts.xslt.nocache Q/JX8<7K  
      Whether or not XSLT templates should not be cached -UJ; =/  
      是否XSLT模版应该被缓存 pA ,xDs@37  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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