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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "{TVd>9_  
JDbRv'F:(  
struts.action.extension ~m`j=ot  
      The URL extension to use to determine if the request is meant for a Struts action =r1-M.*a.M  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &k\`!T1  
X ? eCK,  
struts.configuration |aD8  
      The org.apache.struts2.config.Configuration implementation class a] =k-Xh  
        org.apache.struts2.config.Configuration接口名 1}=@';cK*  
<c; U 0! m  
struts.configuration.files ,> %=,x  
      A list of configuration files automatically loaded by Struts  m$XMq  
      struts自动加载的一个配置文件列表 wk+| }s  
eMHBY6<~=  
struts.configuration.xml.reload 5t=7-  
      Whether to reload the XML configuration or not E\/J& .  
      是否加载xml配置(true,false) Ms>CO7Nvy  
;T-`~  
struts.continuations.package zCz"[9k  
      The package containing actions that use Rife continuations HpCTQ\H  
      含有actions的完整连续的package名称 W!Qaa(o?  
h^ o@=%b  
struts.custom.i18n.resources 5rX_85]  
      Location of additional localization properties files to load L!| `IK  
      加载附加的国际化属性文件(不包含.properties后缀) 8'<RPU}M  
g#*LJ `1  
struts.custom.properties S {d]0  
      Location of additional configuration properties files to load (T65pP_P 7  
      加载附加的配置文件的位置 ]a=n(`l?  
(R^qY"H 2  
=Z /*  
struts.devMode DH9p1)L'  
      Whether Struts is in development mode or not _&SST)Y|  
      是否为struts开发模式 7!;48\O]w  
i]$/& /  
struts.dispatcher.parametersWorkaround %4$J.6M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L9Z\|L5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bJ!(co6t  
&s0_^5B0  
struts.enable.DynamicMethodInvocation H`T8ydNXa  
      Allows one to disable dynamic method invocation from the URL i;l0)q  
        允许动态方法调用 /#Gm`BT  
5K#<VU*:  
struts.freemarker.manager.classname xoe/I[P]U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +T8h jOkC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |U:VkiKt  
{ POfT m}  
struts.i18n.encoding Y@l>4q")  
      The encoding to use for localization messages yd=NafPM  
      国际化信息内码 ]39])ul  
PP{s&(  
struts.i18n.reload n_9Wrx328  
      Whether the localization messages should automatically be reloaded 5>\Lk>rI  
      是否国际化信息自动加载 <lN=<9  
x'iBEm  
struts.locale JTcE{i  
      The default locale for the Struts application Ewq7oq5:  
      默认的国际化地区信息 w+][L||4c  
Q$^)z_jai  
struts.mapper.class -n"7G%$M  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  i|!D  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?{]"UnyVE*  
yc7 "tptfF  
struts.multipart.maxSize INNTp[  
      The maximize size of a multipart request (file upload) WQ1K8B4  
      multipart请求信息的最大尺寸(文件上传用) bMGU9~CeJ  
6[T)Q^0`  
struts.multipart.parser Ue&I]/?;$  
      The org.apache.struts2.dispatcher.multipart. |Duf 3u  
      MultiPartRequest parser implementation for a multipart request (file upload) EUmbNV0u  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -~NjZ=vPh  
j V'~>  
SYYg 2I  
struts.multipart.saveDir ? 4v"y@v  
      The directory to use for storing uploaded files k=  
      设置存储上传文件的目录夹 GLiD,QX<  
GhC%32F  
struts.objectFactory ;s^F:O  
      The com.opensymphony.xwork2.ObjectFactory implementation class _]Y9Eoz  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vSv:!5*  
j"Z9}F@  
struts.objectFactory.spring.autoWire '>Uip+'  
      Whether Spring should autoWire or not ?WBA:?=$58  
      是否自动绑定Spring 9jJ:T$}  
AVO$R\1YR  
struts.objectFactory.spring.useClassCache {C'9?4&  
      Whether Spring should use its class cache or not fX/k;0l  
      是否spring应该使用自身的cache QI4a@WB]ok  
NOQSLT=  
struts.objectTypeDeterminer ,R*YI  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1$v1:6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7hAc6M$h;  
oTb4T=  
struts.serve.static.browserCache f-5}`)`.+  
If static content served by the Struts filter should set browser caching header properties or not yv(\5)XF  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H|8i|vbi  
GmdS~Fhp  
struts.serve.static ia*Bcx_RW+  
      Whether the Struts filter should serve static content or not tD+K4 ^  
      是否struts过滤器应该提供静态内容 =SK{|fBB  
28,g'k!  
struts.tag.altSyntax :^J'_  
      Whether to use the alterative syntax for the tags or not vq8&IL  
      是否可以用替代的语法替代tags 9$=o({  
PS/00F/Ak  
struts.ui.templateDir FQBAt0  
      The directory containing UI templates [ J6q(} f  
      UI templates的目录夹 4*?JU v  
^~DClZ  
struts.ui.theme 0#!Z1:Y  
      The default UI template theme /9<62F@zJ"  
      默认的UI template主题 WV,j <x9w  
Ixr#zt$T-G  
struts.url.http.port 7b hJt_`Q  
      The HTTP port used by Struts URLs Lb0BmR%0  
      设置http端口 ^2eH0O!  
Yg! xlrxA  
struts.url.https.port K&;;{~md.  
      The HTTPS port used by Struts URLs ]GmXZi  
      设置https端口 HyJ&;4rf  
q/3 )yG6s  
struts.url.includeParams - %`iLu  
      The default includeParams method to generate Struts URLs Ji;R{tZ.R  
      在url中产生 默认的includeParams 8+8P{_  
D`@*udn=  
Qe4"a*l-r  
struts.velocity.configfile "a]Ff&T-  
      The Velocity configuration file path f1RX`rXf  
      velocity配置文件路径 JAS!eF  
(E<QA  
struts.velocity.contexts /u pDbP.O  
      List of Velocity context names h%!N!\  
      velocity的context列表  &DX  
i4\m/&of3y  
}x+s5a;!3/  
struts.velocity.manager.classname x>MY_?a  
      org.apache.struts2.views.velocity.VelocityManager implementation class Y5\=5r/  
      org.apache.struts2.views.velocity.VelocityManager接口名 &BkdC,o  
gB}UzEj^<  
struts.velocity.toolboxlocation )"H r3  
      The location of the Velocity toolbox }NF7"tOL  
      velocity工具盒的位置 #RVN 7-x  
struts.xslt.nocache xYD.j~  
      Whether or not XSLT templates should not be cached #]e](j>]  
      是否XSLT模版应该被缓存 hgI;^ia  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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