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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 C"No5r'K3  
3:" &Z6t#  
struts.action.extension GN%<"I.  
      The URL extension to use to determine if the request is meant for a Struts action 2?1}ZXr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 22I Yrk  
%MNk4UsV  
struts.configuration  ~^7  
      The org.apache.struts2.config.Configuration implementation class ((9YG  
        org.apache.struts2.config.Configuration接口名 [tN` :}?  
W"O-L  
struts.configuration.files }bgo )<i  
      A list of configuration files automatically loaded by Struts *.dKR  
      struts自动加载的一个配置文件列表 (,TH~("{  
| XLFV  
struts.configuration.xml.reload |UZOAGiBg  
      Whether to reload the XML configuration or not |KaR n;BM  
      是否加载xml配置(true,false) Xoi9d1fO  
[Pqn 3I[  
struts.continuations.package &?}1AQAYg  
      The package containing actions that use Rife continuations thQ J(w  
      含有actions的完整连续的package名称 +/Z0  
4(sttd_  
struts.custom.i18n.resources ;(`e^IVf  
      Location of additional localization properties files to load ReqE?CeV  
      加载附加的国际化属性文件(不包含.properties后缀) 8q*";>*  
<|Iyt[s  
struts.custom.properties V Q h/  
      Location of additional configuration properties files to load ,Z4^'1{D  
      加载附加的配置文件的位置 yI4DVu.  
!3?~#e{_  
6'vi68  
struts.devMode R}.3|0  
      Whether Struts is in development mode or not .r*#OUC  
      是否为struts开发模式 >gGil|I  
j #es2;  
struts.dispatcher.parametersWorkaround #rq?f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Bpas[2gYC  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +yIL[D  
P09,P  
struts.enable.DynamicMethodInvocation +<B|qcT!  
      Allows one to disable dynamic method invocation from the URL /[L)tj7B  
        允许动态方法调用 lG < yJ~{  
` Rsl] GB  
struts.freemarker.manager.classname 'M lXnHxt  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k?n]ZNlT  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8iOO1I?+  
VB's  
struts.i18n.encoding cyHhy_~R  
      The encoding to use for localization messages u:eW0Ows"  
      国际化信息内码 [^Q&suy  
.CvFE~  
struts.i18n.reload tUrNp~ve,  
      Whether the localization messages should automatically be reloaded 6,3}/hgWJ$  
      是否国际化信息自动加载 YkVRl [  
fYs?D+U;PF  
struts.locale p&m ^IWD  
      The default locale for the Struts application _Z0\`kba+  
      默认的国际化地区信息 K~$35c3M  
YVJ+' A=|  
struts.mapper.class DUQ9AT#3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *H?t;,\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `TkbF9N+  
h\2}875  
struts.multipart.maxSize p^Agh  
      The maximize size of a multipart request (file upload) fvO;lA>`  
      multipart请求信息的最大尺寸(文件上传用) "C& Jwm?  
9G+y.^/6  
struts.multipart.parser z=[l.Af_  
      The org.apache.struts2.dispatcher.multipart. Slo9#26  
      MultiPartRequest parser implementation for a multipart request (file upload) )L|C'dJ<k`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4^`PiRGt  
+{'lZa  
v/ eB,p  
struts.multipart.saveDir Jtext%"eNg  
      The directory to use for storing uploaded files {DSyV:   
      设置存储上传文件的目录夹 6G$/NW=L  
t+jIHo  
struts.objectFactory hO%Y{Gg  
      The com.opensymphony.xwork2.ObjectFactory implementation class we }#Ru*  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  Hl!1h%  
G}s;JJax  
struts.objectFactory.spring.autoWire Q^vGj</u  
      Whether Spring should autoWire or not SC]6F*  
      是否自动绑定Spring 7 s7}?l9  
|E? ,xWN  
struts.objectFactory.spring.useClassCache |c=d;+  
      Whether Spring should use its class cache or not +&(J n  
      是否spring应该使用自身的cache g&q^.7c}  
$m{{,&}k  
struts.objectTypeDeterminer OX`?<@6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class FzA{U O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bd.j,4^  
Q})t<l+L  
struts.serve.static.browserCache 3g^IXm:K$  
If static content served by the Struts filter should set browser caching header properties or not }WA<=9e  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M\9IlV?'  
w<btv]X1  
struts.serve.static MkkA{p  
      Whether the Struts filter should serve static content or not F{kG  
      是否struts过滤器应该提供静态内容 rA[nUJ,  
JThk Wx  
struts.tag.altSyntax !B0v<+;P8  
      Whether to use the alterative syntax for the tags or not Y=hP Erw  
      是否可以用替代的语法替代tags CgN]dx* `  
3e#x)H/dr  
struts.ui.templateDir >\Z lZ  
      The directory containing UI templates mf+K{y,L  
      UI templates的目录夹 z9I1RX V  
:fl*w""V@  
struts.ui.theme bb*c+XN0  
      The default UI template theme hT\p)w  
      默认的UI template主题 zwKg  
t>XZ 3  
struts.url.http.port  fF\*v  
      The HTTP port used by Struts URLs )J{.Cx<E  
      设置http端口 GU2]/\W*a  
owP6dtd)  
struts.url.https.port ^ b=5 6~[  
      The HTTPS port used by Struts URLs EPQ&?[6  
      设置https端口 M4R%Gr,La  
M0Lon/%  
struts.url.includeParams b(g_.1[  
      The default includeParams method to generate Struts URLs 6'S5sRA  
      在url中产生 默认的includeParams YCtIeq%  
`MN&(!&C*  
.%|OGl ?  
struts.velocity.configfile { +i;e]c  
      The Velocity configuration file path ^H f+du  
      velocity配置文件路径 @ARAX\F  
H Jnv'^yn  
struts.velocity.contexts ' 2;Ny23  
      List of Velocity context names $0S.@wUG  
      velocity的context列表 e{c._zr,  
,)0/Ec  
cpP.7ZR  
struts.velocity.manager.classname 9|us<k  
      org.apache.struts2.views.velocity.VelocityManager implementation class E!:.G+SEl  
      org.apache.struts2.views.velocity.VelocityManager接口名 #-l!`\@  
`HE>%=]b  
struts.velocity.toolboxlocation jB}_Slh1j  
      The location of the Velocity toolbox :_W 0Af09  
      velocity工具盒的位置 Tb>IHoil  
struts.xslt.nocache 8:;u v7p  
      Whether or not XSLT templates should not be cached k#{lt-a/  
      是否XSLT模版应该被缓存 9\\@I =;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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