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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,e$RvFB  
D_<B^3w )  
struts.action.extension m8L %!6o  
      The URL extension to use to determine if the request is meant for a Struts action (421$w,B%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M6cybEk`  
n5xG4.#G  
struts.configuration anz7ae&P'K  
      The org.apache.struts2.config.Configuration implementation class `::j\3B&Y-  
        org.apache.struts2.config.Configuration接口名 Us "G X_  
Ap\]v2G  
struts.configuration.files 3@eI? (N  
      A list of configuration files automatically loaded by Struts ~7}no}7  
      struts自动加载的一个配置文件列表 sR PQr ?  
_d~GY,WTdO  
struts.configuration.xml.reload |:(BI5&S  
      Whether to reload the XML configuration or not k(>J?\iNW  
      是否加载xml配置(true,false) PNLlJlYlP  
24InwR|^  
struts.continuations.package YVRE 9  
      The package containing actions that use Rife continuations  A|IPQ=  
      含有actions的完整连续的package名称 ~qb?#IY]`  
oIE(`l0l  
struts.custom.i18n.resources }1CO>a<  
      Location of additional localization properties files to load hHw1<! M  
      加载附加的国际化属性文件(不包含.properties后缀) 8_>:0(y  
u (r T2  
struts.custom.properties "OUY^ cM  
      Location of additional configuration properties files to load Zq1> M'V;  
      加载附加的配置文件的位置 UBM8l  
.O~rAu*K  
b,HXD~=  
struts.devMode ,t1s#*j\!q  
      Whether Struts is in development mode or not 3S^Qo9S  
      是否为struts开发模式 YA8/TFu<_  
Tz& cm =  
struts.dispatcher.parametersWorkaround m|cRj{xZF  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jvd3_L-@E<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0~<t :q!  
gcX  
struts.enable.DynamicMethodInvocation ]]V=\.y  
      Allows one to disable dynamic method invocation from the URL q{,yas7}  
        允许动态方法调用 :1iXBG\  
<9=RLENmY"  
struts.freemarker.manager.classname . VI #  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Jl"DMUy[kW  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mMhe,8E&  
_;(Q MeR  
struts.i18n.encoding 3joMtRB>;  
      The encoding to use for localization messages \hzx?  
      国际化信息内码 _["97>q  
Vyx&MU.-J  
struts.i18n.reload N/^[c+J  
      Whether the localization messages should automatically be reloaded YRl4?}r2  
      是否国际化信息自动加载 v Ma$JPauI  
71&`6#  
struts.locale rUiUv(q  
      The default locale for the Struts application nzYFa J+  
      默认的国际化地区信息 ";0-9*I  
0XIrEwm@%  
struts.mapper.class y7*^H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lgAE`Os  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nDchLVw  
~>$(5 s2  
struts.multipart.maxSize 10/3-)+  
      The maximize size of a multipart request (file upload) !q PUQ+  
      multipart请求信息的最大尺寸(文件上传用) J _|>rfW  
wVs|mG"  
struts.multipart.parser  -gS/  
      The org.apache.struts2.dispatcher.multipart. ]}0+7Q  
      MultiPartRequest parser implementation for a multipart request (file upload) / dn]`Ge)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R91u6r#  
D3 E!jQ1  
2gjA>ET`N  
struts.multipart.saveDir 483vFLnF  
      The directory to use for storing uploaded files QaEXk5>e  
      设置存储上传文件的目录夹 KQqQ@D&n  
tX}Fb0y  
struts.objectFactory `+@%l*TQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class [c6_6q As  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fn%:0j  
Md m(xUs  
struts.objectFactory.spring.autoWire ~RE`@/wQ]  
      Whether Spring should autoWire or not &9g#Vq%   
      是否自动绑定Spring 8c$IsvJg  
%n c+VL4  
struts.objectFactory.spring.useClassCache ma* 9O |v^  
      Whether Spring should use its class cache or not 1Kebl  
      是否spring应该使用自身的cache 3vs2}IV'  
8@Km@o]?  
struts.objectTypeDeterminer  Q{Bj(f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S"Zs'7dy`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'XQv>J  
khu,P[3>  
struts.serve.static.browserCache IweQB}d  
If static content served by the Struts filter should set browser caching header properties or not C ILk  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cRfX  
j+ys&pDczm  
struts.serve.static hQ8{ A7  
      Whether the Struts filter should serve static content or not 1Q;` <=  
      是否struts过滤器应该提供静态内容 =O _[9kuJ  
ZmHl~MR@  
struts.tag.altSyntax /iQ>he~fy  
      Whether to use the alterative syntax for the tags or not |m EJJg`"7  
      是否可以用替代的语法替代tags EX5kF  
n<$I,IRE  
struts.ui.templateDir " 7 4L  
      The directory containing UI templates fu&]t8MJC  
      UI templates的目录夹 aY+>85?g  
Wl2>U(lj  
struts.ui.theme |Z/ySAFM  
      The default UI template theme ff hD+-gTU  
      默认的UI template主题 (6+0U1[Iz  
^~I  
struts.url.http.port 5LK>n-  
      The HTTP port used by Struts URLs <z4!m/f [(  
      设置http端口 g?+P&FL#I  
^b.J z}  
struts.url.https.port [(K^x?\Y0'  
      The HTTPS port used by Struts URLs /kq~*s  
      设置https端口 Y+7v~/K=  
)G|U B8]  
struts.url.includeParams cS[`1y,\3  
      The default includeParams method to generate Struts URLs =w5w=qB  
      在url中产生 默认的includeParams K&h|r`W(  
^YZ#P0 y  
MG@19R2s  
struts.velocity.configfile Dx%fW`  
      The Velocity configuration file path ;g*6NzdA  
      velocity配置文件路径 C!P6Z10+j  
5-QXvw(TH  
struts.velocity.contexts w$!n8A qs  
      List of Velocity context names /L 4WWQ5  
      velocity的context列表 KKzvoc?Bt  
'huLv(Uu  
RPWYm  
struts.velocity.manager.classname / u{r5`4  
      org.apache.struts2.views.velocity.VelocityManager implementation class  x1et,&,  
      org.apache.struts2.views.velocity.VelocityManager接口名 v]!7=>/2  
J5"*OH:f  
struts.velocity.toolboxlocation hU{%x#8}lK  
      The location of the Velocity toolbox EKf4f^<  
      velocity工具盒的位置 k4P.}SJ?  
struts.xslt.nocache V+q RDQ  
      Whether or not XSLT templates should not be cached Sq'z<}o  
      是否XSLT模版应该被缓存 td~3N,S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八