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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j^7A }fz  
hrm<!uKn  
struts.action.extension =ecLzk"+F  
      The URL extension to use to determine if the request is meant for a Struts action |r*)U(c`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ae2Q^yLA  
lYTQg~aPm  
struts.configuration X$;&Mdo.  
      The org.apache.struts2.config.Configuration implementation class |his8\C+x  
        org.apache.struts2.config.Configuration接口名 B>W8pZu-J  
0-uw3U<  
struts.configuration.files R8cOb*D  
      A list of configuration files automatically loaded by Struts TF%Xb>jy[  
      struts自动加载的一个配置文件列表 c"v75lW-J  
6\ yBA_ z  
struts.configuration.xml.reload a}uYv:  
      Whether to reload the XML configuration or not hLbWqF  
      是否加载xml配置(true,false) (Vr%4Z8  
%@Z;;5L  
struts.continuations.package FpiTQC7d  
      The package containing actions that use Rife continuations b8e\(Dww  
      含有actions的完整连续的package名称 u4_QLf@I  
3 3|t5Ia  
struts.custom.i18n.resources {"+M%%`*#  
      Location of additional localization properties files to load PJcfiRa'jQ  
      加载附加的国际化属性文件(不包含.properties后缀) s-_D,$ |  
BY.k.]/  
struts.custom.properties m`9nDiV  
      Location of additional configuration properties files to load J*[@M*R;&  
      加载附加的配置文件的位置 4Wp5[(bg  
'L7qf'RV  
SIV !8mz  
struts.devMode h~m,0nGO  
      Whether Struts is in development mode or not .07`nIs"  
      是否为struts开发模式 Z;%uDlcXI  
*X(:vET  
struts.dispatcher.parametersWorkaround X%+lgm+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R!%nzL@e&`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0_eqO'"  
mwo:+^v(  
struts.enable.DynamicMethodInvocation !( rAI  
      Allows one to disable dynamic method invocation from the URL QXZyiJX}  
        允许动态方法调用 `XhH{*Q"X  
qx'0(q2Ii(  
struts.freemarker.manager.classname c7jmzo  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >;^/B R=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a8f#q]TyQ  
%\v8 FCb  
struts.i18n.encoding aknIrblS\  
      The encoding to use for localization messages &yvvea]  
      国际化信息内码 F)(^c  
f4h~c  
struts.i18n.reload Xva(R<W7d<  
      Whether the localization messages should automatically be reloaded 755,=U8'wi  
      是否国际化信息自动加载 _"ciHYHBQ  
HbegdbTJ  
struts.locale Z^ :_,aJ?  
      The default locale for the Struts application Qz,2PO  
      默认的国际化地区信息 =3 .dgtH  
$Lr& V~  
struts.mapper.class >`\.i,X .D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `*3A7y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1EXT^2!D  
SO=gG 2E  
struts.multipart.maxSize 0&UG=q  
      The maximize size of a multipart request (file upload) =mO5~~"W+v  
      multipart请求信息的最大尺寸(文件上传用) z'U.}27&o  
]~aj  
struts.multipart.parser o]q~sJVk6  
      The org.apache.struts2.dispatcher.multipart. ,*J@ic7"  
      MultiPartRequest parser implementation for a multipart request (file upload) Jy)=TJ!y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A?H#bRAs  
`(FjOd K  
?$|tT\SFV  
struts.multipart.saveDir Byc;r-Q5V  
      The directory to use for storing uploaded files 8Yh'/,o=L#  
      设置存储上传文件的目录夹 6G2~'zqPc~  
^OKm (  
struts.objectFactory R iLl\S#  
      The com.opensymphony.xwork2.ObjectFactory implementation class M-nRhso  
      com.opensymphony.xwork2.ObjectFactory接口(spring) AioW*`[WjA  
H?=W]<!W{y  
struts.objectFactory.spring.autoWire #<xFO^TB  
      Whether Spring should autoWire or not \J+a7N8m,  
      是否自动绑定Spring .dU91> ~Ov  
NftnbsTmy  
struts.objectFactory.spring.useClassCache ~6f/jCluR%  
      Whether Spring should use its class cache or not dPEDsG0$a  
      是否spring应该使用自身的cache l zFiZx  
AkQ(V  
struts.objectTypeDeterminer s9ix&m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ] `$6=) _X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U4"^NLAq  
G<?RH"RZr  
struts.serve.static.browserCache f6Y?),`  
If static content served by the Struts filter should set browser caching header properties or not ';3>rv_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZWCsrV*;  
i{fw?))+  
struts.serve.static B~I ]3f  
      Whether the Struts filter should serve static content or not tx5bmF;b)  
      是否struts过滤器应该提供静态内容 Xex7Lr&  
[)I^v3]U  
struts.tag.altSyntax U2A-ub>7  
      Whether to use the alterative syntax for the tags or not \^(#b,k#  
      是否可以用替代的语法替代tags 0XA\Ag\`G  
XZOBK^,5^B  
struts.ui.templateDir 8XH;<z<oJ  
      The directory containing UI templates JPDxzp  
      UI templates的目录夹 fz|*Plv  
"o- -MBq4  
struts.ui.theme :$G^TD/n  
      The default UI template theme %Ik5|\ob?  
      默认的UI template主题 K>'4^W5d,  
\Q#pu;Y*N]  
struts.url.http.port vu.ug$T  
      The HTTP port used by Struts URLs ~~{lIO)&  
      设置http端口 0")_%  
pss')YP.  
struts.url.https.port >7WT4l)7!b  
      The HTTPS port used by Struts URLs F[c oa5  
      设置https端口 F7}yt  
&5HI   
struts.url.includeParams #sU>L=  
      The default includeParams method to generate Struts URLs qg j;E=7  
      在url中产生 默认的includeParams Ls2,+yo]>  
{%wrx'<  
n!zB+hW  
struts.velocity.configfile _Q #[IH9  
      The Velocity configuration file path /*g0M2+OZo  
      velocity配置文件路径 !v3d:n\W8  
-n@,r%`UK  
struts.velocity.contexts /\fR6|tJ  
      List of Velocity context names C,ldi"|  
      velocity的context列表 VKPsg  
G$)q% b;Lz  
*=md!^x`  
struts.velocity.manager.classname vmxS^_I  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]Y,V)41gCE  
      org.apache.struts2.views.velocity.VelocityManager接口名 fhk(<KZvJ  
9|jMN j]vo  
struts.velocity.toolboxlocation #+i5'p(4  
      The location of the Velocity toolbox t^bh2 $J  
      velocity工具盒的位置 *k\ ;G?  
struts.xslt.nocache &OvA[<qT  
      Whether or not XSLT templates should not be cached #x;d+Q@  
      是否XSLT模版应该被缓存 [g==#[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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