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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 qm}\?_  
xXPUrv5zO  
struts.action.extension "cQvd(kug  
      The URL extension to use to determine if the request is meant for a Struts action v,*Q]r0m  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D+hB[*7Fs  
#{~7G%GPY5  
struts.configuration |Cq8%  
      The org.apache.struts2.config.Configuration implementation class DUo0w f#D^  
        org.apache.struts2.config.Configuration接口名 N*':U^/t4J  
j88=f#<  
struts.configuration.files 3B -NY Ja  
      A list of configuration files automatically loaded by Struts xfes_v""  
      struts自动加载的一个配置文件列表 ?"u'#f_  
)O -cw7 >  
struts.configuration.xml.reload O&=KlnI:  
      Whether to reload the XML configuration or not FdM<;}6T  
      是否加载xml配置(true,false) g~|y$T  
.xo_}Vw  
struts.continuations.package 59~FpjJ  
      The package containing actions that use Rife continuations ~}9Bn)@  
      含有actions的完整连续的package名称 c-`37. J  
mCK],TOA:  
struts.custom.i18n.resources Mb~~A5  
      Location of additional localization properties files to load D2V v\f  
      加载附加的国际化属性文件(不包含.properties后缀) pd7O`.3  
Ri[S<GOMii  
struts.custom.properties e@yx}:]h  
      Location of additional configuration properties files to load  kMqD iJ  
      加载附加的配置文件的位置 H8sK}1.  
W0U`Kt&~a  
/t$*W\PL@  
struts.devMode ~@?"' !U  
      Whether Struts is in development mode or not rI *!"PL  
      是否为struts开发模式 5'62ulwMP=  
NQg'|Pt(%  
struts.dispatcher.parametersWorkaround b24di  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wFp~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ` %l&zwj>  
7x%S](m%  
struts.enable.DynamicMethodInvocation ,}n=Z  
      Allows one to disable dynamic method invocation from the URL {clC n  
        允许动态方法调用 \+G.]|"Y  
qT"drgpi3  
struts.freemarker.manager.classname VZt;P%1;h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \u{Jf'g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R !Fx)xj  
Kyu@>9Ok  
struts.i18n.encoding ,cPkx~w0  
      The encoding to use for localization messages [6G=yp  
      国际化信息内码 {uEu >D$8  
Z 4\tY^NI  
struts.i18n.reload +{ S Maq  
      Whether the localization messages should automatically be reloaded L!?v BL  
      是否国际化信息自动加载 6W]OpM  
QN3 qF|))  
struts.locale \)p4okpR  
      The default locale for the Struts application ^4RO  
      默认的国际化地区信息 :a=ro2NH  
aD?# ,  
struts.mapper.class Z(l9>A7!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %Fs*#S  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5Ws5X_?d  
AL(n *,  
struts.multipart.maxSize eSJAPU(D  
      The maximize size of a multipart request (file upload) -<]\l3E&J  
      multipart请求信息的最大尺寸(文件上传用) Av@& hD\  
gHp'3SnS  
struts.multipart.parser >c}:   
      The org.apache.struts2.dispatcher.multipart. q|R+x7x  
      MultiPartRequest parser implementation for a multipart request (file upload) zoR,RBU6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $xLEA\s  
e',hC0&S  
4u@yJ?U  
struts.multipart.saveDir (6e!09P&  
      The directory to use for storing uploaded files =VCi8jDkP  
      设置存储上传文件的目录夹 /]pX8 d  
Dp%5$wF)8  
struts.objectFactory W]} #\\$z  
      The com.opensymphony.xwork2.ObjectFactory implementation class u):X>??  
      com.opensymphony.xwork2.ObjectFactory接口(spring) jG =(w4+  
A J<iM)l|  
struts.objectFactory.spring.autoWire X77A; US  
      Whether Spring should autoWire or not @gs26jX~2}  
      是否自动绑定Spring 37J\i ]  
<GSQ2bX[  
struts.objectFactory.spring.useClassCache ww-XMz h  
      Whether Spring should use its class cache or not |*lH9lWJ  
      是否spring应该使用自身的cache A$%@fO.b  
] ,!\IqO  
struts.objectTypeDeterminer j@%K*Gb`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A"Tc^Ij  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p Z0=  
t^`<*H  
struts.serve.static.browserCache I[tAT[ <  
If static content served by the Struts filter should set browser caching header properties or not qPp1:a"   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0Ei\VVK>  
LBW.*PHW  
struts.serve.static c ,Qw;  
      Whether the Struts filter should serve static content or not tVC@6Z$  
      是否struts过滤器应该提供静态内容 ^nG1/}  
Vww@eK%5Q  
struts.tag.altSyntax ;+S2h-4  
      Whether to use the alterative syntax for the tags or not Z}]:x `fXd  
      是否可以用替代的语法替代tags pA*D/P-  
zfk'>_'  
struts.ui.templateDir Na~g*)uT$  
      The directory containing UI templates +J\L4ri k  
      UI templates的目录夹 p*A^0DN'Fn  
.q AQP L  
struts.ui.theme ~,(0h:8  
      The default UI template theme e-nWD  
      默认的UI template主题 Rh wt<  
d)`nxnbMeM  
struts.url.http.port i n[n A a  
      The HTTP port used by Struts URLs 9itdRa==  
      设置http端口 dL1~]Z y  
[d!Af4  
struts.url.https.port >VpP/Qf  
      The HTTPS port used by Struts URLs dM);LT8@  
      设置https端口 0S)"Q^6n y  
>qSO,$  
struts.url.includeParams z'5;f;  
      The default includeParams method to generate Struts URLs [V!^\g\6  
      在url中产生 默认的includeParams Ws2prh^e(  
 9OrA9r  
},?-$eyX  
struts.velocity.configfile 7H8GkuO  
      The Velocity configuration file path 44Seq  
      velocity配置文件路径 P^'>dOI0w  
9+WY@du+  
struts.velocity.contexts *Y| lO  
      List of Velocity context names Bbn832iMUY  
      velocity的context列表 VWnu#_(  
I v 80,hW  
z|t.y.JX  
struts.velocity.manager.classname ;j[q?^ b  
      org.apache.struts2.views.velocity.VelocityManager implementation class Y{x[N}h  
      org.apache.struts2.views.velocity.VelocityManager接口名 {,nd_3"Vq  
b;&Yw-\nZ;  
struts.velocity.toolboxlocation `Gy>tD.#V-  
      The location of the Velocity toolbox XnNOj>!  
      velocity工具盒的位置 Z_eqM4{  
struts.xslt.nocache Mt7X<?GZm  
      Whether or not XSLT templates should not be cached V^/h;/! ^  
      是否XSLT模版应该被缓存 0C4*F  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五