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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?F!='6D}b  
n>5/y c"/q  
struts.action.extension >&`S$1 o  
      The URL extension to use to determine if the request is meant for a Struts action m:sT)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 p2\mPFxEP  
uPvE;E_  
struts.configuration -$Ad#Eu]M  
      The org.apache.struts2.config.Configuration implementation class }ag -J."5M  
        org.apache.struts2.config.Configuration接口名 SFaG`T=  
i_KAD U&mP  
struts.configuration.files 4uSC>  
      A list of configuration files automatically loaded by Struts 2rG;j52))a  
      struts自动加载的一个配置文件列表 InCJ4D  
2b`3"S  
struts.configuration.xml.reload +)cjW"9  
      Whether to reload the XML configuration or not Gfbeh %  
      是否加载xml配置(true,false) :v(fgS2\  
r^2>60q'  
struts.continuations.package 8rXQK|A  
      The package containing actions that use Rife continuations @h91: hb  
      含有actions的完整连续的package名称 4XCy>;4u  
F^xhhz&e  
struts.custom.i18n.resources ;<?mMi@<E  
      Location of additional localization properties files to load )j^~=Sio.  
      加载附加的国际化属性文件(不包含.properties后缀) ~$@~X*K~  
<)J83D0$E  
struts.custom.properties iFi6,V*PRt  
      Location of additional configuration properties files to load 2X@| H  
      加载附加的配置文件的位置 Q^_*&},V  
QUSyVp{$  
lCznH?[  
struts.devMode ujt0?DM  
      Whether Struts is in development mode or not }CoR$K   
      是否为struts开发模式 .dM|J'`g  
._$tNGI4  
struts.dispatcher.parametersWorkaround W ^MF3  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ='p&T|&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UmC_C[/n?  
,{tK{XpS  
struts.enable.DynamicMethodInvocation `RriVYc<  
      Allows one to disable dynamic method invocation from the URL zt23on2  
        允许动态方法调用 <691pk X  
7[)IP:I>  
struts.freemarker.manager.classname R54wNm @  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  Q9!T@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 , (Bo .(]  
c-dOb.v0  
struts.i18n.encoding i- v PJg1  
      The encoding to use for localization messages %( tu<  
      国际化信息内码 2L!wbeTb;  
SMMsXH  
struts.i18n.reload UUuB Rtau  
      Whether the localization messages should automatically be reloaded w}`TJijl  
      是否国际化信息自动加载 !MNnau%O  
rda/  
struts.locale R[l9f8  
      The default locale for the Struts application .>.B  
      默认的国际化地区信息 NukcBH  
.0[ zZ  
struts.mapper.class x  bsk  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8^8fUN4<=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 RF,[1O-\O  
!pwY@} oL  
struts.multipart.maxSize bIR&e E  
      The maximize size of a multipart request (file upload) 04u^Q  
      multipart请求信息的最大尺寸(文件上传用) 1%R8q=_  
.*3.47O  
struts.multipart.parser }K8W%h<3S  
      The org.apache.struts2.dispatcher.multipart. xlW`4\ Pa  
      MultiPartRequest parser implementation for a multipart request (file upload) @5i m*ubzM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2^\67@9  
t04_~e  
6~t;&)6J  
struts.multipart.saveDir M$O*@])  
      The directory to use for storing uploaded files W'B=H1  
      设置存储上传文件的目录夹 AD** 4E  
[nx OGa2  
struts.objectFactory Xv~v=.HNhk  
      The com.opensymphony.xwork2.ObjectFactory implementation class L7}dvdtZ0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) f <,E  
'DDlX3W-  
struts.objectFactory.spring.autoWire sX :)g>b   
      Whether Spring should autoWire or not ?hXeZB+b4  
      是否自动绑定Spring VX;br1$X  
g$(<wWsU  
struts.objectFactory.spring.useClassCache  3 )bC,  
      Whether Spring should use its class cache or not [i&EUvo  
      是否spring应该使用自身的cache lHTW e'  
Pa8E.<>  
struts.objectTypeDeterminer ^ |xSU_wa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }r+(Z.BHM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7jZE(|G-  
mn>$K"_k  
struts.serve.static.browserCache ~g6`Cp`  
If static content served by the Struts filter should set browser caching header properties or not !b=jD;<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !P_8D*^9  
h.~:UR*   
struts.serve.static sghQ!ux  
      Whether the Struts filter should serve static content or not 3\!DsPgW  
      是否struts过滤器应该提供静态内容 C'_^DPzj  
V\!6K  
struts.tag.altSyntax 323zR*\m  
      Whether to use the alterative syntax for the tags or not cg]\R1Gm  
      是否可以用替代的语法替代tags d&@>P&AT  
-_p+4tV  
struts.ui.templateDir h^)R}jy+f  
      The directory containing UI templates YEbB3N  
      UI templates的目录夹 pKnM=N1f  
,"@Tm01os  
struts.ui.theme R?/!7  
      The default UI template theme vZ rE9C }  
      默认的UI template主题 X q"_^  
kzK4i!}  
struts.url.http.port &$,%6X"  
      The HTTP port used by Struts URLs 74h[YyVi  
      设置http端口 P_[A  
4dB6cg  
struts.url.https.port {#Lj,o  
      The HTTPS port used by Struts URLs LhfI"fc  
      设置https端口 na5:)j4<  
j.b7<Vr4;  
struts.url.includeParams s%{8$> 8V.  
      The default includeParams method to generate Struts URLs "RkbT O  
      在url中产生 默认的includeParams HkP')= sa  
ib3 u:  
CSA.6uIT  
struts.velocity.configfile :nt 7jm,  
      The Velocity configuration file path w[WyT`6h!  
      velocity配置文件路径 6<uJ}3  
8@}R_GZc  
struts.velocity.contexts +# 38  
      List of Velocity context names 9L"Z ~CUL  
      velocity的context列表 hZ#ydI|  
TSl:a &  
L,m'/}$  
struts.velocity.manager.classname :3uCW1  
      org.apache.struts2.views.velocity.VelocityManager implementation class {N \ri{|  
      org.apache.struts2.views.velocity.VelocityManager接口名 9(\eL9^  
yX {CV7%O  
struts.velocity.toolboxlocation WeqE 9@V  
      The location of the Velocity toolbox 'T '&OA  
      velocity工具盒的位置 iEA$`LhO\A  
struts.xslt.nocache )YKnFSm  
      Whether or not XSLT templates should not be cached  Xf4   
      是否XSLT模版应该被缓存 #dvH0LX?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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