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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 '<wZe.Q!  
CbMClnF  
struts.action.extension $cGV)[KWp@  
      The URL extension to use to determine if the request is meant for a Struts action O_D;_v6Ii+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _z3^.QP  
[5]* Be  
struts.configuration Ct0%3]<J  
      The org.apache.struts2.config.Configuration implementation class ]2z Gb5s"  
        org.apache.struts2.config.Configuration接口名 NV^n}]ci  
?o d*"M  
struts.configuration.files 602=qb  
      A list of configuration files automatically loaded by Struts 5?TjuGc  
      struts自动加载的一个配置文件列表 %Gjjl*`E  
v8THJf  
struts.configuration.xml.reload UmCIjwk  
      Whether to reload the XML configuration or not 6w0r)  
      是否加载xml配置(true,false) ~gEd (  
{z# W-  
struts.continuations.package PR>%@-Vgj  
      The package containing actions that use Rife continuations mTa^At"  
      含有actions的完整连续的package名称 P1ynCe  
w.Kp[  
struts.custom.i18n.resources ."j*4  
      Location of additional localization properties files to load ZQ~EaI9R  
      加载附加的国际化属性文件(不包含.properties后缀) =Y R+`[bfI  
EkP(] F  
struts.custom.properties )<L?3Jjt5  
      Location of additional configuration properties files to load "oCXG`.k&  
      加载附加的配置文件的位置 B)ibxM(n*  
M-5zsN  
HTP~5J  
struts.devMode h='@Q_1Sb  
      Whether Struts is in development mode or not .Tc?9X~4  
      是否为struts开发模式 Y;8.(0r/  
BeM|1pe.  
struts.dispatcher.parametersWorkaround i'0ol^~y6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H.TPKdVX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;4(FS  
V[">SiOg  
struts.enable.DynamicMethodInvocation 1L.yh U\  
      Allows one to disable dynamic method invocation from the URL -GL-&^3IjH  
        允许动态方法调用 f>+:UGmP  
n 4EZy<~m  
struts.freemarker.manager.classname zj'uKBDl  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;Z#DB$o\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 jF%l\$)/  
@xAfD{}f!  
struts.i18n.encoding g8;JpPw  
      The encoding to use for localization messages ZQDw|*a@  
      国际化信息内码 tP/R9Ezp  
y &%2  
struts.i18n.reload dRLvej,  
      Whether the localization messages should automatically be reloaded a~;`&Uj  
      是否国际化信息自动加载 xwrleB  
2aGK}sS6  
struts.locale u}KEH@yv  
      The default locale for the Struts application <k2]GI-}h  
      默认的国际化地区信息 nL* SNQ_  
,m.IhnCV\  
struts.mapper.class Edav }z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !CuLXuM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Og<UW^VR  
YS&Q4nv-  
struts.multipart.maxSize 3.I:`>;EO  
      The maximize size of a multipart request (file upload) s& WHKCb  
      multipart请求信息的最大尺寸(文件上传用) 9@z"~H  
$.r:  
struts.multipart.parser .cm$*>LW:x  
      The org.apache.struts2.dispatcher.multipart. 2aO.t  
      MultiPartRequest parser implementation for a multipart request (file upload) Hh.l,Z7i7D  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [y$sJF7;I  
TfqQh!Y  
NpYzN|W:  
struts.multipart.saveDir eMDraJv@  
      The directory to use for storing uploaded files vh^,8pPy  
      设置存储上传文件的目录夹 {KalVZX2R  
fwi( qx1=}  
struts.objectFactory EXYr_$gRs  
      The com.opensymphony.xwork2.ObjectFactory implementation class Zae$M0)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) HWT^u$a"  
k M' :.QT  
struts.objectFactory.spring.autoWire E:ocx2dp  
      Whether Spring should autoWire or not = eDi8A*~  
      是否自动绑定Spring ]Syr{|  
AIFI@#3  
struts.objectFactory.spring.useClassCache 6'qC *r   
      Whether Spring should use its class cache or not B@2VI 1%  
      是否spring应该使用自身的cache >~k"C,6  
YV>]c9!q  
struts.objectTypeDeterminer V3$Yr"rZ;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2N:|BO>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cp>1b8l6?  
/__@a&9t  
struts.serve.static.browserCache o Kfm=TbY  
If static content served by the Struts filter should set browser caching header properties or not [Dq!t1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Qtpw0t"  
J-g<-!>RM  
struts.serve.static myeez+@ m  
      Whether the Struts filter should serve static content or not Th)Z?\8zk  
      是否struts过滤器应该提供静态内容 /<$\)|r  
&*N;yW""f  
struts.tag.altSyntax * "Z5bKL  
      Whether to use the alterative syntax for the tags or not [<M~6]  
      是否可以用替代的语法替代tags Q)s[ls  
^p 4 33  
struts.ui.templateDir Q4,!N(>D  
      The directory containing UI templates 3ud_d>  
      UI templates的目录夹 3@/\j^U  
h+7THMI  
struts.ui.theme kKqb:  
      The default UI template theme Vyqj)1Z8>  
      默认的UI template主题 F"<TV&xf  
&{c.JDO  
struts.url.http.port hf~'EdU  
      The HTTP port used by Struts URLs GF-\WD  
      设置http端口 P[E5e+ A)  
89[5a  
struts.url.https.port ub/9T-#l  
      The HTTPS port used by Struts URLs = j,Hxq  
      设置https端口 Y[ciT)  
TxD,A0  
struts.url.includeParams x2bKFJ>e@  
      The default includeParams method to generate Struts URLs lU[" ZFP  
      在url中产生 默认的includeParams i/%+x-#  
-6OgM}  
S3iXG @  
struts.velocity.configfile ~S,R`wo  
      The Velocity configuration file path d/O~"d  
      velocity配置文件路径 ? 2#MU  
(93+b%^[  
struts.velocity.contexts z"n7du}v  
      List of Velocity context names V6C*d:  
      velocity的context列表 =x/Ap1  
O:Ixy?b;Z  
OJGEX}3'  
struts.velocity.manager.classname `"/s,"c:D  
      org.apache.struts2.views.velocity.VelocityManager implementation class Pu=,L#+FN  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?B"k9+%5ej  
""JTU6]MS  
struts.velocity.toolboxlocation R>iRnrn:-  
      The location of the Velocity toolbox >vPDF+u  
      velocity工具盒的位置 *?a rEYc8  
struts.xslt.nocache b!7*bFTt  
      Whether or not XSLT templates should not be cached 5mxYzu;#]  
      是否XSLT模版应该被缓存 u._B7R&>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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