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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 v2r|) c,h  
tZx}/&m-  
struts.action.extension s;l"'6:_  
      The URL extension to use to determine if the request is meant for a Struts action & E6V'*<93  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )n<p_vz  
uF[*@N  
struts.configuration Xe:rPxZf~  
      The org.apache.struts2.config.Configuration implementation class V$FZVG/@#  
        org.apache.struts2.config.Configuration接口名 NB44GP1-@  
+BO kHXk1  
struts.configuration.files -awG1 4%  
      A list of configuration files automatically loaded by Struts pyX:$j2R+%  
      struts自动加载的一个配置文件列表 X. Ur`X  
LN.*gG l  
struts.configuration.xml.reload \N-3JOVy  
      Whether to reload the XML configuration or not x|AND]^Q  
      是否加载xml配置(true,false) .nNZ dta&=  
$y.0h(  
struts.continuations.package #Muh|P]%\  
      The package containing actions that use Rife continuations 3(t3r::&  
      含有actions的完整连续的package名称 J"S(GL  
wKpb%3  
struts.custom.i18n.resources "1XTgCu\  
      Location of additional localization properties files to load )/[L)-~y~  
      加载附加的国际化属性文件(不包含.properties后缀) XM"Qs.E  
G=gU|& (  
struts.custom.properties |c2sJyj*  
      Location of additional configuration properties files to load x)Zm5&"Gg  
      加载附加的配置文件的位置 p{v*/<.;  
Zl'/Mx g  
h-O;5.m-P  
struts.devMode @vib54G  
      Whether Struts is in development mode or not ?7lW@U0  
      是否为struts开发模式 oa=TlBk<  
*_J{_7pwe  
struts.dispatcher.parametersWorkaround _<F;&(o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !%t2Z QJq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aO(iKlZ$  
t,r:= '  
struts.enable.DynamicMethodInvocation z Fj|E  
      Allows one to disable dynamic method invocation from the URL 8D@Jd  
        允许动态方法调用 Sp?e!`|8  
/:{4,aX2  
struts.freemarker.manager.classname RL\?i~'KH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <}'=@a  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 K1R?Qt,qDF  
9c*B%A8J  
struts.i18n.encoding ")txFe  
      The encoding to use for localization messages 9LBZMQ  
      国际化信息内码 Dm}M8`|X  
zkqn>  
struts.i18n.reload 4W49*Je  
      Whether the localization messages should automatically be reloaded z%T|L[(6  
      是否国际化信息自动加载 L A A(2  
XpkOCo02  
struts.locale C4gES"T  
      The default locale for the Struts application 34"PtWbV>  
      默认的国际化地区信息 \X! NoF  
7TI6EKr  
struts.mapper.class Z1v~tqx  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b$Dh|-8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 W#^.)V  
KZcmNli&A  
struts.multipart.maxSize  h 7l>(3  
      The maximize size of a multipart request (file upload) { J/Fp#  
      multipart请求信息的最大尺寸(文件上传用) a]%s ks  
u8%X~K\  
struts.multipart.parser h~CLJoK<  
      The org.apache.struts2.dispatcher.multipart. .,#H]?Wil  
      MultiPartRequest parser implementation for a multipart request (file upload) j`$$BVZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7Nk|9t  
Y6)o7t  
bi",DKU{l  
struts.multipart.saveDir |Ox='.oIb  
      The directory to use for storing uploaded files xYW &Mfka  
      设置存储上传文件的目录夹 @^.W|Zh[&  
VlL%dN; 0  
struts.objectFactory  QX<x2U  
      The com.opensymphony.xwork2.ObjectFactory implementation class [.Kp/,JY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1kvs2  
#,6T.O  
struts.objectFactory.spring.autoWire u-:3C<&>  
      Whether Spring should autoWire or not ; Ad5Jk  
      是否自动绑定Spring 5F ^VvzNn  
q TN)2G  
struts.objectFactory.spring.useClassCache N#-pl:J(  
      Whether Spring should use its class cache or not Yc_(g0NK  
      是否spring应该使用自身的cache H=f| X<8  
]b sabS?  
struts.objectTypeDeterminer mK"s*tD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b8YdONdy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Kdp($L9r  
G-RDQ  
struts.serve.static.browserCache :lvBcFw  
If static content served by the Struts filter should set browser caching header properties or not idX''%"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 GPL%8 YY  
RB %y($  
struts.serve.static LGZa l&9AY  
      Whether the Struts filter should serve static content or not NV9JMB{q  
      是否struts过滤器应该提供静态内容 K5XW&|tY!  
Av5:/c.B  
struts.tag.altSyntax MpZ\ j  
      Whether to use the alterative syntax for the tags or not Vr( Z;YO  
      是否可以用替代的语法替代tags ]PoWL;E'  
B {:a,V7  
struts.ui.templateDir 0{8L^ jB/  
      The directory containing UI templates %-.;sO=g  
      UI templates的目录夹 rvd%z7Z1o  
!3mt<i]a"  
struts.ui.theme #C?M-  
      The default UI template theme 4G&dBH  
      默认的UI template主题 iT,7jd?6#  
2E!~RjxSY  
struts.url.http.port btq 4diW  
      The HTTP port used by Struts URLs |Rhqi  
      设置http端口 Q% d1n*;+  
Bi :!"Nw[X  
struts.url.https.port |}UkVLc_^  
      The HTTPS port used by Struts URLs \( #"g  
      设置https端口 >-<iY4|[d  
ykPiZK  
struts.url.includeParams uh2_Rzln  
      The default includeParams method to generate Struts URLs 73Jm  
      在url中产生 默认的includeParams  fCJjFL:  
[?KGLUmTAI  
5~:/%+F0=  
struts.velocity.configfile B,w ZI4oi*  
      The Velocity configuration file path Ox-eB  
      velocity配置文件路径 0*rD'?)K+  
b"N!#&O]  
struts.velocity.contexts M~|7gK.m1  
      List of Velocity context names /9I/^i~  
      velocity的context列表 PS[ C!s&KE  
}58MDpOF1  
\ I523$a  
struts.velocity.manager.classname !%('8-x%  
      org.apache.struts2.views.velocity.VelocityManager implementation class hp9U   
      org.apache.struts2.views.velocity.VelocityManager接口名 23>[-XZb[O  
lNa+NtQu  
struts.velocity.toolboxlocation 1nskf*Z  
      The location of the Velocity toolbox %>i:C-l8  
      velocity工具盒的位置 Jut&J]{h  
struts.xslt.nocache u YT$$'S  
      Whether or not XSLT templates should not be cached  G7a l@  
      是否XSLT模版应该被缓存 JDE_*xaUV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五