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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &cu!Hx  
blahi]{Y9  
struts.action.extension #r<?v  
      The URL extension to use to determine if the request is meant for a Struts action Y%Ieg.o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7J|&U2}c  
|TTS?  
struts.configuration `ZMK9f:  
      The org.apache.struts2.config.Configuration implementation class *V1J4 u  
        org.apache.struts2.config.Configuration接口名 rwSbqL^eM  
x6;j<m5Mjx  
struts.configuration.files nN aXp*J  
      A list of configuration files automatically loaded by Struts RV+E^pkp$  
      struts自动加载的一个配置文件列表 u1Ek y/e-  
U>P|X=)  
struts.configuration.xml.reload \4{2eU  
      Whether to reload the XML configuration or not UXH"si:  
      是否加载xml配置(true,false) _<zfQZai  
oY=1C}  
struts.continuations.package 3A,rHYS  
      The package containing actions that use Rife continuations he$XLTmr:  
      含有actions的完整连续的package名称 X}cZxlqc  
uLk]LT  
struts.custom.i18n.resources Puh$%;x  
      Location of additional localization properties files to load aY)2eY  
      加载附加的国际化属性文件(不包含.properties后缀) _M t Qi  
y&oNv xG-  
struts.custom.properties sbo^"&%w  
      Location of additional configuration properties files to load c|AtBgvf  
      加载附加的配置文件的位置 WKl+{e  
TWd;EnNM  
909md|9K3  
struts.devMode zl%>`k!>  
      Whether Struts is in development mode or not l! v!hUb+  
      是否为struts开发模式 S~NM\[S  
}]+xFj9[>  
struts.dispatcher.parametersWorkaround q; ji w#_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~n?>[88"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (GcT(~Gq)D  
 c</1  
struts.enable.DynamicMethodInvocation qAY%nA>jO  
      Allows one to disable dynamic method invocation from the URL /nZ;v4  
        允许动态方法调用 uD9|.P}  
*7$P]  
struts.freemarker.manager.classname F|+W.9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xW_yLbE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "D][e'  
6!q#x[A  
struts.i18n.encoding ^2JpWY:|7  
      The encoding to use for localization messages ZA(T  
      国际化信息内码 :I1_X  
g{:<2xI5P  
struts.i18n.reload RJ4. kt  
      Whether the localization messages should automatically be reloaded PRB{VC<k  
      是否国际化信息自动加载 l=}~v  
IQH[Q9%  
struts.locale bb-qO#E  
      The default locale for the Struts application g(ogXA1  
      默认的国际化地区信息 v jT( Q  
3c3OG.H$8  
struts.mapper.class 5x8+xw3Eh  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class XYEv&-M`?w  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9z>z3,ftN  
<F=9*.@D   
struts.multipart.maxSize 1HT_  
      The maximize size of a multipart request (file upload) E?)656F[  
      multipart请求信息的最大尺寸(文件上传用) ve6w<3D@  
Wu1{[a|  
struts.multipart.parser ?rYT4vi  
      The org.apache.struts2.dispatcher.multipart. 9`Q<Yy"du  
      MultiPartRequest parser implementation for a multipart request (file upload) $s5a G)?7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5n lMrK  
X"aEJ|y  
^aZAw%K  
struts.multipart.saveDir YDC&u8  
      The directory to use for storing uploaded files ZD>a>]  
      设置存储上传文件的目录夹 TX [%(ft  
ciQZHH2  
struts.objectFactory ^|MjJsn  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^:=f^N=^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @>Mxwpl?  
2aN<w'pA  
struts.objectFactory.spring.autoWire O,@~L$a:YZ  
      Whether Spring should autoWire or not I=DxRgt  
      是否自动绑定Spring m Lk(y*  
g'$tj&Vk:  
struts.objectFactory.spring.useClassCache bG F7Zh9  
      Whether Spring should use its class cache or not qJ4T]FVN  
      是否spring应该使用自身的cache `D$Jv N  
r|Z5Xc  
struts.objectTypeDeterminer O$u"/cwe*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J%H;%ROx  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _+l1 b"^s1  
p[AO' xx  
struts.serve.static.browserCache rQ`i8GF  
If static content served by the Struts filter should set browser caching header properties or not l^MzN  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 LwcIGhy  
GB7/x*u   
struts.serve.static Q]/Uq~m C  
      Whether the Struts filter should serve static content or not cD|Htt"  
      是否struts过滤器应该提供静态内容 3r+.N  
X0(tboj#  
struts.tag.altSyntax Y?J"wdWJNB  
      Whether to use the alterative syntax for the tags or not /4\wn?f  
      是否可以用替代的语法替代tags 7R4z}2F2  
7nq3S  
struts.ui.templateDir <S75($  
      The directory containing UI templates Kf tgOG f  
      UI templates的目录夹 1 rs&74-  
\b=Pj!^gwb  
struts.ui.theme -s|8<A||"  
      The default UI template theme (6l+lru[  
      默认的UI template主题 5q9s,r_  
6z0@I*  
struts.url.http.port ?<Wb@6kh`  
      The HTTP port used by Struts URLs %WTEv?I{Ga  
      设置http端口 uDw.|B2ui  
l5xCz=dw  
struts.url.https.port ",aT WQgN  
      The HTTPS port used by Struts URLs [u}(57DS  
      设置https端口 2%RNq<{Z_  
zmj"fN{\  
struts.url.includeParams (;Y8pKl1e  
      The default includeParams method to generate Struts URLs ;5-r_D;9  
      在url中产生 默认的includeParams "tFxhKf  
2*"Fu:a"`I  
.MQ^(  
struts.velocity.configfile "tjLc6Xl^  
      The Velocity configuration file path Wq*b~Lw  
      velocity配置文件路径 BrRL7xX  
K~=UUB  
struts.velocity.contexts sJwyj D$b  
      List of Velocity context names #U8rO;$  
      velocity的context列表 yz8mP3"c:o  
o8e?J\?  
n1 6 `y}  
struts.velocity.manager.classname 0Wa}<]:^  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~qe%Yq  
      org.apache.struts2.views.velocity.VelocityManager接口名 !q"W{P  
wo_,Y0vfB  
struts.velocity.toolboxlocation H~ZV *[A`  
      The location of the Velocity toolbox sGh(#A0Pt  
      velocity工具盒的位置 2(5ebe[  
struts.xslt.nocache qTZFPfyU  
      Whether or not XSLT templates should not be cached n  -(  
      是否XSLT模版应该被缓存 Hbv6_H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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