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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 k>F!S`a&m  
lX%-oRQ/os  
struts.action.extension VH4wsEH]  
      The URL extension to use to determine if the request is meant for a Struts action VXiU5n^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )sW!s3>S>  
pfu"vo(t_  
struts.configuration OwEV$Q  
      The org.apache.struts2.config.Configuration implementation class %f'=9pit  
        org.apache.struts2.config.Configuration接口名 gxmo 1  
_p0gXb1m`  
struts.configuration.files DLP@?]BBOA  
      A list of configuration files automatically loaded by Struts 4lR+nmAZ  
      struts自动加载的一个配置文件列表 h<)ceD<,  
V,rR*a&p  
struts.configuration.xml.reload .?rs5[th*  
      Whether to reload the XML configuration or not 6eUGE4NF(  
      是否加载xml配置(true,false) P5h*RV>oS  
vs$h&o>|  
struts.continuations.package qLN\>Z,3;  
      The package containing actions that use Rife continuations h^_^)P+;  
      含有actions的完整连续的package名称 Iila|,cM  
5 =8v\q?)c  
struts.custom.i18n.resources t\LE\[XM>  
      Location of additional localization properties files to load 50dN~(;p  
      加载附加的国际化属性文件(不包含.properties后缀) )b (+=  
\BH?GMoP  
struts.custom.properties W!T[ ^+  
      Location of additional configuration properties files to load s-5 #P,Lw  
      加载附加的配置文件的位置 7FkiT  
BJ]L@L%  
FX9WX b4w  
struts.devMode *J]p/<> {  
      Whether Struts is in development mode or not \ a7m!v  
      是否为struts开发模式 IJKdVb~   
c~/poFj  
struts.dispatcher.parametersWorkaround n $N M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S"@6,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5FuV=Yuc  
J/D~]U  
struts.enable.DynamicMethodInvocation v(R^LqE  
      Allows one to disable dynamic method invocation from the URL f+ZOE?"  
        允许动态方法调用 +zbCYA  
:R +BC2x  
struts.freemarker.manager.classname n7B2rRJH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lK/4"&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,aD~7QX1:  
J zFR9DEt  
struts.i18n.encoding *~4<CP+"0  
      The encoding to use for localization messages o/ 51 RH  
      国际化信息内码  AV|:v3  
{X2uFw Gi  
struts.i18n.reload 5D=U.UdR  
      Whether the localization messages should automatically be reloaded ]@cI_n  
      是否国际化信息自动加载 ZvQZD=,F  
7Y-Q, ?1  
struts.locale w0@XJH:P  
      The default locale for the Struts application #g@4c3um|  
      默认的国际化地区信息 >TM{2b,(p  
[O'aka Q  
struts.mapper.class >Ik%_:CC`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3N!v"2!#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \!jz1`]&{  
=jh^mD&'  
struts.multipart.maxSize Mv/ SU">F  
      The maximize size of a multipart request (file upload) sr[[xzL  
      multipart请求信息的最大尺寸(文件上传用) ?D7zty+}^  
q)o;iR  
struts.multipart.parser x4>"m(&%  
      The org.apache.struts2.dispatcher.multipart. -6WSYpHV  
      MultiPartRequest parser implementation for a multipart request (file upload) AxH`4=3<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2Mq@5n  
z>0$SBQ-  
)Ghw!m  
struts.multipart.saveDir {S-M]LE  
      The directory to use for storing uploaded files J E5qR2VA  
      设置存储上传文件的目录夹 Z_dL@\#|  
K:qc "Q=C  
struts.objectFactory vol (%wB  
      The com.opensymphony.xwork2.ObjectFactory implementation class } ,}g](!m  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t~dK\>L  
x!W5'DO  
struts.objectFactory.spring.autoWire /&G|.Cx  
      Whether Spring should autoWire or not ltU{P|7!E  
      是否自动绑定Spring u\iKdL  
oxeIh9 E  
struts.objectFactory.spring.useClassCache y xT}hMa  
      Whether Spring should use its class cache or not =Ez@kTvOs  
      是否spring应该使用自身的cache W5Jy"]^I  
[>_zV.X  
struts.objectTypeDeterminer 9bRUN<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E}F-*go  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [-"ZuUG  
:6%ivS  
struts.serve.static.browserCache IO7gq+  
If static content served by the Struts filter should set browser caching header properties or not hT_Q_1,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k^ fW /  
;XyryCo  
struts.serve.static Isvb;VT9L  
      Whether the Struts filter should serve static content or not pbqk  
      是否struts过滤器应该提供静态内容 T*Ge67  
= =Q*|L-g  
struts.tag.altSyntax -G?IXgG  
      Whether to use the alterative syntax for the tags or not P0_Ymn=&  
      是否可以用替代的语法替代tags 7BqP3T=&_  
)+Z.J]$O-  
struts.ui.templateDir J4 j:nd  
      The directory containing UI templates +\dKe[j{g  
      UI templates的目录夹 C2zKt/)A  
FYu30  
struts.ui.theme wxBZ+UP_  
      The default UI template theme xzfugW  
      默认的UI template主题 XV4aR3n{Q  
P.k>6T<U>  
struts.url.http.port #PPHxh*S  
      The HTTP port used by Struts URLs U|.r -$|5P  
      设置http端口 EBk-qd a}  
y=+OC1k\8  
struts.url.https.port w8 N1-D42  
      The HTTPS port used by Struts URLs Y`$\o  
      设置https端口 50A\Y)i_mZ  
xe(7q1   
struts.url.includeParams g2^{+,/^K  
      The default includeParams method to generate Struts URLs b KIL@AI  
      在url中产生 默认的includeParams %qE"A6j  
EB}~^ aY  
&;r'JIp  
struts.velocity.configfile ^ T`T?*h  
      The Velocity configuration file path *qLk'<  
      velocity配置文件路径 mea} 9]c  
@x A^F%(  
struts.velocity.contexts @ZJ }lED3  
      List of Velocity context names |=~mRqG  
      velocity的context列表 lfd-!(tXD  
v$JW7CKA  
v+trHdSBYE  
struts.velocity.manager.classname cUd>ah v  
      org.apache.struts2.views.velocity.VelocityManager implementation class ./.aLTh  
      org.apache.struts2.views.velocity.VelocityManager接口名 P|lDW|}D@  
O8v9tGZoh  
struts.velocity.toolboxlocation R47y/HG,  
      The location of the Velocity toolbox S9nn^vsK  
      velocity工具盒的位置 UA]T7r@  
struts.xslt.nocache 1=9GV+`n  
      Whether or not XSLT templates should not be cached )a'`  
      是否XSLT模版应该被缓存  5 b,|6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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