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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 MY!q%  
,eDD:#)$}  
struts.action.extension wX ,h< \7  
      The URL extension to use to determine if the request is meant for a Struts action Y+g,pX  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .(|+oHg<  
BDy5J2<<7l  
struts.configuration tQrS3Hz'nA  
      The org.apache.struts2.config.Configuration implementation class D9.`hs0  
        org.apache.struts2.config.Configuration接口名 f')c/Yw  
)GVBE%!WEd  
struts.configuration.files u FZ~  
      A list of configuration files automatically loaded by Struts 4qt+uNe!  
      struts自动加载的一个配置文件列表 IZ*}idlkn/  
'w(y J  
struts.configuration.xml.reload ^ Hg/P8q  
      Whether to reload the XML configuration or not eIg+PuQD]  
      是否加载xml配置(true,false) 1 tPVP  
87i"   
struts.continuations.package f ba&`  
      The package containing actions that use Rife continuations 0x@A~!MoP  
      含有actions的完整连续的package名称 p* RC  
1Dq<{;rWb  
struts.custom.i18n.resources bhD ~ 4Rz  
      Location of additional localization properties files to load (YwalfG {C  
      加载附加的国际化属性文件(不包含.properties后缀) R2rsJ  
1"?]= j:  
struts.custom.properties :Hk_8J  
      Location of additional configuration properties files to load /v|Onq1Y4  
      加载附加的配置文件的位置 _1  p DA  
Lz@$3(2  
&~ *.CQa  
struts.devMode k#C f})  
      Whether Struts is in development mode or not wK ?@.l)u  
      是否为struts开发模式 Q".g.k  
=q+R   
struts.dispatcher.parametersWorkaround BX[~% iE  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic edijfhn  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R,F gl2  
Vr/Bu4V"  
struts.enable.DynamicMethodInvocation gO='A(Y  
      Allows one to disable dynamic method invocation from the URL WULAty  
        允许动态方法调用 f#$|t>  
R_1qn  
struts.freemarker.manager.classname @QdnjXII*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +@ MPQv  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mu[Op*)  
SO;N~D1Z6  
struts.i18n.encoding IkDiT63]I  
      The encoding to use for localization messages ;~+]! U  
      国际化信息内码 E9+HS  
pYo=oI  
struts.i18n.reload KVR~jF%  
      Whether the localization messages should automatically be reloaded XA<ozq'  
      是否国际化信息自动加载 XJgh>^R^  
7+nm31,<O  
struts.locale >{5 p0  
      The default locale for the Struts application \\:|Odd  
      默认的国际化地区信息 1u~ MXGF  
+;Cr];b3  
struts.mapper.class Icx7.Y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V}" g~=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;+U<bqL6  
I[0!S IqY  
struts.multipart.maxSize M:|8]y@  
      The maximize size of a multipart request (file upload) _?`&JF?*  
      multipart请求信息的最大尺寸(文件上传用) PD6_)PXn  
raE Mm  
struts.multipart.parser 19c@`?  
      The org.apache.struts2.dispatcher.multipart. "(`2eXRn  
      MultiPartRequest parser implementation for a multipart request (file upload) w^q7n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (ChD]PWQ  
*geN [ [  
>&U @f  
struts.multipart.saveDir q .J sf+  
      The directory to use for storing uploaded files ])w[   
      设置存储上传文件的目录夹 h2~4G)J  
9b"MQ[B4#a  
struts.objectFactory W .I\J<=V  
      The com.opensymphony.xwork2.ObjectFactory implementation class dNiH|-$an  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |3shc,7  
bgF^(T35  
struts.objectFactory.spring.autoWire BRS#Fl:  
      Whether Spring should autoWire or not 'yY>as  
      是否自动绑定Spring '<dgT&8C  
Ez+Z[*C  
struts.objectFactory.spring.useClassCache l_{8+\`!  
      Whether Spring should use its class cache or not "Sridh?  
      是否spring应该使用自身的cache bT )]'(Xy  
L',mKOej  
struts.objectTypeDeterminer 6N~q`;p0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Sk}{E@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 MS3=~*+  
"OmD@ EMT  
struts.serve.static.browserCache 9Uf j  
If static content served by the Struts filter should set browser caching header properties or not +f|BiW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 W),l  
<a( }kk}  
struts.serve.static ,q#0hy%5/  
      Whether the Struts filter should serve static content or not Vh|\_~9  
      是否struts过滤器应该提供静态内容 W!T"m)S  
-e*ZCwQ  
struts.tag.altSyntax 2% B'3>a  
      Whether to use the alterative syntax for the tags or not -WJ?:?'  
      是否可以用替代的语法替代tags F$V/K&&W  
!do?~$Og  
struts.ui.templateDir +B}0=Ex$t  
      The directory containing UI templates ][&9]omB  
      UI templates的目录夹 LWfqEL -  
Gl}Qxv#$  
struts.ui.theme r;&>iX4B  
      The default UI template theme U_B(( Z(g  
      默认的UI template主题 Yg9joNBh  
fCWGAO2  
struts.url.http.port )h{ ]k=  
      The HTTP port used by Struts URLs V  ~@^`Gd  
      设置http端口 ,%9df+5k  
z (?=Iv3  
struts.url.https.port m ci/'b Xt  
      The HTTPS port used by Struts URLs YW/QC'_iC  
      设置https端口 he(A3{'  
`=lc<T^  
struts.url.includeParams z4X}O {  
      The default includeParams method to generate Struts URLs $za8"T*I  
      在url中产生 默认的includeParams oU*45B`"  
m908jI_So  
r!PpUwod  
struts.velocity.configfile ^T::-pN*  
      The Velocity configuration file path =O).Lx2J  
      velocity配置文件路径 "A$!, PX6  
t. ='/`!N  
struts.velocity.contexts **3 z;58i  
      List of Velocity context names 'Ft0Ry<OL  
      velocity的context列表 vw,rF`LjZ  
p Z: F:  
%D g0fL  
struts.velocity.manager.classname @Fp_^5  
      org.apache.struts2.views.velocity.VelocityManager implementation class EJ@p-}I!  
      org.apache.struts2.views.velocity.VelocityManager接口名 4db(<h  
*z*uEcitW  
struts.velocity.toolboxlocation ~Wo)?q8UY,  
      The location of the Velocity toolbox VHJM*&5  
      velocity工具盒的位置 -h|B1*mt  
struts.xslt.nocache 5,-U.B}  
      Whether or not XSLT templates should not be cached },+wJ1  
      是否XSLT模版应该被缓存 l vMlL5t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五