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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (hY^E(D  
S[rfcL"  
struts.action.extension "VsS-b^P  
      The URL extension to use to determine if the request is meant for a Struts action HqOnZ>D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Oh}@c~7;  
T(qHi?Y  
struts.configuration (ke<^sv7!  
      The org.apache.struts2.config.Configuration implementation class b]8\% =d  
        org.apache.struts2.config.Configuration接口名 I= z+`o8  
.lc gM  
struts.configuration.files jd+HIR  
      A list of configuration files automatically loaded by Struts !wrAD"l*@  
      struts自动加载的一个配置文件列表 gr>FLf   
R,zp&L  
struts.configuration.xml.reload 4 >D5t)254  
      Whether to reload the XML configuration or not fG7-0 7  
      是否加载xml配置(true,false) PO2]x:  
r7)iNTQ1  
struts.continuations.package E?m W4?  
      The package containing actions that use Rife continuations .e:+Ek+  
      含有actions的完整连续的package名称 NXE1v~9V  
"yXqf%CGE  
struts.custom.i18n.resources Y}x_ud,  
      Location of additional localization properties files to load zWdz9;=_  
      加载附加的国际化属性文件(不包含.properties后缀) m]\d9%-AT&  
OL&VisJ{75  
struts.custom.properties NL ceBok  
      Location of additional configuration properties files to load 0g@*N4  
      加载附加的配置文件的位置 RQn3y-N]  
7nPm{=B G  
wi:d!,P`e  
struts.devMode Rk{2ZUeg  
      Whether Struts is in development mode or not #|e5i9l*B  
      是否为struts开发模式 1Imb"E  
0*u X2*  
struts.dispatcher.parametersWorkaround <DdzDbgax  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l)0yv2[h  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Xb*>7U/'T  
lU3Xd_v O  
struts.enable.DynamicMethodInvocation %x$mAOUv  
      Allows one to disable dynamic method invocation from the URL 0I.!  
        允许动态方法调用 'V Y\ut  
K;f=l5  
struts.freemarker.manager.classname A`b )7+mB  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }% ?WS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9**u\H)P6  
D_cd l^  
struts.i18n.encoding R2[ }  
      The encoding to use for localization messages CwfGp[|}e  
      国际化信息内码 ![_GA)7  
jM(!!A jpC  
struts.i18n.reload inx0W3d"T  
      Whether the localization messages should automatically be reloaded ~_SVQ7P  
      是否国际化信息自动加载 4b$m\hoN  
M$LzV}k  
struts.locale QjUojHz%Z  
      The default locale for the Struts application ;W#/;C _h  
      默认的国际化地区信息 '#8;bU  
7)3cq}]O  
struts.mapper.class c6pGy%T-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S4X['0rX!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7otqGE\2  
C)s*1@af  
struts.multipart.maxSize s!BZrVM%I`  
      The maximize size of a multipart request (file upload) t+SLU6j,  
      multipart请求信息的最大尺寸(文件上传用) j(=zc6m  
TsZX'Yn  
struts.multipart.parser E@;v|Xc  
      The org.apache.struts2.dispatcher.multipart. 1^=[k  
      MultiPartRequest parser implementation for a multipart request (file upload) 4=n%<U`Z/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 27jZ~Bp$  
0 :1ldU 4  
12%4>2}~>  
struts.multipart.saveDir `r8bBzr@%  
      The directory to use for storing uploaded files 8 K>Ejr  
      设置存储上传文件的目录夹 ,}42]%$ G  
9]/j u  
struts.objectFactory W.U|mNJ$  
      The com.opensymphony.xwork2.ObjectFactory implementation class \~q cYp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o!t1EPJE*  
vui{["  
struts.objectFactory.spring.autoWire  wZUR  
      Whether Spring should autoWire or not 3H47 vm(`  
      是否自动绑定Spring [ w1"  
\ 8X8N CM  
struts.objectFactory.spring.useClassCache (vf5qF^  
      Whether Spring should use its class cache or not 1]XIF?_D m  
      是否spring应该使用自身的cache j2|!h%{nI  
lf9_!`DGV  
struts.objectTypeDeterminer ?rH=<#@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V.274e  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Pi|oO-M  
oWc +i U(  
struts.serve.static.browserCache Ti9cN)lq&  
If static content served by the Struts filter should set browser caching header properties or not TDQh^Wo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KbV%8nx!!  
zoBjrAyD  
struts.serve.static >'zp  
      Whether the Struts filter should serve static content or not %4E7 Tu,1  
      是否struts过滤器应该提供静态内容 Ycx$CU C  
(gv ~Vq  
struts.tag.altSyntax D+  **o  
      Whether to use the alterative syntax for the tags or not ~d?\rj3=  
      是否可以用替代的语法替代tags *8CE0;p'k  
5Gsj;   
struts.ui.templateDir 0Z{(,GU  
      The directory containing UI templates )p;gm`42oY  
      UI templates的目录夹 -0doL ^A  
.el_pg  
struts.ui.theme Rx=pk  
      The default UI template theme FR@ dBcJUU  
      默认的UI template主题 7u^6`P  
Gu_Rf&:  
struts.url.http.port 0IM#T=V  
      The HTTP port used by Struts URLs !kfnqe?|  
      设置http端口 [}_ar  
{\e wf_pFk  
struts.url.https.port g)iSC?H  
      The HTTPS port used by Struts URLs !f\6=Z?>3  
      设置https端口 DEC,oX!bI1  
yMa5?]J  
struts.url.includeParams 3?uP$(l  
      The default includeParams method to generate Struts URLs , 0rC_)&B  
      在url中产生 默认的includeParams :+,qvu!M7  
J=U7m@))Y#  
K`2a{`  
struts.velocity.configfile ?Xo9,4V1  
      The Velocity configuration file path X|wXTecg*|  
      velocity配置文件路径 #Y*AGxk  
F'#e]/V1  
struts.velocity.contexts ;mb 6i_  
      List of Velocity context names afc?a-~Z  
      velocity的context列表 7_/.a9$G  
&[KFCn  
/bylA`IMW  
struts.velocity.manager.classname `"CF/X^  
      org.apache.struts2.views.velocity.VelocityManager implementation class S[" &8Fy  
      org.apache.struts2.views.velocity.VelocityManager接口名 i9)y|  
<s#}`R.#2  
struts.velocity.toolboxlocation ;@ d<*  
      The location of the Velocity toolbox ZdH WSfO)O  
      velocity工具盒的位置 5y"yd6O]O5  
struts.xslt.nocache MJX m7<(  
      Whether or not XSLT templates should not be cached ix&hsNzD  
      是否XSLT模版应该被缓存 ?I 1@:?Qi  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五