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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5v|EAjB6o  
B;W(iI  
struts.action.extension FN\GE\H  
      The URL extension to use to determine if the request is meant for a Struts action kOI !~Qk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "dtlME{Bx  
%/pc=i|+  
struts.configuration &*gbK6JB  
      The org.apache.struts2.config.Configuration implementation class QBihpA 1;  
        org.apache.struts2.config.Configuration接口名 ^l(^z fsZ  
^P$7A]!  
struts.configuration.files HeozJ^u\?  
      A list of configuration files automatically loaded by Struts U=m=1FYaG  
      struts自动加载的一个配置文件列表 :1_mfX  
Uk'U?9O  
struts.configuration.xml.reload A[JM4x   
      Whether to reload the XML configuration or not _#pnjo   
      是否加载xml配置(true,false) #pA[k -  
|^Kjz{  
struts.continuations.package C}Qt "-%  
      The package containing actions that use Rife continuations (STx$cya  
      含有actions的完整连续的package名称 -nR\,+N  
28UVDG1?  
struts.custom.i18n.resources A*i_|]Q  
      Location of additional localization properties files to load sE9Ckc5  
      加载附加的国际化属性文件(不包含.properties后缀) *eGM7o*\X  
8x{Hg9  
struts.custom.properties BIfi:7I;Q  
      Location of additional configuration properties files to load CDCC1BG"  
      加载附加的配置文件的位置 G Y-M.|%  
RxG^  
;_tO+xL&  
struts.devMode ,8##OB(  
      Whether Struts is in development mode or not DsQ/aG9c%  
      是否为struts开发模式 _yVPpA[a  
4f {+pf^R  
struts.dispatcher.parametersWorkaround c0[k T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Zi{0-m6+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?\ Q0kr.T%  
k ,fTW^?  
struts.enable.DynamicMethodInvocation i!,HB|wQ  
      Allows one to disable dynamic method invocation from the URL Ekjf^Uo  
        允许动态方法调用 _B$"e[:yX  
% wL,v.}  
struts.freemarker.manager.classname . #U}q 7X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0p3vE,pF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 '{VM> Q  
ea~i-7  
struts.i18n.encoding d+5:Qrr  
      The encoding to use for localization messages Kz[BB@[  
      国际化信息内码 #{,h@g}W  
KY+]RxX  
struts.i18n.reload o0`q#>7!_b  
      Whether the localization messages should automatically be reloaded j04/[V)  
      是否国际化信息自动加载 x+:zq<0|  
Kv?;cu!  
struts.locale @a(oB.i  
      The default locale for the Struts application 784;]wdy\  
      默认的国际化地区信息 RGp'b  
2 ~-( A  
struts.mapper.class n(R_#,Hs  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sFElD ]|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m&Sp1=*Ejy  
@q)E=G1<o0  
struts.multipart.maxSize JIV8q HC  
      The maximize size of a multipart request (file upload) XKSX#cia  
      multipart请求信息的最大尺寸(文件上传用) q%S8\bt  
!<r8~A3!(  
struts.multipart.parser [H^ X"D  
      The org.apache.struts2.dispatcher.multipart. _}ele+  
      MultiPartRequest parser implementation for a multipart request (file upload) {D,RU8&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l%<c6;  
6LM9e0oxy  
Z,aGtJ.a'9  
struts.multipart.saveDir %U?)?iZdL  
      The directory to use for storing uploaded files oMc1:=EG  
      设置存储上传文件的目录夹 40.AM1Z0f  
hdg<bZk:  
struts.objectFactory v[L[A3`"/  
      The com.opensymphony.xwork2.ObjectFactory implementation class P) 1 EA;  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  ?Ib}  
b:Dg}  
struts.objectFactory.spring.autoWire / O)6iJ  
      Whether Spring should autoWire or not >{XScxaB`  
      是否自动绑定Spring !Uy>eji}  
>'Hx1;  
struts.objectFactory.spring.useClassCache |yv]Y/ =  
      Whether Spring should use its class cache or not c&e0OV\m  
      是否spring应该使用自身的cache ^Y 7U1I  
,8VXA +'_  
struts.objectTypeDeterminer yVYkuO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >76 |:Nq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <Uwwux<v  
U>A6eWhH  
struts.serve.static.browserCache ImHU:iR[J-  
If static content served by the Struts filter should set browser caching header properties or not r|-J8s#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^ItAW$T]F  
hr~.Lj5^W  
struts.serve.static @C_ =*  
      Whether the Struts filter should serve static content or not 4Py3I9  
      是否struts过滤器应该提供静态内容 D|TR!  
b1)\Zi  
struts.tag.altSyntax veO?k.u(  
      Whether to use the alterative syntax for the tags or not Z= ik{/  
      是否可以用替代的语法替代tags f4 O]`U  
6[+j'pW?  
struts.ui.templateDir PbN3;c3  
      The directory containing UI templates {AgBwBCE  
      UI templates的目录夹 ^A#x<J+  
!gJzg*{u@  
struts.ui.theme T#r=<YH[C  
      The default UI template theme {(0Id!  
      默认的UI template主题 +XQP jg  
tqhh<u;  
struts.url.http.port '!@A}&]  
      The HTTP port used by Struts URLs EL +,jrU~  
      设置http端口 |^!Vo&T  
/.@x 4cdS  
struts.url.https.port . s-5N\  
      The HTTPS port used by Struts URLs xB,/dMdTj  
      设置https端口 UN(3i(d  
8!4[#y<  
struts.url.includeParams ;sQ2 0 B'  
      The default includeParams method to generate Struts URLs f1\7vEE,  
      在url中产生 默认的includeParams _yJ|`g]U3  
Ql8^]gbp+  
%omu  
struts.velocity.configfile |D+p$^L  
      The Velocity configuration file path Ays L-sqR  
      velocity配置文件路径 R8ZD#,;  
U!NI_uk  
struts.velocity.contexts kQ[Jo%YT?E  
      List of Velocity context names |Eu*P  
      velocity的context列表 &Ea"hd  
WL/5 oj  
c_DaNEfaY  
struts.velocity.manager.classname i'iO H|s  
      org.apache.struts2.views.velocity.VelocityManager implementation class nF|Oy0  
      org.apache.struts2.views.velocity.VelocityManager接口名 4 +I 3+a"  
C[0MA ,^  
struts.velocity.toolboxlocation ogp{rY  
      The location of the Velocity toolbox xD^wTtT  
      velocity工具盒的位置 pJ6Jx(  
struts.xslt.nocache Rdj8 *f  
      Whether or not XSLT templates should not be cached )r#,ML  
      是否XSLT模版应该被缓存 hpas'H>J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五