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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]d~{8h!G  
Vugb;5Vl  
struts.action.extension "'GhE+>Z  
      The URL extension to use to determine if the request is meant for a Struts action G;J)[y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rC]k'p2x  
QhLgFu  
struts.configuration 19-V;F@;  
      The org.apache.struts2.config.Configuration implementation class m>F:dI  
        org.apache.struts2.config.Configuration接口名 C@[U:\  
*z#du*f[  
struts.configuration.files xG(iSuz  
      A list of configuration files automatically loaded by Struts ycwkF$7  
      struts自动加载的一个配置文件列表 CW/<?X<!n  
L Ee{fc?{  
struts.configuration.xml.reload 3TZ:  
      Whether to reload the XML configuration or not !! )W`  
      是否加载xml配置(true,false) mhOgv\?  
Ud2Tn*QmI  
struts.continuations.package -j2y#aP  
      The package containing actions that use Rife continuations WRA(k  
      含有actions的完整连续的package名称 ?=^\kXc[  
q9PjQ%  
struts.custom.i18n.resources l!KPgRw  
      Location of additional localization properties files to load kj.9\  
      加载附加的国际化属性文件(不包含.properties后缀) ?FUK_]  
+]z Rn  
struts.custom.properties #D%6b  
      Location of additional configuration properties files to load XN>bv|*q  
      加载附加的配置文件的位置 BjsTHS&  
fL d2{jI,  
&cJ?mSI  
struts.devMode LXsZk|IhM  
      Whether Struts is in development mode or not AaoS & q  
      是否为struts开发模式 NQ;$V:s)  
)''V}Zn.X  
struts.dispatcher.parametersWorkaround EaHJl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KZ%us6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ( ;^>G[  
GQJ4d-w  
struts.enable.DynamicMethodInvocation hQ!59  
      Allows one to disable dynamic method invocation from the URL j_~mP>el)  
        允许动态方法调用 L, #|W  
'*&dP"  
struts.freemarker.manager.classname { o5^nd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class I}5e{jBB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ](8F]J ,  
1|!)*!hu  
struts.i18n.encoding :vx<m_  
      The encoding to use for localization messages P,a9B2  
      国际化信息内码 om9'A=ZU  
LH=^3Gw  
struts.i18n.reload diVg|Z3T  
      Whether the localization messages should automatically be reloaded H?a $o(  
      是否国际化信息自动加载 "frioi`a2  
-^(KGu&L&u  
struts.locale ='=4tj=z  
      The default locale for the Struts application '1xhP}'3)  
      默认的国际化地区信息 >3ZhPvE-p'  
6,M$TA  
struts.mapper.class L<3+D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,6pGKCUU:y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [^bq?w  
?*yB&(a:8  
struts.multipart.maxSize aI ;$N|]u  
      The maximize size of a multipart request (file upload) QtXiUx^ k<  
      multipart请求信息的最大尺寸(文件上传用) vD:J!|hs(  
: ir3u  
struts.multipart.parser YTmHht{j#  
      The org.apache.struts2.dispatcher.multipart. \%bJXTK&W  
      MultiPartRequest parser implementation for a multipart request (file upload) (=fLWK{8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) guGX  G+  
qO8:|q1%;\  
V/#J>-os}W  
struts.multipart.saveDir Iz j-,a  
      The directory to use for storing uploaded files e8wPEDN*4  
      设置存储上传文件的目录夹 Ovj^ 7r:<s  
Eu "8IM!%-  
struts.objectFactory +]( y  
      The com.opensymphony.xwork2.ObjectFactory implementation class FE^/us7r  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GG<0k\RN  
U{bv|vF  
struts.objectFactory.spring.autoWire IbL'Z   
      Whether Spring should autoWire or not G!=(^G@J;  
      是否自动绑定Spring s3yGL  
Skr0WQ  
struts.objectFactory.spring.useClassCache <_Z.fdUA  
      Whether Spring should use its class cache or not ={ -kQq  
      是否spring应该使用自身的cache -sZ'<(3  
Fw{#4  
struts.objectTypeDeterminer dT% eq7=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ov H'_'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s]0 J'UN  
:@"o.8p   
struts.serve.static.browserCache Hm!"%  
If static content served by the Struts filter should set browser caching header properties or not Q _!tn*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2#3`[+g<n  
}7b{ZbDI  
struts.serve.static C4`&_yoP4-  
      Whether the Struts filter should serve static content or not ai1;v@1  
      是否struts过滤器应该提供静态内容 TQNdBq5I6  
89GW!  
struts.tag.altSyntax XTk :lzFH  
      Whether to use the alterative syntax for the tags or not |2n*Ds'  
      是否可以用替代的语法替代tags (Fuu V{x|  
WAR!#E#J7  
struts.ui.templateDir _e ;b B?S  
      The directory containing UI templates *i#N50k*j'  
      UI templates的目录夹 67&Q<`V1*q  
DNqV]N_W  
struts.ui.theme \lQI;b;$  
      The default UI template theme do.>Y}d  
      默认的UI template主题 ::iYydpM  
4F0w+w JD  
struts.url.http.port 7UG c2J  
      The HTTP port used by Struts URLs F.i}&UQ%  
      设置http端口 +Yq?:uBV  
pY3/AO=  
struts.url.https.port .d[ ^&<^  
      The HTTPS port used by Struts URLs cJ@fJ|  
      设置https端口 T,uF^%$@AQ  
S{8-XiL,  
struts.url.includeParams <ta{)}IN^  
      The default includeParams method to generate Struts URLs +v5f-CBu  
      在url中产生 默认的includeParams LVm']_K(f  
9xq3>(  
ZsXw]Wa  
struts.velocity.configfile ("j;VqYUL  
      The Velocity configuration file path u,`3_I^  
      velocity配置文件路径 GHn0(o&K  
{ pQJ.QI  
struts.velocity.contexts Qt{V&Z7  
      List of Velocity context names Mt`LOdiC_  
      velocity的context列表 eN </H.bm]  
NS`hXf  
Bw!J!cCj  
struts.velocity.manager.classname &Ejhw3Nw  
      org.apache.struts2.views.velocity.VelocityManager implementation class :@P6ibcX  
      org.apache.struts2.views.velocity.VelocityManager接口名 xoj,>[7 D  
@4Bl&(3S  
struts.velocity.toolboxlocation Xf#;`*5  
      The location of the Velocity toolbox KWD{_h{R  
      velocity工具盒的位置 yHC[8l8%  
struts.xslt.nocache X"`[&l1  
      Whether or not XSLT templates should not be cached _z%~ m2SP  
      是否XSLT模版应该被缓存 bXc*d9]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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