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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ],].zlN  
I%Z  
struts.action.extension gBD]}vo-  
      The URL extension to use to determine if the request is meant for a Struts action *X}`PF   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 sDV Q#}a  
Cgc\ ah  
struts.configuration =2x^nW  
      The org.apache.struts2.config.Configuration implementation class 7 X4LJf  
        org.apache.struts2.config.Configuration接口名 2:ylv<\$  
\73ch  
struts.configuration.files apxph2yvS  
      A list of configuration files automatically loaded by Struts u]@['7  
      struts自动加载的一个配置文件列表 wz8yD8M  
^<AwG=  
struts.configuration.xml.reload +"VP-s0  
      Whether to reload the XML configuration or not +"@ .8m  
      是否加载xml配置(true,false) (7*}-Uy[C  
SgOheN-  
struts.continuations.package *8XEYZa  
      The package containing actions that use Rife continuations @KAI4LP  
      含有actions的完整连续的package名称 Kc(FX%3LU  
0m ? )ROaJ  
struts.custom.i18n.resources :BT q!>s  
      Location of additional localization properties files to load syK^<xa  
      加载附加的国际化属性文件(不包含.properties后缀) T[j,UkgGo  
m l$o5&sN  
struts.custom.properties k VQ\1!  
      Location of additional configuration properties files to load Aiea\j Bv  
      加载附加的配置文件的位置 Wm5 dk9&x  
rVsJ`+L  
Af{"pzY  
struts.devMode Rx}Gz$   
      Whether Struts is in development mode or not vr^qWn  
      是否为struts开发模式 ,Y48[_ymm  
Du){rVY^d  
struts.dispatcher.parametersWorkaround sx<%2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %~S&AE-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DlNX 3  
|^H5^k "Bv  
struts.enable.DynamicMethodInvocation ;*&-C9b  
      Allows one to disable dynamic method invocation from the URL Wv/=O}  
        允许动态方法调用 ete.!*=  
>F&47Yn  
struts.freemarker.manager.classname Sa5G.^ XI  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )\^-2[;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pD]OT-8  
~u+9J}  
struts.i18n.encoding N}YkMJy  
      The encoding to use for localization messages ~e.L.,4QZ8  
      国际化信息内码 gPc=2  
I++. ee  
struts.i18n.reload N17RLz *\  
      Whether the localization messages should automatically be reloaded & ZB  
      是否国际化信息自动加载 1ZRT:N<-  
;jTN | i'  
struts.locale 9~YMyg(Z  
      The default locale for the Struts application WMP,\=6k0  
      默认的国际化地区信息 ,6W>can  
HUOj0T  
struts.mapper.class B?o7e<l[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #cLBQJq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N)>ID(}F1  
5NLDYi@3  
struts.multipart.maxSize {kAc(  
      The maximize size of a multipart request (file upload) jlg(drTo  
      multipart请求信息的最大尺寸(文件上传用) CVR3 A'  
5rUdv}.  
struts.multipart.parser .3!1`L3  
      The org.apache.struts2.dispatcher.multipart. @ur+;IK$  
      MultiPartRequest parser implementation for a multipart request (file upload) T9q-,w/j;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) aFIw=c(nP  
W`*r>`krVJ  
&]-DqK7  
struts.multipart.saveDir *4_Bd=5(U  
      The directory to use for storing uploaded files s(roJbJ_;  
      设置存储上传文件的目录夹 S`?!G&[!>  
dGTsc/$  
struts.objectFactory 8e"gW >f  
      The com.opensymphony.xwork2.ObjectFactory implementation class /vb`H>P  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -s'-eQF J  
mlS$>O_aX  
struts.objectFactory.spring.autoWire pFz`}?c0  
      Whether Spring should autoWire or not S>; 5[l 4  
      是否自动绑定Spring eKqk= (  
EAby?51+  
struts.objectFactory.spring.useClassCache F1Bq$*'N$w  
      Whether Spring should use its class cache or not y L~W.H  
      是否spring应该使用自身的cache d8x;~RA  
?@ $r  
struts.objectTypeDeterminer `pZm?}K  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fLAw12;^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;P&OX5~V  
N$:8 ,9.z  
struts.serve.static.browserCache w"&n?L  
If static content served by the Struts filter should set browser caching header properties or not eGbG w  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @gXx1hEg  
b*Q&CL  
struts.serve.static r-/`"j{O!  
      Whether the Struts filter should serve static content or not 5.J.RE"M  
      是否struts过滤器应该提供静态内容 ]:/Q]n^  
mUx+Y]Ep  
struts.tag.altSyntax *s iFj CN<  
      Whether to use the alterative syntax for the tags or not R,=fv   
      是否可以用替代的语法替代tags iMRwp+$  
'(jG[ry&T  
struts.ui.templateDir [;myHI`tw  
      The directory containing UI templates Nu~lsWyRI5  
      UI templates的目录夹 %C_HXr@  
',5 ky{  
struts.ui.theme =zs`#-^8  
      The default UI template theme ]L}dzA?:  
      默认的UI template主题 j^2j& Ta  
v1,oilL  
struts.url.http.port gr-OHeid  
      The HTTP port used by Struts URLs @49S`  
      设置http端口 0Pi:N{x8  
&~U ]~;@  
struts.url.https.port B@ KQ]4-  
      The HTTPS port used by Struts URLs ('p5:d  
      设置https端口 liz~7RY4  
LvYB7<zk>  
struts.url.includeParams ~2khgZ  
      The default includeParams method to generate Struts URLs gt w Q-  
      在url中产生 默认的includeParams F`]2O:[  
xW Q`tWA:J  
/fV;^=:8c  
struts.velocity.configfile [Cv/{f3]u{  
      The Velocity configuration file path i,9)\1R  
      velocity配置文件路径 5bpEYW+  
>Wg hn:^  
struts.velocity.contexts *% @h(js  
      List of Velocity context names Jo23P.#<  
      velocity的context列表 gCY';\f!  
x{ WD;$J  
/%A*aGyIc  
struts.velocity.manager.classname 0v$~90)  
      org.apache.struts2.views.velocity.VelocityManager implementation class yY&I dE  
      org.apache.struts2.views.velocity.VelocityManager接口名 n^6j9 FQ7  
Ck7uJI<x  
struts.velocity.toolboxlocation (qulwOt~w  
      The location of the Velocity toolbox m$T-s|SY  
      velocity工具盒的位置 }Y36C.@H  
struts.xslt.nocache p,i[W.dy.'  
      Whether or not XSLT templates should not be cached Czu\RXJR  
      是否XSLT模版应该被缓存 m5Di=8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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