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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D'Uc?2X,&  
J ayax]u7J  
struts.action.extension Z/:W.*u  
      The URL extension to use to determine if the request is meant for a Struts action D\E"v,Y\+O  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  < B!f;  
)iZhE"?z  
struts.configuration zLPCWP.u  
      The org.apache.struts2.config.Configuration implementation class c~d*SDca  
        org.apache.struts2.config.Configuration接口名 yr)e."#S  
U^-RyE!}  
struts.configuration.files r l;Y7l  
      A list of configuration files automatically loaded by Struts 9e&*+ +vf  
      struts自动加载的一个配置文件列表 mXu";?2  
J3'0^JP*  
struts.configuration.xml.reload PGb}Y {  
      Whether to reload the XML configuration or not r^Soqom3  
      是否加载xml配置(true,false) @[1,i~H  
9QkssI  
struts.continuations.package *48LQzc  
      The package containing actions that use Rife continuations TLg 9`UA  
      含有actions的完整连续的package名称 GT3}'`f B  
m-q O yt  
struts.custom.i18n.resources CljEC1S#  
      Location of additional localization properties files to load [TT:^F(Y  
      加载附加的国际化属性文件(不包含.properties后缀) UM'JK#P"  
. :(gg  
struts.custom.properties MW0CqMi]T  
      Location of additional configuration properties files to load 1Sv$!xX`n  
      加载附加的配置文件的位置 1M[|9nWUC  
YP{mzGdE&  
-CPLgT  
struts.devMode FH;)5GGnv  
      Whether Struts is in development mode or not u@zT~\ h*  
      是否为struts开发模式 "T}HH  
5KssfI a  
struts.dispatcher.parametersWorkaround luz,z( v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !m9g\8tE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ul"Z% 1]  
QdIoK7J 9  
struts.enable.DynamicMethodInvocation zeH=py[n  
      Allows one to disable dynamic method invocation from the URL fJi?~[5<  
        允许动态方法调用 ])WIw'L!  
RC!T1o~L  
struts.freemarker.manager.classname 6X$\:>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XLm@, A[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 " j:15m5  
5jTA6s9zA  
struts.i18n.encoding [U7r>&  
      The encoding to use for localization messages DyQvk  
      国际化信息内码 1z3I^gI*i  
l_(4CimOZ  
struts.i18n.reload ],wzZhA  
      Whether the localization messages should automatically be reloaded O^R ^Aw  
      是否国际化信息自动加载 8)J,jh9q  
"||G`%aO+t  
struts.locale =I+5sCF{g  
      The default locale for the Struts application RP wP4Z  
      默认的国际化地区信息 X<H+Z2d  
~>}7+p ?;  
struts.mapper.class Ll^9,G"Tt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <a2Kc '  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PU\@^)$  
Ki3 wqY  
struts.multipart.maxSize 92*Y( >  
      The maximize size of a multipart request (file upload) MO79FNH2\  
      multipart请求信息的最大尺寸(文件上传用) %5 <t3 H"  
2f 9%HX(5  
struts.multipart.parser &oDu$%dkT  
      The org.apache.struts2.dispatcher.multipart. %'dsb7n  
      MultiPartRequest parser implementation for a multipart request (file upload) q,j` _ R4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4_\]zhS  
vpk~,D07yR  
1{wOjq(4  
struts.multipart.saveDir bvo }b-]E  
      The directory to use for storing uploaded files cp+eh  
      设置存储上传文件的目录夹 @'S !G"\  
}$s._)a  
struts.objectFactory 9K{0x7~  
      The com.opensymphony.xwork2.ObjectFactory implementation class 23`pog{n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yy\d<-X~  
6EG`0h6  
struts.objectFactory.spring.autoWire x 0L,$Ol  
      Whether Spring should autoWire or not  u8[jD^  
      是否自动绑定Spring bJ6v5YA%  
GZ"J6/0-|  
struts.objectFactory.spring.useClassCache sT"{ e7;F;  
      Whether Spring should use its class cache or not N_E :?Jo  
      是否spring应该使用自身的cache {7FD-Q[tS  
~Q 1%DV.  
struts.objectTypeDeterminer Pe7% 9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [kZe6gYP&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }-M% $ ~`  
1Q9e S&  
struts.serve.static.browserCache 79MB_Is]s  
If static content served by the Struts filter should set browser caching header properties or not D5 ^WiQ<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %C*h/AW)'  
$qhVow5~  
struts.serve.static p"J\+R  
      Whether the Struts filter should serve static content or not h&?tF~h  
      是否struts过滤器应该提供静态内容 SyR[G*djl  
$RV'DQO  
struts.tag.altSyntax -ID!kZx  
      Whether to use the alterative syntax for the tags or not D,'@b+B[  
      是否可以用替代的语法替代tags C Eb .?B  
O7T wM Yh  
struts.ui.templateDir &k {1N.  
      The directory containing UI templates Yy8%vDdJO  
      UI templates的目录夹 jQ Of+ZE  
w1|YR  
struts.ui.theme affig  
      The default UI template theme }^B=f_Ag  
      默认的UI template主题 \o,`@2H+'  
p\7(IhW@  
struts.url.http.port 'q=Ly?9  
      The HTTP port used by Struts URLs q P>Gre  
      设置http端口 GvT'v0&+  
w.H\j9E l  
struts.url.https.port gj Ue{cb5  
      The HTTPS port used by Struts URLs s&zg!~@5b  
      设置https端口 cwA+?:Ry}  
p[-bu B]  
struts.url.includeParams EK}f-Xei  
      The default includeParams method to generate Struts URLs DvvjIYB~  
      在url中产生 默认的includeParams u-E*_% y  
KcX] g*wy  
g4*]R>f  
struts.velocity.configfile 20H$9M=}  
      The Velocity configuration file path vZpt}u  
      velocity配置文件路径 w`J s "_\  
`;!v<@:i2  
struts.velocity.contexts 9l :Bum)9  
      List of Velocity context names ``mW\=fe  
      velocity的context列表 #x|h@(y|  
NEh5    
u4[3JI>  
struts.velocity.manager.classname ?yt"  
      org.apache.struts2.views.velocity.VelocityManager implementation class t^qPQ;"=,  
      org.apache.struts2.views.velocity.VelocityManager接口名 I8 {2cM;  
9:tKRN_D  
struts.velocity.toolboxlocation w/HGmVa  
      The location of the Velocity toolbox `7zNVYur8  
      velocity工具盒的位置 /xRPQ|  
struts.xslt.nocache `P<m`*  
      Whether or not XSLT templates should not be cached Yj^n4G(h  
      是否XSLT模版应该被缓存 ^g2p!7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五