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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 xF YHv@g  
3j[<nBsn.  
struts.action.extension J-azBi  
      The URL extension to use to determine if the request is meant for a Struts action mi5bk>o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /xr75|-8  
`#r/L@QI  
struts.configuration x>Dix1b:.  
      The org.apache.struts2.config.Configuration implementation class hYA1N&yz@  
        org.apache.struts2.config.Configuration接口名 c=a;<,Rzb  
(JE&1 @  
struts.configuration.files /}%C'  
      A list of configuration files automatically loaded by Struts o/vD]Fs  
      struts自动加载的一个配置文件列表 6Bd:R}yZP7  
Uxe]T  
struts.configuration.xml.reload }dqOE-"I"n  
      Whether to reload the XML configuration or not .vIRz-S  
      是否加载xml配置(true,false) &$#NV@  
vfVF^ WOd  
struts.continuations.package ' %rn-|)  
      The package containing actions that use Rife continuations e(OKE7  
      含有actions的完整连续的package名称 .lI.I  
nJ1<8 p  
struts.custom.i18n.resources xk,1 D  
      Location of additional localization properties files to load RUut7[r  
      加载附加的国际化属性文件(不包含.properties后缀) p_fsEY  
jxq89x  
struts.custom.properties x[BA <UNO  
      Location of additional configuration properties files to load YluvWHWi  
      加载附加的配置文件的位置 ]D^; Ca  
\[8uE,=|  
N ;n55N  
struts.devMode N[DKA1Ei  
      Whether Struts is in development mode or not %+;amRb  
      是否为struts开发模式 @kba^z  
Q'j00/K  
struts.dispatcher.parametersWorkaround 46 |LIc }  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yV6U<AP$3  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) })q8{Qj!  
/nt%VLms %  
struts.enable.DynamicMethodInvocation !HW?/-\,O  
      Allows one to disable dynamic method invocation from the URL O-~cj7 0\  
        允许动态方法调用 !NKPy+v  
w2`JFxQ^x  
struts.freemarker.manager.classname 62[_u]<Yub  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6pZ/C<Y|W  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6$csFW3R  
X&@>M}  
struts.i18n.encoding b=L|GV@$  
      The encoding to use for localization messages n^|7ycB'  
      国际化信息内码 uhwCC  
/CbM-jf  
struts.i18n.reload [?]p I  
      Whether the localization messages should automatically be reloaded bQu@.'O!k  
      是否国际化信息自动加载 bZ+H u~  
=}e{U&CX  
struts.locale N~(?g7  
      The default locale for the Struts application /de~+I5AB~  
      默认的国际化地区信息  %Rm`YH?  
PA,\o8]x  
struts.mapper.class 5fp&!HnG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =#%Vs>G  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =jU#0FAO  
)M56vyo  
struts.multipart.maxSize aLQ]2m  
      The maximize size of a multipart request (file upload) sE^= ]N  
      multipart请求信息的最大尺寸(文件上传用) 3YEw7GIO-  
=RlAOgJ  
struts.multipart.parser gA2]kZg  
      The org.apache.struts2.dispatcher.multipart. Dk g-y9  
      MultiPartRequest parser implementation for a multipart request (file upload) WxtB:7J  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K#y CZ2  
zWF[cf>'  
d#I; e  
struts.multipart.saveDir 8Urj;KkD  
      The directory to use for storing uploaded files S;nlC  
      设置存储上传文件的目录夹 ^Uik{x  
DM(c :+K-  
struts.objectFactory ^X:g C9  
      The com.opensymphony.xwork2.ObjectFactory implementation class sHSg _/|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5hlS2fn  
N_VWA.JHt  
struts.objectFactory.spring.autoWire -e*(+  
      Whether Spring should autoWire or not  LD}<|  
      是否自动绑定Spring ovvg"/>L  
7X.B  
struts.objectFactory.spring.useClassCache V?jot<|$  
      Whether Spring should use its class cache or not o& ?:pE  
      是否spring应该使用自身的cache l<s6Uu"  
D}nRH@<`  
struts.objectTypeDeterminer 9t&m\J >8;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z.U8d(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  ;W@  
!q^2| %  
struts.serve.static.browserCache A$::|2~  
If static content served by the Struts filter should set browser caching header properties or not h$$i@IO0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >WY\P4)k  
m=^ihQ  
struts.serve.static Q\2~^w1V  
      Whether the Struts filter should serve static content or not OkQtM nq  
      是否struts过滤器应该提供静态内容 oUN;u*  
1@^*tffL:  
struts.tag.altSyntax kAAD&t;w  
      Whether to use the alterative syntax for the tags or not kY~o3p<  
      是否可以用替代的语法替代tags 6CNxb  
IvB)d}p  
struts.ui.templateDir 5VE9DTE  
      The directory containing UI templates A_|X54}w&  
      UI templates的目录夹 Twk,R. O  
\U HI%1^  
struts.ui.theme 6" GHVFB  
      The default UI template theme tI+P&L"  
      默认的UI template主题 I@I-QiI  
-1]8f  
struts.url.http.port 5R*55@)  
      The HTTP port used by Struts URLs #pWeMt'  
      设置http端口 VP"C|j^I  
;:w0%>X^  
struts.url.https.port T<u QhPMw  
      The HTTPS port used by Struts URLs 1u_< 1X3  
      设置https端口 "pQ) 5/e  
F{ sPQf'  
struts.url.includeParams dpB\=  
      The default includeParams method to generate Struts URLs b3+F~G-I"  
      在url中产生 默认的includeParams A04E <nr  
PO]c&}/  
o/I`L  
struts.velocity.configfile *|3G"B{w6  
      The Velocity configuration file path w(!COu  
      velocity配置文件路径 tP|ox]  
Xm~N Bt  
struts.velocity.contexts |OO2>(Fj  
      List of Velocity context names -AM(-  
      velocity的context列表 !u=A9i!  
Y i`wj^  
aHSl_[  
struts.velocity.manager.classname *nV*WU S3  
      org.apache.struts2.views.velocity.VelocityManager implementation class $ I|K<slV  
      org.apache.struts2.views.velocity.VelocityManager接口名 <U2Un 0T  
T1YbF/M'  
struts.velocity.toolboxlocation KO=H!Em\l  
      The location of the Velocity toolbox Kbqx)E$iL  
      velocity工具盒的位置 D+CP?} /  
struts.xslt.nocache b%UbTb,  
      Whether or not XSLT templates should not be cached 2NZC,znQ  
      是否XSLT模版应该被缓存 #CNK [y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五