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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 b_gN?F7_  
7r[ %| :  
struts.action.extension  `pd   
      The URL extension to use to determine if the request is meant for a Struts action GKujDx+h  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 giPo;z\c  
JBEgiQ/  
struts.configuration W%9K5(e  
      The org.apache.struts2.config.Configuration implementation class zo7XmUI3P  
        org.apache.struts2.config.Configuration接口名 t^_{5  
\i;&@Kp.N  
struts.configuration.files 6`baQ!xc.  
      A list of configuration files automatically loaded by Struts 6Vbv$ AU  
      struts自动加载的一个配置文件列表 >{qK ]xj  
0 ij~e<  
struts.configuration.xml.reload X$|TN+Ub  
      Whether to reload the XML configuration or not !eAdm  
      是否加载xml配置(true,false) !:O/|.+Vmf  
OV("mNh  
struts.continuations.package LLn{2,jfQ  
      The package containing actions that use Rife continuations nHA`B.:B  
      含有actions的完整连续的package名称 }8F$& AFt  
"i{_<;p O  
struts.custom.i18n.resources x1V2|~;p|  
      Location of additional localization properties files to load !Xx<~l IC  
      加载附加的国际化属性文件(不包含.properties后缀) hp]ng!I{\u  
+fP/|A8P  
struts.custom.properties 'W?v.W &  
      Location of additional configuration properties files to load JQ/t, v$G  
      加载附加的配置文件的位置 [[0bhmG)  
Q^MXiE O+  
"^ 6lvZP(  
struts.devMode *iRm`)zC(  
      Whether Struts is in development mode or not j #I:6yA3  
      是否为struts开发模式 <A -(&+  
;?L!1wklA  
struts.dispatcher.parametersWorkaround M o"JV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Jm (&G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {~p7*j^0  
"?eH=!  
struts.enable.DynamicMethodInvocation cR=94i=t  
      Allows one to disable dynamic method invocation from the URL =yTa,PY  
        允许动态方法调用 i+X2M-[Ls  
NrJ_6sjF0g  
struts.freemarker.manager.classname Y7kb1UG  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BU]WN7]D$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *bxJ)9B  
}6CXJ+-UR  
struts.i18n.encoding N;x<| %peL  
      The encoding to use for localization messages LE<u&9I\  
      国际化信息内码 ~6-"i0k  
si^4<$Nr%j  
struts.i18n.reload Z`oaaO  
      Whether the localization messages should automatically be reloaded Od!F: <  
      是否国际化信息自动加载 eN]>l  
)zW%\s*'  
struts.locale n-hvh-ZO  
      The default locale for the Struts application [<Os~bfOv  
      默认的国际化地区信息 ia^%Wg7  
5qd_>UHp  
struts.mapper.class *TM;trfz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ksu}+i,a  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 '6o`^u>  
hEv=T'*,K)  
struts.multipart.maxSize CP]S-o}yd  
      The maximize size of a multipart request (file upload) k'@7ZH  
      multipart请求信息的最大尺寸(文件上传用) z;y^t4 ^9  
YXX36  
struts.multipart.parser J+71FP`ZH  
      The org.apache.struts2.dispatcher.multipart. &SjHrOG?  
      MultiPartRequest parser implementation for a multipart request (file upload) .|-l+   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hg?j)jl|  
XVrm3aj(m  
so!w!O@@  
struts.multipart.saveDir 1tc]rC4h  
      The directory to use for storing uploaded files h6\3vfj^f  
      设置存储上传文件的目录夹 C(V[wvL  
~[| V3h4v  
struts.objectFactory L$29L:  
      The com.opensymphony.xwork2.ObjectFactory implementation class $(@o$%d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "?.'{,Q  
Q%& _On  
struts.objectFactory.spring.autoWire WxVn&c\  
      Whether Spring should autoWire or not ':4}O#  
      是否自动绑定Spring +}7Ea:K   
>bfYy=/  
struts.objectFactory.spring.useClassCache RIy5ww}3|  
      Whether Spring should use its class cache or not s&dO/}3uR]  
      是否spring应该使用自身的cache MX!u$ei  
"U% n0r2  
struts.objectTypeDeterminer axK6sIxx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class + mfe*'AU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Uvjdx(fY[a  
\~@[QGKN  
struts.serve.static.browserCache 'yPCZ`5H(  
If static content served by the Struts filter should set browser caching header properties or not c=A(o  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9Fy\t{ks  
""1#bs{n  
struts.serve.static aO.\Qe+j  
      Whether the Struts filter should serve static content or not aho'|%y)  
      是否struts过滤器应该提供静态内容 cOSxg=~>u  
eyeNrk*2o  
struts.tag.altSyntax [G{rHSK5tQ  
      Whether to use the alterative syntax for the tags or not CM%|pB/z  
      是否可以用替代的语法替代tags r}/yi  
;wij}y-6  
struts.ui.templateDir 2;r]gT~  
      The directory containing UI templates \{c,,th  
      UI templates的目录夹 _tWJXv~;  
I1Hw"G"&  
struts.ui.theme FI]P<)*r  
      The default UI template theme lLuID  
      默认的UI template主题 de> ?*%<  
=X-^YG3x  
struts.url.http.port P?9nTG  
      The HTTP port used by Struts URLs u0m5JD0/  
      设置http端口 $%7I:  
8tb6 gZz  
struts.url.https.port yicO!:bM  
      The HTTPS port used by Struts URLs )Y3EQxXa  
      设置https端口 ([:]T$0 #  
t"<s}~  
struts.url.includeParams XR*Q|4  
      The default includeParams method to generate Struts URLs QS3U)ZO$@  
      在url中产生 默认的includeParams ]43alf F#  
uYFMv=>j  
%1Bn_  
struts.velocity.configfile [Q4_WKI0T  
      The Velocity configuration file path j?EskT6  
      velocity配置文件路径 h ?uqLsRl  
06 QU  
struts.velocity.contexts 5Z/yhF.{  
      List of Velocity context names 5]jx5!N  
      velocity的context列表 )O,wRd>5  
CF]i}xpWV  
=%!e(N'p  
struts.velocity.manager.classname ePf+[pV3  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7#QLtU  
      org.apache.struts2.views.velocity.VelocityManager接口名 86 *;z-G  
b,nn&B5@{  
struts.velocity.toolboxlocation y Wpi|  
      The location of the Velocity toolbox Lj}>Xy(7<  
      velocity工具盒的位置 ;W]D ~X&  
struts.xslt.nocache &!ED# gs  
      Whether or not XSLT templates should not be cached ?2{bKIV_  
      是否XSLT模版应该被缓存 _|N}4a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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