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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E?[]N[0Kl  
%w3"B,k'9D  
struts.action.extension l|&DI]gw  
      The URL extension to use to determine if the request is meant for a Struts action 5]yby"Z?}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0Wc8\c  
u~q6?*5  
struts.configuration L4-v'Z;  
      The org.apache.struts2.config.Configuration implementation class JE.s?k  
        org.apache.struts2.config.Configuration接口名 JP*VR=0k?  
Dk`(Wgk2  
struts.configuration.files DDwm;,eZ  
      A list of configuration files automatically loaded by Struts IG=#2 /$  
      struts自动加载的一个配置文件列表 TdWatvY5p  
A 2Rp  
struts.configuration.xml.reload yRv4,{B}X>  
      Whether to reload the XML configuration or not 9S]]KEGn4  
      是否加载xml配置(true,false) p?XVO#  
(N :vDq'  
struts.continuations.package c}r"O8M  
      The package containing actions that use Rife continuations ;o-c.-!F  
      含有actions的完整连续的package名称 o-_H+p6a  
A$Ok^  
struts.custom.i18n.resources T.?}iz=ZEq  
      Location of additional localization properties files to load 9B<aYp)  
      加载附加的国际化属性文件(不包含.properties后缀) G=l-S\0@  
YecV+ K'p:  
struts.custom.properties Vx*O^cM  
      Location of additional configuration properties files to load ].r~?9'/  
      加载附加的配置文件的位置 {IA3`y~  
::R5F4  
^'ac |+  
struts.devMode 1E]TH/JK  
      Whether Struts is in development mode or not -b$m<\0*  
      是否为struts开发模式 {~cM 6W]f  
d !=AS  
struts.dispatcher.parametersWorkaround {q1u[T&r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ' >R?8Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x,:DL)$1  
5~GH*!h%;  
struts.enable.DynamicMethodInvocation ,zVS}!jRhy  
      Allows one to disable dynamic method invocation from the URL "cDMFu  
        允许动态方法调用 5e}adHjM  
q)PLc{NO  
struts.freemarker.manager.classname Bx 9v2x.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d.Ep#4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :^H2D=z@  
vMYL( ]e  
struts.i18n.encoding v1}9i3Or#  
      The encoding to use for localization messages PQJw"[N/YM  
      国际化信息内码 {U"=}j(  
u%sfHGrH  
struts.i18n.reload kr>4%Ndm7  
      Whether the localization messages should automatically be reloaded ;fe~PPT  
      是否国际化信息自动加载 JpE7"Z"~MS  
hAU@}"=G  
struts.locale Ym|%ka  
      The default locale for the Struts application y/>IF|aX  
      默认的国际化地区信息 uF<}zFS  
x@#aOf4<U  
struts.mapper.class zw[ #B #  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class as3*49^9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;:obg/;uJ  
Tnoy#w}Ve  
struts.multipart.maxSize 7&&3@96<*#  
      The maximize size of a multipart request (file upload) s((c@)M  
      multipart请求信息的最大尺寸(文件上传用) ^?5HagA  
*3\N j6  
struts.multipart.parser )m_q2xV  
      The org.apache.struts2.dispatcher.multipart. 7Fzj&!>ti  
      MultiPartRequest parser implementation for a multipart request (file upload) *BHp?cn;F2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~yiw{:\  
_lrvK99  
crQ_@@X?<  
struts.multipart.saveDir wA\a ]X.  
      The directory to use for storing uploaded files D6,Ol4d  
      设置存储上传文件的目录夹 %E2V$l0  
d.$0X/0  
struts.objectFactory Q8D#kAYw  
      The com.opensymphony.xwork2.ObjectFactory implementation class oy\U\#k   
      com.opensymphony.xwork2.ObjectFactory接口(spring) [*U.bRs  
7:e5l19 uI  
struts.objectFactory.spring.autoWire @%BsQm  
      Whether Spring should autoWire or not :!yPR  
      是否自动绑定Spring lk.Mc6)  
p|g7Z  
struts.objectFactory.spring.useClassCache ^h!}jvqE  
      Whether Spring should use its class cache or not 4Z.Dz@.c(  
      是否spring应该使用自身的cache aGNb  Cm  
*$Y_ %}  
struts.objectTypeDeterminer #'dNSez5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~S\8 '  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5a&BgBO1M  
zl<D"eP  
struts.serve.static.browserCache <:4b4Nl  
If static content served by the Struts filter should set browser caching header properties or not SZvp %hS0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qSt\ 6~  
L~Y^O`c  
struts.serve.static XhUVDmeUMb  
      Whether the Struts filter should serve static content or not gg/2R?O]  
      是否struts过滤器应该提供静态内容 =q}Z2 OoYh  
4%#q.qI  
struts.tag.altSyntax c#-*]6x  
      Whether to use the alterative syntax for the tags or not &H[7UyC  
      是否可以用替代的语法替代tags XT?wCb41R  
Clb7=@f  
struts.ui.templateDir Nq1YFI>W  
      The directory containing UI templates ,P%i%YPj  
      UI templates的目录夹 hP}-yW6]  
5zOC zm  
struts.ui.theme wxJoWbn  
      The default UI template theme kB.CeG]tk  
      默认的UI template主题 2!R+5^Iy  
p8FXlTk  
struts.url.http.port VTwQD"oB  
      The HTTP port used by Struts URLs =IKgi-l*  
      设置http端口 =b, m3 1  
2 fg P  
struts.url.https.port UF$O@l  
      The HTTPS port used by Struts URLs "7eL&  
      设置https端口 7AlL,&+  
qh+&Zx~  
struts.url.includeParams EQ.K+d*K][  
      The default includeParams method to generate Struts URLs P *&Cght>0  
      在url中产生 默认的includeParams Y]7 6y>|e  
bFSs{\zE  
(3~^zwA  
struts.velocity.configfile ICiGZ'k  
      The Velocity configuration file path gJ~CD1`O  
      velocity配置文件路径 v#EFklOP  
R3>c\mA  
struts.velocity.contexts )2Bb,p<Wr  
      List of Velocity context names H%>^_:h  
      velocity的context列表 Sp2DpGs~  
*Nfot v  
=WHI/|&  
struts.velocity.manager.classname f[ KI T  
      org.apache.struts2.views.velocity.VelocityManager implementation class $+PyW( r  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?L0|$#Iw  
X`J86G)  
struts.velocity.toolboxlocation B*t1Y<>x  
      The location of the Velocity toolbox mZG n:f}=  
      velocity工具盒的位置 4;Vi@(G)  
struts.xslt.nocache DIfQ~O+u  
      Whether or not XSLT templates should not be cached GG"6O_  
      是否XSLT模版应该被缓存 `:C2Cj  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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