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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G@jx&#v  
Bt$,=k  
struts.action.extension ]K>bSK^TX  
      The URL extension to use to determine if the request is meant for a Struts action z%+rI  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 '4u/g  
+=|%9%  
struts.configuration 09Eg ti.  
      The org.apache.struts2.config.Configuration implementation class |G6'GTwZD  
        org.apache.struts2.config.Configuration接口名 &LB`  
Ic!x y  
struts.configuration.files 2Y[n  
      A list of configuration files automatically loaded by Struts E U RKzJk  
      struts自动加载的一个配置文件列表 -p7 HQ/  
3&M0@/  
struts.configuration.xml.reload oPbziB8  
      Whether to reload the XML configuration or not Zn)o@'{}{  
      是否加载xml配置(true,false) -}oH],C  
]qq2VO<b  
struts.continuations.package M($GZ~ b%A  
      The package containing actions that use Rife continuations v6uRzFw  
      含有actions的完整连续的package名称 0ZI}eZA j  
y>u |3:z  
struts.custom.i18n.resources 7!Im|7Ty  
      Location of additional localization properties files to load e F}KOOfC  
      加载附加的国际化属性文件(不包含.properties后缀) ;Q/1l=Bn  
OR+py.vK  
struts.custom.properties awQGu,<N  
      Location of additional configuration properties files to load z`\KQx  
      加载附加的配置文件的位置 W[Z[o+7pK  
p*@t$0i  
j%Uoigi  
struts.devMode ObreDv^,  
      Whether Struts is in development mode or not \{a5]G(4s  
      是否为struts开发模式 ;tA$ x!5]  
7u :kR;wk  
struts.dispatcher.parametersWorkaround ]uh/!\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tr/.pw6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?GLCd7TP  
ph!h8@e  
struts.enable.DynamicMethodInvocation 3tUn?; 9B  
      Allows one to disable dynamic method invocation from the URL 'T7 3V  
        允许动态方法调用 Sz1J4$5  
q?]KZ_a  
struts.freemarker.manager.classname J#3[,~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MMD=4;X  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \xC#Zs[<  
6jm/y@|F!  
struts.i18n.encoding u%"5<ll  
      The encoding to use for localization messages ;Kg7}4`I  
      国际化信息内码 D97 vfC  
>X"\+7bw  
struts.i18n.reload uocFOlU0n  
      Whether the localization messages should automatically be reloaded )g3c-W=  
      是否国际化信息自动加载 fN<Y3^i"  
N0\<B-8+,>  
struts.locale seP h%Sa_  
      The default locale for the Struts application 1Id"|/b%$  
      默认的国际化地区信息 @"^7ASd%  
JdWav!PYm  
struts.mapper.class H%Lln#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m,]9\0GUd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9 p^gF2?k  
ZIh)D[n  
struts.multipart.maxSize cdSgb3B0  
      The maximize size of a multipart request (file upload) >+!Ef  
      multipart请求信息的最大尺寸(文件上传用) EaL>~: j  
/Q:mUd  
struts.multipart.parser mWn0"1C  
      The org.apache.struts2.dispatcher.multipart. plJUQk  
      MultiPartRequest parser implementation for a multipart request (file upload) r/P}j4)b7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `@0AGSzUv  
}&6:0l$4!  
hK{<&T  
struts.multipart.saveDir fuF{8-ua  
      The directory to use for storing uploaded files (#z6w#CU(  
      设置存储上传文件的目录夹 ^7;s4q  
$2}%3{<j  
struts.objectFactory EUV8H}d5  
      The com.opensymphony.xwork2.ObjectFactory implementation class &=:3/;c  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ZYt<O  
gMPp'^g]_  
struts.objectFactory.spring.autoWire Y Ztd IG  
      Whether Spring should autoWire or not M&Ln'BC  
      是否自动绑定Spring n:1Ijh 1  
e VQ-?DK  
struts.objectFactory.spring.useClassCache }*qj,8-9  
      Whether Spring should use its class cache or not `(I$_RSE")  
      是否spring应该使用自身的cache O;}K7rSc  
AUIp vd  
struts.objectTypeDeterminer 0plX"NU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class F>X<=YO0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pe3;pRh'  
),xD5~_=q  
struts.serve.static.browserCache SQx&4R.  
If static content served by the Struts filter should set browser caching header properties or not "Y- WY,H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qn |~YXn  
A%^7D.j  
struts.serve.static }owl7G3  
      Whether the Struts filter should serve static content or not *BF[thB:a  
      是否struts过滤器应该提供静态内容 L*vKIP<EMM  
gA@Zx%0j  
struts.tag.altSyntax ]T2Nr[vu  
      Whether to use the alterative syntax for the tags or not L<Z,@q `  
      是否可以用替代的语法替代tags Xw7'I  
* >8EMq\^  
struts.ui.templateDir I:UDEoQo  
      The directory containing UI templates  vP? T  
      UI templates的目录夹 ~gNFcJuy  
+"k?G  
struts.ui.theme rcY &n^:  
      The default UI template theme l~DIV$>,Z  
      默认的UI template主题 _jg tZ  
$7i[7S4  
struts.url.http.port 3Z&!zSK^  
      The HTTP port used by Struts URLs FC+h \  
      设置http端口 #reW)P>  
Vry_X2  
struts.url.https.port HSAr6h  
      The HTTPS port used by Struts URLs 6h %rt]g  
      设置https端口 wp> z04  
@>V;guJC%  
struts.url.includeParams DZ`m{l3H  
      The default includeParams method to generate Struts URLs YgS,5::SU  
      在url中产生 默认的includeParams <c!gg7@pm  
v7`{6Pf_$  
4i+%~X@p  
struts.velocity.configfile N>]J$[j  
      The Velocity configuration file path #k`gm)|  
      velocity配置文件路径 8?YeaMIBB  
q(~|roKA(  
struts.velocity.contexts  jIH^  
      List of Velocity context names jiLJiYMg  
      velocity的context列表 "dvo@n|  
hCd? Kti  
eR6vO5to  
struts.velocity.manager.classname lCl5#L9  
      org.apache.struts2.views.velocity.VelocityManager implementation class 10OkrNQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 / !MKijI  
&;L=f;   
struts.velocity.toolboxlocation ^w<aS w  
      The location of the Velocity toolbox L/] (pXEp  
      velocity工具盒的位置 X ,^([$  
struts.xslt.nocache P t/]Z<VL  
      Whether or not XSLT templates should not be cached lI.oyR'  
      是否XSLT模版应该被缓存 DX+zK'34  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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