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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )}Vb+  
xr;:gz!h  
struts.action.extension ""Ub^:ucD  
      The URL extension to use to determine if the request is meant for a Struts action 8C[W;&Y=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &N+,{7.  
?k|}\l[X1  
struts.configuration D2,2Yy5 y  
      The org.apache.struts2.config.Configuration implementation class NcuZw?  
        org.apache.struts2.config.Configuration接口名 H'2J!/V  
,qj1"e  
struts.configuration.files n#US4&uT4A  
      A list of configuration files automatically loaded by Struts f;PPB@ :`$  
      struts自动加载的一个配置文件列表 ~.:9~(2;  
T z`O+fx &  
struts.configuration.xml.reload j O-H 1@;  
      Whether to reload the XML configuration or not J~e%EjN5e  
      是否加载xml配置(true,false) T#o?@ ;  
w[K!m.p,u  
struts.continuations.package C;m,{MD  
      The package containing actions that use Rife continuations 9<" .1  
      含有actions的完整连续的package名称 /Ezx'h3Q  
2\b 2W_  
struts.custom.i18n.resources x;F^7c1  
      Location of additional localization properties files to load %8L>|QOX  
      加载附加的国际化属性文件(不包含.properties后缀) ?Nbc#0pb7  
>qqI6@h]c  
struts.custom.properties V[Z^Z  
      Location of additional configuration properties files to load !vrdu OB  
      加载附加的配置文件的位置 _EusY3q  
|}FK;@'I6  
D*nNu]|j  
struts.devMode .uoQ@3  
      Whether Struts is in development mode or not ,/bSa/x`  
      是否为struts开发模式 bG|aQ2HW  
odPdWV,&*  
struts.dispatcher.parametersWorkaround ]Qu.-F#g  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic WGK:XfOBQ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tM% f#O  
u@@0YUa  
struts.enable.DynamicMethodInvocation AZHZUd4  
      Allows one to disable dynamic method invocation from the URL G1!yPQa7d  
        允许动态方法调用 34Fc oud);  
].!^BYNht  
struts.freemarker.manager.classname eZck$]P(6H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |riP*b  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `R\nw)xq  
Miw*L;u@W  
struts.i18n.encoding +=N!37+G  
      The encoding to use for localization messages #^] v5s  
      国际化信息内码 46(=*iT&V  
4Y>J,c  
struts.i18n.reload p`PBPlUn  
      Whether the localization messages should automatically be reloaded 6Hh\ys  
      是否国际化信息自动加载 R.Uwf  
Q4[^JQsR2  
struts.locale Y30T>5  
      The default locale for the Struts application #+Pk_?  
      默认的国际化地区信息 @:ojt$  
nZtP!^#  
struts.mapper.class 5;alq]m7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )5j1;A:gr  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 drM@6$k  
K:cZ q3F  
struts.multipart.maxSize ^z^zsNx  
      The maximize size of a multipart request (file upload) f ecV[  
      multipart请求信息的最大尺寸(文件上传用) 7gx 7NDt  
qs|{  
struts.multipart.parser P@xb  
      The org.apache.struts2.dispatcher.multipart. \\D(St  
      MultiPartRequest parser implementation for a multipart request (file upload) c@&`!e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?R MOy$L  
HT% =o}y  
nF)XZB 0F  
struts.multipart.saveDir B(zcoWQ*B  
      The directory to use for storing uploaded files GdlzpBl  
      设置存储上传文件的目录夹 T`7HQf ;  
oRALhaI  
struts.objectFactory 70MSP;^  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?6#F9\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~CRd0T[^  
;UnJrP-if  
struts.objectFactory.spring.autoWire j} .,|7X  
      Whether Spring should autoWire or not }}Kj b  
      是否自动绑定Spring ElK7jWJ+  
~x #RIt  
struts.objectFactory.spring.useClassCache tW8&:L,m  
      Whether Spring should use its class cache or not lR8Lfa*/7  
      是否spring应该使用自身的cache jI;iTKjB(  
"dItv#<:}  
struts.objectTypeDeterminer ^{m&2l&87  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |GLh|hr  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 uex m|5|  
|u@/,x/t  
struts.serve.static.browserCache zQ=c6xvm8  
If static content served by the Struts filter should set browser caching header properties or not t!285J8tn  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kgZiyPcw  
YPU*T&~  
struts.serve.static ox&PFI0Gn  
      Whether the Struts filter should serve static content or not 4owM;y  
      是否struts过滤器应该提供静态内容 #86=[*Dr  
hh1 ?/  
struts.tag.altSyntax F3Y/Miw  
      Whether to use the alterative syntax for the tags or not >2)`/B9f4  
      是否可以用替代的语法替代tags yd>b2 M  
+! F+m V9  
struts.ui.templateDir p7{%0  
      The directory containing UI templates Pqtk1=U  
      UI templates的目录夹 xk/osbKn  
)zK6>-KWA  
struts.ui.theme CBrC   
      The default UI template theme N,?4,+Hc-  
      默认的UI template主题 Pf/_lBtL  
`({ Bi!%i  
struts.url.http.port ulAOQGZ  
      The HTTP port used by Struts URLs dJ|/.J$d  
      设置http端口 Ks>l=5~v|  
S5(VdMd"^  
struts.url.https.port iKVJ c=C  
      The HTTPS port used by Struts URLs {)5tov1  
      设置https端口 n]Z() "D  
|vUjoa'.7E  
struts.url.includeParams v&]k8Hc-  
      The default includeParams method to generate Struts URLs _ mJP=+i  
      在url中产生 默认的includeParams O`rKxP  
m5'nqy F  
.I#ss66h  
struts.velocity.configfile {Y7dE?!`7  
      The Velocity configuration file path ,jc')#]9B  
      velocity配置文件路径 - fx?@  
9!u&8#i  
struts.velocity.contexts =K:)%Qh  
      List of Velocity context names ~ _G W  
      velocity的context列表 |~d8j'rt  
/T\'&s3D+  
.VG5 / 6zp  
struts.velocity.manager.classname vS1#ien#  
      org.apache.struts2.views.velocity.VelocityManager implementation class [~v1  
      org.apache.struts2.views.velocity.VelocityManager接口名 9:v0gE+.  
K4w#}gzok  
struts.velocity.toolboxlocation N7l`-y  
      The location of the Velocity toolbox 6M^NZ0~J  
      velocity工具盒的位置 /9o gg  
struts.xslt.nocache D9 \!97  
      Whether or not XSLT templates should not be cached !$Whftg  
      是否XSLT模版应该被缓存 ~e;2gm  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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