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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vmMV n-\#  
pL%4= ]m  
struts.action.extension }0vtc[!  
      The URL extension to use to determine if the request is meant for a Struts action wqf&i^_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tG_-;03<`4  
WVinP(#nfM  
struts.configuration B JU*`Tx  
      The org.apache.struts2.config.Configuration implementation class 9Y\F53p&j  
        org.apache.struts2.config.Configuration接口名 UUD\bWfn  
JTjzT2`A.  
struts.configuration.files 8.PXTOhVL  
      A list of configuration files automatically loaded by Struts Z5yt]-WN&  
      struts自动加载的一个配置文件列表 T4l-sJ'|  
k-io$  
struts.configuration.xml.reload $,g 3*A  
      Whether to reload the XML configuration or not BSjbnnW}"  
      是否加载xml配置(true,false) 8Er[M  
B{^`8Htrn  
struts.continuations.package F>TYVxQ  
      The package containing actions that use Rife continuations RsR] T]4  
      含有actions的完整连续的package名称 7L1\1E:!  
gW/QFZjY  
struts.custom.i18n.resources O~nBz):2  
      Location of additional localization properties files to load v]l&dgoT  
      加载附加的国际化属性文件(不包含.properties后缀) t]gq+ c Lo  
G[y&`Qc)G  
struts.custom.properties tnA_!$Y a  
      Location of additional configuration properties files to load S[ws0Y60  
      加载附加的配置文件的位置 Feh"!k <6k  
B #;s(O  
 xh=FkY&d  
struts.devMode kbD*=d}3{  
      Whether Struts is in development mode or not }k4`  
      是否为struts开发模式 ,>:XE@xcp  
|dW2dQ  
struts.dispatcher.parametersWorkaround wVlSjk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fMgcK$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =%:JjgKc*t  
t%0r"bTi  
struts.enable.DynamicMethodInvocation X+/{%P!w  
      Allows one to disable dynamic method invocation from the URL iXt4|0  
        允许动态方法调用 V+P8P7y37B  
'O!Z:-qE  
struts.freemarker.manager.classname X}_QZO=z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class TJeou# =/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H9.oVF^~  
S(@*3]!q  
struts.i18n.encoding _G_ &Me0  
      The encoding to use for localization messages g%@]z8L  
      国际化信息内码 fQ2!sV  
8L%%eM_O  
struts.i18n.reload 2nG{>,#C:O  
      Whether the localization messages should automatically be reloaded Sn_z  
      是否国际化信息自动加载 i=,B88ko  
~ra#UG\Y8  
struts.locale Q=)"om  
      The default locale for the Struts application e);bF>.~  
      默认的国际化地区信息 K7)j  
,Zf :R  
struts.mapper.class !"Z."fm*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MoC*tImWR  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 & y#y>([~  
9_g>BI;"8  
struts.multipart.maxSize -wPuml!hZ|  
      The maximize size of a multipart request (file upload) S7@ZtFf  
      multipart请求信息的最大尺寸(文件上传用) GGFar\ EzW  
!7kAJG g  
struts.multipart.parser :Vu7,o  
      The org.apache.struts2.dispatcher.multipart. IMl9\U  
      MultiPartRequest parser implementation for a multipart request (file upload) b(+w.R(+Ti  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &!H~bzg  
g~bf!  
f\U?:8 3  
struts.multipart.saveDir ^bZ<9}  
      The directory to use for storing uploaded files X}n&`y{/  
      设置存储上传文件的目录夹 c ,g]0S?gu  
5`OK-  
struts.objectFactory ;EE{ ~  
      The com.opensymphony.xwork2.ObjectFactory implementation class |SSf G~r  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]6?c8/M  
[R@q]S/  
struts.objectFactory.spring.autoWire x= vE&9_u  
      Whether Spring should autoWire or not ,qBnqi[  
      是否自动绑定Spring eG[umv.9b  
PHe~{"|d?  
struts.objectFactory.spring.useClassCache o O{|C&A  
      Whether Spring should use its class cache or not LaEX kb*s  
      是否spring应该使用自身的cache l^!0|/Vw  
1FXzAc(c!  
struts.objectTypeDeterminer XcJ'm{=   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,6cbD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -KJ}.q>upq  
` $QzTv   
struts.serve.static.browserCache ~/]\iOL  
If static content served by the Struts filter should set browser caching header properties or not 6T} CPDRq  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9.MGH2^ L?  
Y_|K,T6Zj@  
struts.serve.static c(_oK ?  
      Whether the Struts filter should serve static content or not os "[Iji  
      是否struts过滤器应该提供静态内容 ?%8})^Dd>4  
: . FfE  
struts.tag.altSyntax #J<`p  
      Whether to use the alterative syntax for the tags or not |}]JWsuB  
      是否可以用替代的语法替代tags V29S*  
eNlF2M  
struts.ui.templateDir q7)]cY_  
      The directory containing UI templates 4N%2w(,+8  
      UI templates的目录夹 Z!s>AgH9u  
w|hyU4- ^  
struts.ui.theme rH#c:BwSm  
      The default UI template theme Wf+Cc?/4  
      默认的UI template主题 h M1&A  
qxecp2>U  
struts.url.http.port @wAr[.lZ  
      The HTTP port used by Struts URLs %$9)1"T0Y  
      设置http端口 UG^?a  
*x# &[>  
struts.url.https.port /pSUn"3  
      The HTTPS port used by Struts URLs /v|68x6  
      设置https端口 ~ (l2%(3G  
CHdet(_=v  
struts.url.includeParams 1o5Y9#7  
      The default includeParams method to generate Struts URLs x1&b@u  
      在url中产生 默认的includeParams sg9x?Bx9  
21)-:rS  
h Vt+%tmNy  
struts.velocity.configfile .SKNIct M  
      The Velocity configuration file path -G^t-I  
      velocity配置文件路径 L(!!7B_,  
tc49Ty9$[  
struts.velocity.contexts j4 &  
      List of Velocity context names c}I8!*\  
      velocity的context列表 @88z{  
cQ8$,fo  
_n Iqy&<  
struts.velocity.manager.classname mw4'z,1Q  
      org.apache.struts2.views.velocity.VelocityManager implementation class P*"AtZuY]  
      org.apache.struts2.views.velocity.VelocityManager接口名 JK^B+.  
EU&3Pdnd  
struts.velocity.toolboxlocation ,nu7r1}  
      The location of the Velocity toolbox ^%'tD  
      velocity工具盒的位置 9B?t3:  
struts.xslt.nocache sgb+@&}9n  
      Whether or not XSLT templates should not be cached ,N@Icl  
      是否XSLT模版应该被缓存 v[3hnLN%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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