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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U1y8Y/  
N7l`-y  
struts.action.extension j-%@A`j;  
      The URL extension to use to determine if the request is meant for a Struts action DN0`vl{*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 cqSo%a2  
_+*+,Vx  
struts.configuration 7E]qP 5  
      The org.apache.struts2.config.Configuration implementation class 7ZR0cJw;  
        org.apache.struts2.config.Configuration接口名 kwAL] kI  
6!T9VL\=H  
struts.configuration.files ygo4.  
      A list of configuration files automatically loaded by Struts (M;jnQ0  
      struts自动加载的一个配置文件列表 ;Im%L=q9GL  
$O[$<D%H  
struts.configuration.xml.reload (`cXS5R  
      Whether to reload the XML configuration or not Ucqn 3&  
      是否加载xml配置(true,false) s.IYPH|pn  
9h/JW_  
struts.continuations.package pW,)yo4  
      The package containing actions that use Rife continuations , #nYHD  
      含有actions的完整连续的package名称 xN +Oca  
?K!^[aO}=  
struts.custom.i18n.resources 0=erf62=  
      Location of additional localization properties files to load rUxjm\  
      加载附加的国际化属性文件(不包含.properties后缀) uWjSqyb:  
}v4T&/vt-  
struts.custom.properties <_ruVy0]  
      Location of additional configuration properties files to load Cw$7d:u  
      加载附加的配置文件的位置 8:gUo8  
< .knM  
E(p#Je|@[  
struts.devMode yR$ld.[uf  
      Whether Struts is in development mode or not VBq|j"o0"  
      是否为struts开发模式  0U&@;/?  
76eF6N+%}t  
struts.dispatcher.parametersWorkaround \u$[$R5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `)TuZP_)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >`=9So_J  
T8W;Lb9hQ  
struts.enable.DynamicMethodInvocation KJYcP72P  
      Allows one to disable dynamic method invocation from the URL 59#o+qo4   
        允许动态方法调用 (,I9|  
BIY"{"hJ  
struts.freemarker.manager.classname #D ]P3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KbGz3O'u  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t->I# t7  
q(\kCUy!  
struts.i18n.encoding _@@.VmZL  
      The encoding to use for localization messages Csf!I@}Z  
      国际化信息内码 =Q~@dP  
m"f3hd4D_q  
struts.i18n.reload 5*\]F}  
      Whether the localization messages should automatically be reloaded IBYSI0  
      是否国际化信息自动加载 i5#4@ 4aC  
sH51 .JG  
struts.locale Ny5$IIF e  
      The default locale for the Struts application }!QVcu"+t/  
      默认的国际化地区信息 ksy]t |  
BFswqp:  
struts.mapper.class +lw8YH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9?tG?b0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 srK9B0I  
dZ|x `bIgs  
struts.multipart.maxSize Q" G;L  
      The maximize size of a multipart request (file upload) j@.^3:  
      multipart请求信息的最大尺寸(文件上传用) (>C$8)v  
.~,=?aq^  
struts.multipart.parser ']U<R=5T$  
      The org.apache.struts2.dispatcher.multipart. V*gh"gZ<  
      MultiPartRequest parser implementation for a multipart request (file upload) a: 2ezxP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pEq }b+-  
0y`r.)G  
`Sal-|[Cv[  
struts.multipart.saveDir o[%\W  
      The directory to use for storing uploaded files O,Ej m<nt  
      设置存储上传文件的目录夹 \: Q)X$6  
9`tSg!YOh  
struts.objectFactory n;LjKE  
      The com.opensymphony.xwork2.ObjectFactory implementation class s)G?5Gz  
      com.opensymphony.xwork2.ObjectFactory接口(spring) J1Run0  
1ZY~qP+n+  
struts.objectFactory.spring.autoWire W>(w&k]%B  
      Whether Spring should autoWire or not %5!K?,z%  
      是否自动绑定Spring y\_k8RqE^  
O>d [;Q  
struts.objectFactory.spring.useClassCache H'}6Mw%ra  
      Whether Spring should use its class cache or not O=}d:yZb!  
      是否spring应该使用自身的cache hv*XuT/  
5c$\DZ(  
struts.objectTypeDeterminer 9qvl9,*g  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v8K`cijSS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o(yyj'=(  
QzxEkTc;  
struts.serve.static.browserCache @H$Sv   
If static content served by the Struts filter should set browser caching header properties or not %+oqAY m+s  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o37D~V;  
~l}\K10L*  
struts.serve.static VIg6'  
      Whether the Struts filter should serve static content or not #^{%jlmHxJ  
      是否struts过滤器应该提供静态内容 #, h0K  
Nu euCiP  
struts.tag.altSyntax \ 027>~u {  
      Whether to use the alterative syntax for the tags or not #gVWLm<  
      是否可以用替代的语法替代tags EHK+qrym  
CA5T3J@vAQ  
struts.ui.templateDir intl?&wC  
      The directory containing UI templates T+oOlug  
      UI templates的目录夹 Tj+U:#!!~  
QD-`jV3  
struts.ui.theme e*Y<m\*  
      The default UI template theme t N4-<6  
      默认的UI template主题  U4qk<!  
7CH.BY  
struts.url.http.port @`ii3&W4  
      The HTTP port used by Struts URLs `g <0FQA  
      设置http端口 >+DM TV[O  
I%NeCd  
struts.url.https.port %/ "yt}"|  
      The HTTPS port used by Struts URLs Q\>mg*79  
      设置https端口 n6G&c4g<"  
Cbp zYv32  
struts.url.includeParams >!Xj%RW  
      The default includeParams method to generate Struts URLs sOb]o[=  
      在url中产生 默认的includeParams WNt':w^_  
= 5[%%Lf  
P-<1vfThH  
struts.velocity.configfile 4sW'pH  
      The Velocity configuration file path ;NE4G;px4<  
      velocity配置文件路径 8nWPt!U:  
hy>0'$mU  
struts.velocity.contexts Q @[gj:w  
      List of Velocity context names jFip-=T{4  
      velocity的context列表 ||ugb6q[6B  
.FV^hrJxI;  
+TX4,"  
struts.velocity.manager.classname ={f8s,m)P,  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^;F5ymb3U  
      org.apache.struts2.views.velocity.VelocityManager接口名 eoXbZ  
_#MKpH  
struts.velocity.toolboxlocation n`@dk_%yI  
      The location of the Velocity toolbox sT "q]  
      velocity工具盒的位置 '$eJATtC  
struts.xslt.nocache Z} t^i^u  
      Whether or not XSLT templates should not be cached wX_~H*m?  
      是否XSLT模版应该被缓存 TD%L`Gk  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八