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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 CMI'y(GN  
xE%1C6~C<  
struts.action.extension v_-S#(  
      The URL extension to use to determine if the request is meant for a Struts action wBlfQ w-N  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {*WJ"9ujp]  
'6U~|d  
struts.configuration M, qX  
      The org.apache.struts2.config.Configuration implementation class `;Qw/xl_N  
        org.apache.struts2.config.Configuration接口名 t<S]YA~N'  
W'2T7ha Es  
struts.configuration.files za{z2# aJ  
      A list of configuration files automatically loaded by Struts Us4J[MW<  
      struts自动加载的一个配置文件列表 34S|[PX d  
7-a[W   
struts.configuration.xml.reload ($a ?zJr  
      Whether to reload the XML configuration or not c"qaULY  
      是否加载xml配置(true,false) E+wd9/;  
f4.k%|]  
struts.continuations.package lR] z8 &  
      The package containing actions that use Rife continuations g$C-G5/bjD  
      含有actions的完整连续的package名称 D5]4(]k&  
F\&Sn1>k  
struts.custom.i18n.resources .Cv0Ze  
      Location of additional localization properties files to load S;a'@5  
      加载附加的国际化属性文件(不包含.properties后缀) K"~Tk`[0Q  
h%'4V<V  
struts.custom.properties ShXk\"  
      Location of additional configuration properties files to load yh9fHN)F  
      加载附加的配置文件的位置 {ctEjgiE  
/7WN,a  
W_k;jy_{9  
struts.devMode 4.]xK2sW  
      Whether Struts is in development mode or not BQYj"Wi  
      是否为struts开发模式 yKE[,"  
,>"rcd  
struts.dispatcher.parametersWorkaround CNwYQe-i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'u@_4wWp  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5Z2E))UU  
Jh1Q)05  
struts.enable.DynamicMethodInvocation Ki#({~  
      Allows one to disable dynamic method invocation from the URL Hg8n`a;R  
        允许动态方法调用 F O"8B  
3V")~ m  
struts.freemarker.manager.classname dre@V(\;hQ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Nxk3uF^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4o,%}bo&  
v(ABZNIn  
struts.i18n.encoding -TnvX(ok4  
      The encoding to use for localization messages ;8WgbR)ZLU  
      国际化信息内码 !N5+.E0j  
ENu`@S='I3  
struts.i18n.reload Cj).  
      Whether the localization messages should automatically be reloaded Fv!zS.)`  
      是否国际化信息自动加载 5#jna9Xc  
dc#Db~v}k  
struts.locale +uR|0Jo8X  
      The default locale for the Struts application p^^Ai  
      默认的国际化地区信息 B<.XowT'  
/4 zO  
struts.mapper.class j.C)KwelBS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @V$,H/v:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C+ {du^c$  
*We.?"X'].  
struts.multipart.maxSize ?O1:-vpZ  
      The maximize size of a multipart request (file upload) f"XFf@!  
      multipart请求信息的最大尺寸(文件上传用) k< b`v&G  
u15-|i{y7  
struts.multipart.parser oicett=5  
      The org.apache.struts2.dispatcher.multipart. Eyw)f>  
      MultiPartRequest parser implementation for a multipart request (file upload) i!zh9,i>M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l!2hwRR  
HnvE\t9`  
q/w U7P\%  
struts.multipart.saveDir RusC5\BUX  
      The directory to use for storing uploaded files sA18f2  
      设置存储上传文件的目录夹 tT7< V{i4  
Zf~ [4Eeb  
struts.objectFactory z`gdE0@;d3  
      The com.opensymphony.xwork2.ObjectFactory implementation class QusEWq)}<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) StUiL>9T#  
k;V4%O  
struts.objectFactory.spring.autoWire @\gTi;u/x  
      Whether Spring should autoWire or not /EY ^ui  
      是否自动绑定Spring XOl]s?6H$  
; n2|pC^  
struts.objectFactory.spring.useClassCache z1\G,mJK  
      Whether Spring should use its class cache or not Mwdh]I,#  
      是否spring应该使用自身的cache .K![<e Z  
/'|'3J]HP  
struts.objectTypeDeterminer m35Blg34  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A`4Di8'Me  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KMz\h2X  
\=+ s3p5N  
struts.serve.static.browserCache \ iL&Aq}BO  
If static content served by the Struts filter should set browser caching header properties or not @Z$`c{V<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?DVO\ Cp  
lD09(|`  
struts.serve.static D .3Q0a6  
      Whether the Struts filter should serve static content or not C]aa^_Ldd-  
      是否struts过滤器应该提供静态内容 yHW=,V.  
I\R5Cb<p  
struts.tag.altSyntax zUn> )#ZC  
      Whether to use the alterative syntax for the tags or not eqbxf#H!  
      是否可以用替代的语法替代tags l ' ]d&  
Wpom{-  
struts.ui.templateDir 9kPwUAw  
      The directory containing UI templates oF/5mh__(K  
      UI templates的目录夹 9%\<x  
]d"4G7mu`l  
struts.ui.theme H[o'j@0  
      The default UI template theme &]~z-0`$!  
      默认的UI template主题 }G&#pw2  
,x5`5mT3  
struts.url.http.port sr\lz}JW  
      The HTTP port used by Struts URLs STgl{#  
      设置http端口 Kb0OauW  
6y)xMX  
struts.url.https.port %h U8ycI*h  
      The HTTPS port used by Struts URLs 7BCCQsz<  
      设置https端口 /'1UfjW>  
TX{DZ#  
struts.url.includeParams }~lF Rf  
      The default includeParams method to generate Struts URLs OVO0Emv  
      在url中产生 默认的includeParams [KkLpZG  
jIMaP T  
{! RW*B  
struts.velocity.configfile s-r$%9o5  
      The Velocity configuration file path Ah)OyO6  
      velocity配置文件路径 *iF>}yhe  
W|=?-  
struts.velocity.contexts 7Z>u|L($m  
      List of Velocity context names GCrh4rxgg  
      velocity的context列表 |0(Z)s,  
b:7;zOtF  
i;^ e6A>  
struts.velocity.manager.classname 64}Oa+*s  
      org.apache.struts2.views.velocity.VelocityManager implementation class daBu<0\  
      org.apache.struts2.views.velocity.VelocityManager接口名 aKaqi}IT  
/ /qTMxn  
struts.velocity.toolboxlocation Vn1kC  
      The location of the Velocity toolbox _1*EMq6  
      velocity工具盒的位置 c=H(*#  
struts.xslt.nocache VL"ZC:n)-  
      Whether or not XSLT templates should not be cached sSOI5W3A  
      是否XSLT模版应该被缓存 9>psQ0IRvr  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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