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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Tcq@Q$H  
NF7+Gp6?q  
struts.action.extension )xTu|V   
      The URL extension to use to determine if the request is meant for a Struts action 5L\Im^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |lVi* 4za%  
vnX~OVz2  
struts.configuration 8=mx5Gwz-  
      The org.apache.struts2.config.Configuration implementation class yQC8Gt8  
        org.apache.struts2.config.Configuration接口名 jW}hLjlN  
mf2Qu  
struts.configuration.files cn'r BY  
      A list of configuration files automatically loaded by Struts XZ/cREz^s  
      struts自动加载的一个配置文件列表 :} o{<U  
*bi;mQ  
struts.configuration.xml.reload (T",6xBSG  
      Whether to reload the XML configuration or not ZrWA,~;  
      是否加载xml配置(true,false) FXid=&T@0D  
mEV@~){  
struts.continuations.package rwAycW7  
      The package containing actions that use Rife continuations  j 2e|  
      含有actions的完整连续的package名称 P> 7PO~E.  
U^OR\=G^  
struts.custom.i18n.resources Angt=q  
      Location of additional localization properties files to load -V||1@ |  
      加载附加的国际化属性文件(不包含.properties后缀) s6I/%R3  
<"LA70Hkk  
struts.custom.properties B> zQ[e@t  
      Location of additional configuration properties files to load kO,vHg$  
      加载附加的配置文件的位置 OL623jQX  
O{=@c96rl  
XZ|\|(6Cc  
struts.devMode IZxr;\dq6  
      Whether Struts is in development mode or not \Pd>$Q  
      是否为struts开发模式 H7Pw>Ta ;  
Wk]E6yz6  
struts.dispatcher.parametersWorkaround j8ac8J,}c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uecjR8\e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z'c9xvy5  
wd Di5-A4  
struts.enable.DynamicMethodInvocation tj tN<y  
      Allows one to disable dynamic method invocation from the URL &lB>G[t  
        允许动态方法调用 !:1BuiL  
F>5)Clq  
struts.freemarker.manager.classname <ceJ!"L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p%e/>N.P  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a,[NcdG  
A)kdY!}  
struts.i18n.encoding P)UpUMt;k  
      The encoding to use for localization messages l,j0n0h.  
      国际化信息内码 J8DKia|h(  
fyv S1_  
struts.i18n.reload @Sz7*p  
      Whether the localization messages should automatically be reloaded , L8(Vo`-  
      是否国际化信息自动加载 Ewo6Q){X  
vH]2t.\  
struts.locale R78lV -};Q  
      The default locale for the Struts application ;-kg3fGB1Q  
      默认的国际化地区信息 [<#`@Kr  
<rNz&;m}  
struts.mapper.class  OF`:);  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <&}N[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0JLQ.%_  
+kOXa^K  
struts.multipart.maxSize /Fp@j/50  
      The maximize size of a multipart request (file upload) +< c(;Ucl?  
      multipart请求信息的最大尺寸(文件上传用) 7T=:dv  
{uiL91j.  
struts.multipart.parser <*djtO  
      The org.apache.struts2.dispatcher.multipart. wUmcA~3D  
      MultiPartRequest parser implementation for a multipart request (file upload) xc$jG?83#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wmit>69S  
+\MGlsMK@.  
YHo*IX')C?  
struts.multipart.saveDir 8' +I8J0l  
      The directory to use for storing uploaded files C0'_bTfB  
      设置存储上传文件的目录夹 D;X/7 p|>  
g<MCvC@  
struts.objectFactory aX35^K /  
      The com.opensymphony.xwork2.ObjectFactory implementation class Mog!pmc{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ImI, q:[67  
i7xBi:Si  
struts.objectFactory.spring.autoWire Bet?]4\_  
      Whether Spring should autoWire or not /U"3LX  
      是否自动绑定Spring 5f#]dgBe  
ngH_p>  
struts.objectFactory.spring.useClassCache S{qsq\X  
      Whether Spring should use its class cache or not r1|;V~ a$~  
      是否spring应该使用自身的cache 6 kAXE\T  
s!/Q>A  
struts.objectTypeDeterminer fMRMQR=6B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class UjS,<>fm  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /@K1"/fqH  
o,=dm@j  
struts.serve.static.browserCache &y:SK)  
If static content served by the Struts filter should set browser caching header properties or not 6>/g`%`N  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +rOd0?  
6ieP` bct  
struts.serve.static 'E#Bz"T  
      Whether the Struts filter should serve static content or not =' #yG(h  
      是否struts过滤器应该提供静态内容 <z-+{-?z~  
|&rxDf}W  
struts.tag.altSyntax Np R&`]  
      Whether to use the alterative syntax for the tags or not KoTQc0b!  
      是否可以用替代的语法替代tags hSSFmEpr  
-Sj|Y }  
struts.ui.templateDir DsGtc<l%  
      The directory containing UI templates -Deqlaf(  
      UI templates的目录夹 7cZ(gdQ/  
3[iHe+U(  
struts.ui.theme ~_"/\; 1  
      The default UI template theme UoKXo*W2  
      默认的UI template主题 Wj31mV  
_9"%;:t  
struts.url.http.port nSh}1Arp/  
      The HTTP port used by Struts URLs +:m'  
      设置http端口 )zq sn  
" IC0v9  
struts.url.https.port /}RW~ax  
      The HTTPS port used by Struts URLs $rmfE  
      设置https端口 Y+_t50 S  
mdukl!_x  
struts.url.includeParams f#zm}+,`  
      The default includeParams method to generate Struts URLs DbvKpM H  
      在url中产生 默认的includeParams ^EmI;ks  
M\dZxhQ-l  
>^ M=/+<c  
struts.velocity.configfile y4N=v{EbL  
      The Velocity configuration file path I?%iJ%  
      velocity配置文件路径 +`Ypc  
?DKwKt  
struts.velocity.contexts ;Fm7!@u^0  
      List of Velocity context names WY" `wM  
      velocity的context列表 H6]z98  
+umVl  
I]Jz[{~1  
struts.velocity.manager.classname D]$X@2A  
      org.apache.struts2.views.velocity.VelocityManager implementation class jsnk*>j  
      org.apache.struts2.views.velocity.VelocityManager接口名 ayoqitXD?  
1A-ess\  
struts.velocity.toolboxlocation R3gg{hQ  
      The location of the Velocity toolbox 8iwqy0<  
      velocity工具盒的位置 YVB\9{H?  
struts.xslt.nocache ld/\`s[i  
      Whether or not XSLT templates should not be cached UqaV9  
      是否XSLT模版应该被缓存 8!u8ZvbFG  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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