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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w6F'rsko]  
|R Ux)&  
struts.action.extension ]fH U/%  
      The URL extension to use to determine if the request is meant for a Struts action %vPs38Fks  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3JuWG\r)l  
yRQR@  
struts.configuration esCm`?qCP  
      The org.apache.struts2.config.Configuration implementation class LqnN5l@ _B  
        org.apache.struts2.config.Configuration接口名 np|3 os  
S1Q2<<[  
struts.configuration.files cU\Er{ k  
      A list of configuration files automatically loaded by Struts S4RvWTtQV  
      struts自动加载的一个配置文件列表 qTK\'trgx]  
hX#s3)87  
struts.configuration.xml.reload x <^vJ1  
      Whether to reload the XML configuration or not Vl;GQe  
      是否加载xml配置(true,false) J8|F8dcz  
v,t&t9}/  
struts.continuations.package Z5aU7  
      The package containing actions that use Rife continuations %mR roR6  
      含有actions的完整连续的package名称 ?haN ;n6'  
.k5 TQt  
struts.custom.i18n.resources  |*079v  
      Location of additional localization properties files to load  j{,3!  
      加载附加的国际化属性文件(不包含.properties后缀) C2GF N1i  
>Lo 0,b$  
struts.custom.properties m=&j2~<i  
      Location of additional configuration properties files to load ,: X+NQ  
      加载附加的配置文件的位置 ajIgL<x  
tqLn  A  
/E'c y  
struts.devMode [u[`!L=  
      Whether Struts is in development mode or not 6 W/S?F~{  
      是否为struts开发模式 @vWC "W  
*0ZL@Kw  
struts.dispatcher.parametersWorkaround reml|!F-)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `+17 x<N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (p<QRb:&Z  
D8P<mIu}Y  
struts.enable.DynamicMethodInvocation U~z`u&/  
      Allows one to disable dynamic method invocation from the URL j.MpQ^eJ7  
        允许动态方法调用 82F q}N <  
G5W6P7-<X  
struts.freemarker.manager.classname iTgGf  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class IWeQMwg  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j`I[M6Qxh  
0;z-I"N  
struts.i18n.encoding t ?8 ?Ok  
      The encoding to use for localization messages Y(IT#x?p  
      国际化信息内码 o)'u%m  
#*uSYGdc  
struts.i18n.reload `<IT LT  
      Whether the localization messages should automatically be reloaded xlVQ[Mt  
      是否国际化信息自动加载 z'a#lA.$}  
'Im7^!-d  
struts.locale xQ4D| &  
      The default locale for the Struts application @AUx%:}0Y:  
      默认的国际化地区信息 w)-@?jN  
7|3Qcn7P)@  
struts.mapper.class sZFIQ)b9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class " 6 /`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vlCjh! x  
*SzP7]1m  
struts.multipart.maxSize [N$da=`wv  
      The maximize size of a multipart request (file upload) ;y%lOYm  
      multipart请求信息的最大尺寸(文件上传用) VW<s_  
$R2T)  
struts.multipart.parser l:a+o gm3  
      The org.apache.struts2.dispatcher.multipart. `FH Hh  
      MultiPartRequest parser implementation for a multipart request (file upload) 5znLpBX<N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  02Ur'|  
i@6MO'y  
+hpXMO%?  
struts.multipart.saveDir )pjd*+V  
      The directory to use for storing uploaded files MX|CL{H  
      设置存储上传文件的目录夹 $)mq  
[z]@ <99/  
struts.objectFactory x1Q}B   
      The com.opensymphony.xwork2.ObjectFactory implementation class },2-\-1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Nv,[E+a2  
b=9(gZ 9  
struts.objectFactory.spring.autoWire f_Y[I :  
      Whether Spring should autoWire or not N;>>HN[bBP  
      是否自动绑定Spring @CP"AYB #  
95_ ?F7}9  
struts.objectFactory.spring.useClassCache ';+;  
      Whether Spring should use its class cache or not Dj;h!8t.  
      是否spring应该使用自身的cache +Q_X,gZ  
 @es}bKP  
struts.objectTypeDeterminer i)1E[jc{p!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class = PqQJE}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |b;}' *  
xB68RQe)  
struts.serve.static.browserCache Oo`P +S#  
If static content served by the Struts filter should set browser caching header properties or not ]}<.Y[!S  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K8pfk*NZ_@  
/SY40;k:  
struts.serve.static )?%FU?2jrn  
      Whether the Struts filter should serve static content or not %;!@\5$  
      是否struts过滤器应该提供静态内容 owCQ71Q  
Y:FV+ SI  
struts.tag.altSyntax r[eZV"  
      Whether to use the alterative syntax for the tags or not m`g%\o^6i  
      是否可以用替代的语法替代tags 0'Tq W9P  
kN`[Q$B  
struts.ui.templateDir jm =E_86_  
      The directory containing UI templates =9\=5_V  
      UI templates的目录夹 Fh? ;,Z  
~{n_rKYV  
struts.ui.theme *GfGyOS(  
      The default UI template theme O*z x{a6  
      默认的UI template主题 Q0gO1 T  
Gu V -[  
struts.url.http.port J@"Pv~R  
      The HTTP port used by Struts URLs Vt5%A}.VQ  
      设置http端口 nqBZp N ^  
TIW6v4  
struts.url.https.port 2K.. ;A$  
      The HTTPS port used by Struts URLs Bt Bo%t&  
      设置https端口 2 L%d,Ta>  
C@buewk  
struts.url.includeParams LOX[h$  
      The default includeParams method to generate Struts URLs ynw^nmM  
      在url中产生 默认的includeParams CHdw>/5  
Q~,E K  
Al3Hu-Hf;`  
struts.velocity.configfile Wv77ef  
      The Velocity configuration file path K^J;iu4  
      velocity配置文件路径 j~\\,fl=  
mZ/?uPIa  
struts.velocity.contexts L -b~#  
      List of Velocity context names W$EX6jTGI  
      velocity的context列表 bC$n+G>6k  
cK(}B_D$  
HNY{%D  
struts.velocity.manager.classname j6/ 3p|E  
      org.apache.struts2.views.velocity.VelocityManager implementation class ZZ!d:1'7  
      org.apache.struts2.views.velocity.VelocityManager接口名 ).9-=P HlX  
Wfu%,=@,  
struts.velocity.toolboxlocation ~NpnRIt  
      The location of the Velocity toolbox U> e@m?  
      velocity工具盒的位置 V3yO_Iqa  
struts.xslt.nocache e:AB!k^xp$  
      Whether or not XSLT templates should not be cached >6 :slNM#  
      是否XSLT模版应该被缓存 U^VFHIm  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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