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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 CMfR&G,)  
3 Ol`i$  
struts.action.extension 9j1 tcT  
      The URL extension to use to determine if the request is meant for a Struts action 6~Y`<#X5J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0T:ZWRjH  
vl5r~F  
struts.configuration ]U.YbWe^  
      The org.apache.struts2.config.Configuration implementation class %)L|7v<  
        org.apache.struts2.config.Configuration接口名 F"a31`L>H  
mk +BeK  
struts.configuration.files '.zr:l  
      A list of configuration files automatically loaded by Struts !%'c$U2  
      struts自动加载的一个配置文件列表 2w:cdAv$  
_'P!>C!  
struts.configuration.xml.reload I z)~h>-F  
      Whether to reload the XML configuration or not Cce{aY  
      是否加载xml配置(true,false) 74a>}+"  
[4HOWM>\  
struts.continuations.package /pz(s+4=  
      The package containing actions that use Rife continuations yV5AVM o  
      含有actions的完整连续的package名称 L)_L#]Yy  
BoXGoFn  
struts.custom.i18n.resources Jek)`D  
      Location of additional localization properties files to load @W!cC#u  
      加载附加的国际化属性文件(不包含.properties后缀) Ok_)C+o  
#zKF/H|_R  
struts.custom.properties -;U3$[T,J7  
      Location of additional configuration properties files to load yQ+C}8r5  
      加载附加的配置文件的位置 lR3JyYY{X  
J,^eq@(  
v,mn=Q&9  
struts.devMode ?)XPY<  
      Whether Struts is in development mode or not ^BQ*l5K  
      是否为struts开发模式 |79n 1;+\?  
k&3'[&$I*,  
struts.dispatcher.parametersWorkaround 'q{|p+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \"mL LnK?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oW8 hC  
9h'klaE(  
struts.enable.DynamicMethodInvocation B#(2,j7M  
      Allows one to disable dynamic method invocation from the URL mYqRN1%  
        允许动态方法调用 qjd8Q  
}P"JP[#E\  
struts.freemarker.manager.classname df!n.&\y!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X" ;ly0Mb  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Qrt> vOUE7  
wvNddu>@  
struts.i18n.encoding GA@Zfcg  
      The encoding to use for localization messages O$ ;:5zT  
      国际化信息内码 +vCW${U  
6IC/~Woghx  
struts.i18n.reload x0x/2re  
      Whether the localization messages should automatically be reloaded }5sJd>u5^  
      是否国际化信息自动加载 cG I^IPI  
HtGGcO'bqg  
struts.locale R(F+Xg je  
      The default locale for the Struts application s~Od(,K  
      默认的国际化地区信息 zmh3 Qa(  
F#$[jh$  
struts.mapper.class ejC== Fkc  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class X8=s k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *27*&&=)H  
m' suAj0  
struts.multipart.maxSize WjvD C"  
      The maximize size of a multipart request (file upload) gDjs:]/YR  
      multipart请求信息的最大尺寸(文件上传用) XxEKv=_bc  
,-{ 2ai_  
struts.multipart.parser $@:z4S(  
      The org.apache.struts2.dispatcher.multipart. 7nL3+Pq  
      MultiPartRequest parser implementation for a multipart request (file upload) X?Mc"M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bol#[_~  
]o\y(!  
x?MSHOia`P  
struts.multipart.saveDir y~pJ|E  
      The directory to use for storing uploaded files e6WKZ~ v o  
      设置存储上传文件的目录夹 zE\@x+k.  
{9C+=v?  
struts.objectFactory MPmsW &  
      The com.opensymphony.xwork2.ObjectFactory implementation class >E`p@ e+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b_T?jCyW  
@(H  
struts.objectFactory.spring.autoWire =~~Y@eX  
      Whether Spring should autoWire or not G\:^9!nwY~  
      是否自动绑定Spring FUj4y 9X  
{^VvL'n  
struts.objectFactory.spring.useClassCache z`[q$H7?  
      Whether Spring should use its class cache or not TGe{NUO  
      是否spring应该使用自身的cache {JlW1;Jc7  
-w:F8k ~  
struts.objectTypeDeterminer *k#M;e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =+j>?Yi  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *PjW,   
aD:vNX  
struts.serve.static.browserCache -] .Y";  
If static content served by the Struts filter should set browser caching header properties or not DIu rFDQSS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ge]2g0  
;f7;U=gl,  
struts.serve.static idr,s\$>  
      Whether the Struts filter should serve static content or not + B#3!  
      是否struts过滤器应该提供静态内容 Q}MS $[y  
Ll !J!{  
struts.tag.altSyntax F! ;0eS"xp  
      Whether to use the alterative syntax for the tags or not A+lP]Oy0S  
      是否可以用替代的语法替代tags Qpc+1{BQ  
//}[(9b'\  
struts.ui.templateDir /U#{6zeM[,  
      The directory containing UI templates JS<4%@  
      UI templates的目录夹 -S7rOq2Li  
V_g9oR_  
struts.ui.theme {D jz']  
      The default UI template theme -  zQ  
      默认的UI template主题 t<6`?\Gk  
(&G4@Vd  
struts.url.http.port ^"h`U'YC  
      The HTTP port used by Struts URLs tGs=08`  
      设置http端口 IP`;hC  
N+9`'n^x  
struts.url.https.port jtk2>Ol   
      The HTTPS port used by Struts URLs G,8LF/sR  
      设置https端口 Jyx6{O j  
4#z@B1Jx  
struts.url.includeParams uYPdmrPB?l  
      The default includeParams method to generate Struts URLs 8h#/b1\  
      在url中产生 默认的includeParams qxsK-8KT<  
z6K"}C%  
qdB@P  
struts.velocity.configfile ':fq  
      The Velocity configuration file path &Oq& ikw  
      velocity配置文件路径 MT,LO<.  
/2&jId  
struts.velocity.contexts  >y&4gm  
      List of Velocity context names `R]9+_"N  
      velocity的context列表 s wdW70  
,?+rM ;  
"mnWqRpX  
struts.velocity.manager.classname F(8>"(C  
      org.apache.struts2.views.velocity.VelocityManager implementation class .ya^8gM  
      org.apache.struts2.views.velocity.VelocityManager接口名 hN6j5.x%  
szC~?]<YY  
struts.velocity.toolboxlocation N.|Zh+!  
      The location of the Velocity toolbox s fxQ  
      velocity工具盒的位置 <aR8fU  
struts.xslt.nocache ;K:)R_H  
      Whether or not XSLT templates should not be cached @' DfNka  
      是否XSLT模版应该被缓存 ?#^_yd|<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八