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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 H;RwO@v  
SdD6 ~LS  
struts.action.extension #%DE;  
      The URL extension to use to determine if the request is meant for a Struts action -Uml_/rd_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *}P~P$q%  
m*JaXa  
struts.configuration ;*MLRXq  
      The org.apache.struts2.config.Configuration implementation class UX7t`l2R  
        org.apache.struts2.config.Configuration接口名 XI^QF;,  
%c4Hse#Y  
struts.configuration.files X&kp;W  
      A list of configuration files automatically loaded by Struts Y]&j,j&  
      struts自动加载的一个配置文件列表 1I:+MBGin  
Bz,?{o6s)Q  
struts.configuration.xml.reload ](hE^\SC  
      Whether to reload the XML configuration or not KCs[/]  
      是否加载xml配置(true,false) R17?eucZ  
#\=FO>  
struts.continuations.package % >=!p  
      The package containing actions that use Rife continuations B {>7-0  
      含有actions的完整连续的package名称 s0vDHkf8  
\-g)T}g,I  
struts.custom.i18n.resources .mR8q+I6  
      Location of additional localization properties files to load <7~'; K  
      加载附加的国际化属性文件(不包含.properties后缀) q<M2,YrbAI  
WPQ fhr#|  
struts.custom.properties a |X a3E  
      Location of additional configuration properties files to load ui?  
      加载附加的配置文件的位置 4t=G   
PUUwv_  
wRVUu)  
struts.devMode uA< n  
      Whether Struts is in development mode or not ez| )ph7  
      是否为struts开发模式 4%4 }5UYN  
~sh`r{0  
struts.dispatcher.parametersWorkaround `EaLGzw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }~L.qG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {tWf  
^~etm  
struts.enable.DynamicMethodInvocation ')cMiX\v  
      Allows one to disable dynamic method invocation from the URL P5UL4uyl  
        允许动态方法调用 :.Wr{"`  
{z{bY\  
struts.freemarker.manager.classname yK=cZw%D  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A*\.NTM  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5?x>9C a  
:;9F>?VN>0  
struts.i18n.encoding r8RoE`/T  
      The encoding to use for localization messages -Fe?R*-g  
      国际化信息内码 #pnI\  
)P sY($ &  
struts.i18n.reload Bx< <~[Ws}  
      Whether the localization messages should automatically be reloaded lN Yt`xp  
      是否国际化信息自动加载 @u6B;)'l  
M<v%CawS  
struts.locale  tVN  
      The default locale for the Struts application YpVD2.jy  
      默认的国际化地区信息 T{-CkHf9Q  
te-jfmu2  
struts.mapper.class J| w>a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \| 8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Wi)_H$KII  
.[ICx  
struts.multipart.maxSize 1G^`-ri6  
      The maximize size of a multipart request (file upload) ZbdZ rE$  
      multipart请求信息的最大尺寸(文件上传用) X4~y7  
b0Ps5G\ u  
struts.multipart.parser 3EPv"f^V  
      The org.apache.struts2.dispatcher.multipart. ]>5/PD,wWy  
      MultiPartRequest parser implementation for a multipart request (file upload) sYI-5D]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H&-zZc4\  
&i6),{QN  
u7>],<  
struts.multipart.saveDir ?67Y-\}  
      The directory to use for storing uploaded files yb\_zE\  
      设置存储上传文件的目录夹 n-tgX?1'  
Yi.N&&o  
struts.objectFactory #Lh;CSS  
      The com.opensymphony.xwork2.ObjectFactory implementation class *nkoPVpC  
      com.opensymphony.xwork2.ObjectFactory接口(spring) R {SF(g3  
iv J@=pd)B  
struts.objectFactory.spring.autoWire nksLWfpG?B  
      Whether Spring should autoWire or not 'a@/vx&J  
      是否自动绑定Spring KW pVw!  
k_rt&}e+Gi  
struts.objectFactory.spring.useClassCache Swig;`  
      Whether Spring should use its class cache or not s"r*YlSp"  
      是否spring应该使用自身的cache G3Hx! YW  
Ng2twfSl$  
struts.objectTypeDeterminer \@c,3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 52Z2]T c ,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Yg||{  
&]|?o_p3W  
struts.serve.static.browserCache  iu=7O  
If static content served by the Struts filter should set browser caching header properties or not :(P9mt  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8e1UmM[  
0ypNUG}   
struts.serve.static ymhtX6]  
      Whether the Struts filter should serve static content or not qN9(S:_Px  
      是否struts过滤器应该提供静态内容 Kqb#_hm  
}C"%p8=HM  
struts.tag.altSyntax NJWA3zz   
      Whether to use the alterative syntax for the tags or not I-]?"Q7Jz  
      是否可以用替代的语法替代tags .ypL=~Rp  
^BikV  
struts.ui.templateDir Y!w`YYKP  
      The directory containing UI templates z!ZtzD]cb  
      UI templates的目录夹 h+g_rvIG*  
/NI;P]s.  
struts.ui.theme y.mda:$~=  
      The default UI template theme Z&+ g;(g  
      默认的UI template主题 ctZ uA+  
FrGgga$  
struts.url.http.port m$>H u@Va  
      The HTTP port used by Struts URLs k8&;lgO '  
      设置http端口 nv|NQ Tk  
7rc0yB  
struts.url.https.port X9W@&zQ  
      The HTTPS port used by Struts URLs ]8_NZHld  
      设置https端口 5H<m$K4z  
KOk4^#h@  
struts.url.includeParams y}" O U  
      The default includeParams method to generate Struts URLs l*Gvf_UH  
      在url中产生 默认的includeParams @<hb6bo,N  
-A^_{4X  
%S960  
struts.velocity.configfile t&C1Oo}=3  
      The Velocity configuration file path [Kg+^N% +  
      velocity配置文件路径 %} SrL*  
qd ~BnR$=  
struts.velocity.contexts WUn]F~Lt  
      List of Velocity context names 24 'J  
      velocity的context列表 ~ D j8 z+^  
oGnSPI5KGC  
w e//|fA<  
struts.velocity.manager.classname cJ= 6r :  
      org.apache.struts2.views.velocity.VelocityManager implementation class q_[o" wq/  
      org.apache.struts2.views.velocity.VelocityManager接口名 MS~(D.@ZS  
'x#~'v*  
struts.velocity.toolboxlocation ,aZ[R27rpL  
      The location of the Velocity toolbox >C>.\  
      velocity工具盒的位置 gV's=cQ  
struts.xslt.nocache s%7t"-=&  
      Whether or not XSLT templates should not be cached  ~d.Y&b  
      是否XSLT模版应该被缓存 DN>[\hg  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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