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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5Z9~ &U  
Rj} o4s2x  
struts.action.extension {;&B^uz ]  
      The URL extension to use to determine if the request is meant for a Struts action UIf ZPf=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WfRfx#MMt  
S~k*r{?H})  
struts.configuration R>d@tr  
      The org.apache.struts2.config.Configuration implementation class hr[B^?6  
        org.apache.struts2.config.Configuration接口名 )XP#W|;  
-.{oqs$  
struts.configuration.files N~):c2Kp<9  
      A list of configuration files automatically loaded by Struts ?jri!]ux#  
      struts自动加载的一个配置文件列表 *!g 24  
;Rhb@]X  
struts.configuration.xml.reload dCZ\ S91q  
      Whether to reload the XML configuration or not #`La|a.-  
      是否加载xml配置(true,false) os1?6 z~  
Zn@W7c,_I  
struts.continuations.package l@N;sI<O-  
      The package containing actions that use Rife continuations OQ(D5GR:4  
      含有actions的完整连续的package名称 o#xgrMB  
LZM,QQ  
struts.custom.i18n.resources \T`["<  
      Location of additional localization properties files to load .73zik   
      加载附加的国际化属性文件(不包含.properties后缀) aUW/1nQHa  
tx0Go'{  
struts.custom.properties d /B'[Ur  
      Location of additional configuration properties files to load _)KY  
      加载附加的配置文件的位置 dh^+l;!L  
IV{FH&t^T"  
S~0JoCeo  
struts.devMode k]?z~p  
      Whether Struts is in development mode or not rQ    
      是否为struts开发模式 %M{k.FE(  
Mlv<r=E  
struts.dispatcher.parametersWorkaround )?w&oIj5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g .x=pt  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2yN%~C?$  
2wx!Lpr<i_  
struts.enable.DynamicMethodInvocation P</s)"@  
      Allows one to disable dynamic method invocation from the URL _+ twq i  
        允许动态方法调用 60GFVF]'2  
{~"7vkc+  
struts.freemarker.manager.classname G HD^%)T5^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d/XlV]#2x\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A7k'K4  
O)`fvpVU  
struts.i18n.encoding Bx(yu'g|a  
      The encoding to use for localization messages ! FNf>z+  
      国际化信息内码 5x8'K7/4.  
j2|XD Of  
struts.i18n.reload J&M1t#UN  
      Whether the localization messages should automatically be reloaded 5kcJ  
      是否国际化信息自动加载 6*ZU}xT  
[}>#YPZ  
struts.locale c[SU5 66y  
      The default locale for the Struts application zwK }7h6]  
      默认的国际化地区信息 [tUv*jw%  
AG]W O8f)  
struts.mapper.class ZCm1+Y$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 31~hlp;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )`w=qCn1Y  
Zta$R,[9h  
struts.multipart.maxSize <rNtY,  
      The maximize size of a multipart request (file upload) ht?CH Uu  
      multipart请求信息的最大尺寸(文件上传用) I-xwJi9?,  
: *ERRSL)  
struts.multipart.parser D" L|"qJ  
      The org.apache.struts2.dispatcher.multipart. R0%?:! F  
      MultiPartRequest parser implementation for a multipart request (file upload) $`|5/,M%QN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OI+E (nA  
n`]l^qE  
3&es]1b  
struts.multipart.saveDir }wG,BB%N  
      The directory to use for storing uploaded files Qi_&aU$>lM  
      设置存储上传文件的目录夹 {  |s/]W  
tNU-2r   
struts.objectFactory y-'" >  
      The com.opensymphony.xwork2.ObjectFactory implementation class #wF1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Dy su{rL  
TWUUvj`.  
struts.objectFactory.spring.autoWire AzZJG v ]H  
      Whether Spring should autoWire or not Q6=MS>JW]w  
      是否自动绑定Spring Y2<dM/b/  
a\=-D:  
struts.objectFactory.spring.useClassCache Nz~(+pVWg5  
      Whether Spring should use its class cache or not OR]T`meO  
      是否spring应该使用自身的cache )o{VmXe@@  
yVaUt_Zi  
struts.objectTypeDeterminer LZ{YmD&6]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N/K=Ygv.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?cJY B)  
~z5@V5 z  
struts.serve.static.browserCache F) ?o,  
If static content served by the Struts filter should set browser caching header properties or not Y)|~:& tZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <yZP|_  
[g#s&bF  
struts.serve.static sxo;/~.p  
      Whether the Struts filter should serve static content or not + 3h`UF  
      是否struts过滤器应该提供静态内容 "%VbI P  
[[w2p  
struts.tag.altSyntax eK'wVg#  
      Whether to use the alterative syntax for the tags or not (^LS']ybc  
      是否可以用替代的语法替代tags 0Q'v HZ"  
be7L="vZw  
struts.ui.templateDir tw=K&/@^O  
      The directory containing UI templates \<ZLoy_  
      UI templates的目录夹 S_2"7  
{7qA&c=  
struts.ui.theme \m f*ge\  
      The default UI template theme "A;s56}'&  
      默认的UI template主题 ?4 qkDtm  
BEWro|]cM  
struts.url.http.port ZRnL_ z~  
      The HTTP port used by Struts URLs pYt/378w  
      设置http端口 vf<UBa;Xm  
Gg|M+M?+  
struts.url.https.port B oqJ   
      The HTTPS port used by Struts URLs bj}=8k0  
      设置https端口 Vv8_\^g]  
,^ 7 CP  
struts.url.includeParams zie=2  
      The default includeParams method to generate Struts URLs < W*xshn  
      在url中产生 默认的includeParams g`[`P@  
yyP'Z~0  
j$vK<SF  
struts.velocity.configfile Ra[>P _  
      The Velocity configuration file path $o.Kn9\  
      velocity配置文件路径 M;KA]fmc  
o2aM#Q  
struts.velocity.contexts 94Ud@F9d5  
      List of Velocity context names H8f]}  
      velocity的context列表 KXf<$\+zO  
^O)ve^P  
mRwT_(;t  
struts.velocity.manager.classname ^P?vkO"pB?  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;#&fgj  
      org.apache.struts2.views.velocity.VelocityManager接口名 W`rMtzL5  
*"cD.)]#2  
struts.velocity.toolboxlocation XKqK<!F  
      The location of the Velocity toolbox =1Z;Ma<;  
      velocity工具盒的位置 WhFS2Jl0  
struts.xslt.nocache rA1q SG~c  
      Whether or not XSLT templates should not be cached rQJ"&CapT  
      是否XSLT模版应该被缓存 K"\MU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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