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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 QPcB_wUqu  
_Usg`ax-  
struts.action.extension *&0Hz{|  
      The URL extension to use to determine if the request is meant for a Struts action 9|WWA%p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ` ;=Se_  
#"{8Z&Z  
struts.configuration piFQ7B  
      The org.apache.struts2.config.Configuration implementation class e,*[5xQ  
        org.apache.struts2.config.Configuration接口名 ;2|H6IN"  
ibc/x v2  
struts.configuration.files Xh/av[Q  
      A list of configuration files automatically loaded by Struts ,6S 8s  
      struts自动加载的一个配置文件列表  :Y3?,  
MX0B$yc$  
struts.configuration.xml.reload T!a[@,)_  
      Whether to reload the XML configuration or not j1kc&(  
      是否加载xml配置(true,false) `x VA]GR4c  
Wd5t,8*8  
struts.continuations.package y#DQOY+@^#  
      The package containing actions that use Rife continuations dZgfls  
      含有actions的完整连续的package名称 NLGr=*dq  
^e,RM_.  
struts.custom.i18n.resources i?/?{p$#a-  
      Location of additional localization properties files to load `7_LJ \>I  
      加载附加的国际化属性文件(不包含.properties后缀) ~&:R\  
ECzNByP  
struts.custom.properties \(FDR  
      Location of additional configuration properties files to load _64@zdL+  
      加载附加的配置文件的位置 -JENY|6  
@ 1A_eF  
ix+x-G  
struts.devMode i|^6s87"N2  
      Whether Struts is in development mode or not EvmmQ  
      是否为struts开发模式 { bn#:75r  
!?*!"S-Sl  
struts.dispatcher.parametersWorkaround Y%l3SB,5L  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic []0~9,u  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :a@z53X@M  
$SVGpEw  
struts.enable.DynamicMethodInvocation 2oG|l!C  
      Allows one to disable dynamic method invocation from the URL " G6j UTt  
        允许动态方法调用 8w[EyVHA  
@EZONKT  
struts.freemarker.manager.classname l5ds`uR#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }z+"3A|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 W@dY:N}  
UJ$:5*S=u  
struts.i18n.encoding T6roz  
      The encoding to use for localization messages ,P@-DDJ  
      国际化信息内码 *$C[![   
yWtr,  
struts.i18n.reload u(Sz$eV  
      Whether the localization messages should automatically be reloaded kG$8E  
      是否国际化信息自动加载 =+S3S{\CK  
.b oizW1+  
struts.locale CHit  
      The default locale for the Struts application E57{*C  
      默认的国际化地区信息 1<`7MN  
p\;)^O4  
struts.mapper.class ~J{[]wi  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2] G$6H  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m@u`$rOh  
E_1I|$  
struts.multipart.maxSize AuipK*&g  
      The maximize size of a multipart request (file upload) i?dKmRp(@y  
      multipart请求信息的最大尺寸(文件上传用) S)@vl^3ec  
ld}$Tsy0  
struts.multipart.parser A i){,nh`0  
      The org.apache.struts2.dispatcher.multipart. >wO$Vu `t  
      MultiPartRequest parser implementation for a multipart request (file upload) ]G PJ(+5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _i@eOqoC  
B~z g"  
.<^Y E%  
struts.multipart.saveDir /'fDXSdP  
      The directory to use for storing uploaded files {WeXURp&nF  
      设置存储上传文件的目录夹 `lezJ (Xm  
7O{O')o!  
struts.objectFactory 89#0vG7m  
      The com.opensymphony.xwork2.ObjectFactory implementation class =e8L7_;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n o+tVm|  
M.N~fSJ   
struts.objectFactory.spring.autoWire S} Cp&}G{P  
      Whether Spring should autoWire or not R 0HVLQI  
      是否自动绑定Spring %`1CE\f  
2 RUR=%C  
struts.objectFactory.spring.useClassCache EvQwGt1)P  
      Whether Spring should use its class cache or not ##FNq#F  
      是否spring应该使用自身的cache yPh2P5}H>  
Ca@=s  
struts.objectTypeDeterminer hdJwNmEA>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'F"Y?y:!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 RrdtU7i3  
0/@ X!|X  
struts.serve.static.browserCache xTFrrmxOf  
If static content served by the Struts filter should set browser caching header properties or not tK}p05nPhl  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7Ljj#!`lUp  
=/JF-#n/MA  
struts.serve.static 6y,P4O*q  
      Whether the Struts filter should serve static content or not _pko]F|()  
      是否struts过滤器应该提供静态内容 {hRie+  
3u0<v%Qi  
struts.tag.altSyntax /dJ)TW(Ir  
      Whether to use the alterative syntax for the tags or not vd7N&c9  
      是否可以用替代的语法替代tags s7nX\:Bw:  
tWSvxGCzn%  
struts.ui.templateDir -jtC>_/  
      The directory containing UI templates u@_!mjXQ  
      UI templates的目录夹 t_>bTcsU  
o;4e)tK  
struts.ui.theme ~@uY?jr  
      The default UI template theme TF0-?vBWh  
      默认的UI template主题 hdr}!w V  
JV]u(PL  
struts.url.http.port gr`Ar;  
      The HTTP port used by Struts URLs [}ZPg3Y  
      设置http端口 G</I%qM  
v V6Lp  
struts.url.https.port SU%rWH  
      The HTTPS port used by Struts URLs K+@eH#Cv,(  
      设置https端口 ]8m_*I!  
YP#AB]2\}  
struts.url.includeParams O(D5A?tv!  
      The default includeParams method to generate Struts URLs A?IZ( Zx(`  
      在url中产生 默认的includeParams B(\r+"PB  
H8-D'q>R  
&xBK\  
struts.velocity.configfile BnaU)E h  
      The Velocity configuration file path ,> (bt%b  
      velocity配置文件路径 x #tu  
V(2j*2R!  
struts.velocity.contexts p37zz4  
      List of Velocity context names _h1 HuL  
      velocity的context列表 MO~~=]Y'  
..]*Ao2  
RJRq` T|m  
struts.velocity.manager.classname A!ioji+{[  
      org.apache.struts2.views.velocity.VelocityManager implementation class v=*Bb3dt  
      org.apache.struts2.views.velocity.VelocityManager接口名 5&<d2EG6l'  
3cCK"kr  
struts.velocity.toolboxlocation @UpC{M--Wr  
      The location of the Velocity toolbox hk@`N;dn  
      velocity工具盒的位置 B]|6`UfB  
struts.xslt.nocache vNz;#Je  
      Whether or not XSLT templates should not be cached ,zN3? /7  
      是否XSLT模版应该被缓存 pdi=6<?bd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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