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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 KmqgP`Cu  
fN9uSnu  
struts.action.extension _U,Hi?b"$}  
      The URL extension to use to determine if the request is meant for a Struts action t+,2 p|B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0a,B&o1  
UA4MtTp`  
struts.configuration 9tmnx')_  
      The org.apache.struts2.config.Configuration implementation class %xp 69  
        org.apache.struts2.config.Configuration接口名 ?]+! gz1  
;:Tb_4Hr  
struts.configuration.files 8\PI1U  
      A list of configuration files automatically loaded by Struts b/E3Kse?  
      struts自动加载的一个配置文件列表 *h pS/g/3\  
muhu` k`C  
struts.configuration.xml.reload -f?,%6(1  
      Whether to reload the XML configuration or not 1].m4vC  
      是否加载xml配置(true,false) /NuO>kQa  
k? ,/om1  
struts.continuations.package 6.|[;>Km  
      The package containing actions that use Rife continuations .5A .[ZY)  
      含有actions的完整连续的package名称 NZ+TTMv  
"od 2i\  
struts.custom.i18n.resources RS2uk 7MB  
      Location of additional localization properties files to load bY~V?yNgKM  
      加载附加的国际化属性文件(不包含.properties后缀) I y5)SZ'  
I-Am9\   
struts.custom.properties w.+G+ r=  
      Location of additional configuration properties files to load  KcpQ[6\  
      加载附加的配置文件的位置 S&Hgr_/}c  
YjPj#57+  
>3I|5kZ6  
struts.devMode ^t`0ul]c  
      Whether Struts is in development mode or not y6H`FFqK  
      是否为struts开发模式 vSCJ xSt#e  
8LY^>.  
struts.dispatcher.parametersWorkaround )d{fDwrx1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C[><m2T  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /U0,%  
g?u=n`k]\  
struts.enable.DynamicMethodInvocation ~h3~<p#M`  
      Allows one to disable dynamic method invocation from the URL E[FE-{B#  
        允许动态方法调用 KvO5-g  
zkd^5A; `  
struts.freemarker.manager.classname =yPV9#(I/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :edy(vC<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \9}DAM_  
Sh:_YD^(  
struts.i18n.encoding L}K8cB  
      The encoding to use for localization messages sdN1BV2  
      国际化信息内码 AH:0h X6+  
,=: -&~?  
struts.i18n.reload HY(XI u  
      Whether the localization messages should automatically be reloaded eEYz A  
      是否国际化信息自动加载 Fnd_\`9{  
vLGnLpt  
struts.locale z]&?}o  
      The default locale for the Struts application g#G ]}8C  
      默认的国际化地区信息 _auFt"n  
~*e@^Nv)v  
struts.mapper.class gIKQip<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3MDs?qx>s  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 HI[Pf%${  
&#!1 Y[e^  
struts.multipart.maxSize a/[)A _-  
      The maximize size of a multipart request (file upload) l;B  
      multipart请求信息的最大尺寸(文件上传用) 'k[vcnSz\/  
,G[Y< ~Hy  
struts.multipart.parser a&7uRR26  
      The org.apache.struts2.dispatcher.multipart.  _ Ewkb  
      MultiPartRequest parser implementation for a multipart request (file upload) &7r a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b&9~F6aM  
OMBH[_  
x }]"jj2x  
struts.multipart.saveDir W< $!H V$  
      The directory to use for storing uploaded files |FSp`P  
      设置存储上传文件的目录夹  hV fANbs  
@E>I<j,D  
struts.objectFactory g|tclBx  
      The com.opensymphony.xwork2.ObjectFactory implementation class $KP&#;9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y~Mu~/s  
k:N/-P&+  
struts.objectFactory.spring.autoWire d)d0,fi?-  
      Whether Spring should autoWire or not v[)8 1uY  
      是否自动绑定Spring KxWm63"  
vx}BT H  
struts.objectFactory.spring.useClassCache >Sb3]$$  
      Whether Spring should use its class cache or not }hcY5E-n  
      是否spring应该使用自身的cache o4agaA3k  
$weC '-n@  
struts.objectTypeDeterminer vhDtjf/*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M(n@ytz  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 MSB/O.  
6MLjU1  
struts.serve.static.browserCache ( k_9<Yb3  
If static content served by the Struts filter should set browser caching header properties or not kM(m$Oo.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )4> 7X)j>  
hoLA*v2<  
struts.serve.static t/l<X]o  
      Whether the Struts filter should serve static content or not P(a}OlG  
      是否struts过滤器应该提供静态内容 %D~Mij  
g8@F/$HY  
struts.tag.altSyntax Lyit`j~yH  
      Whether to use the alterative syntax for the tags or not FrE#l.)?!  
      是否可以用替代的语法替代tags JEF;Q  
x~K79Mya  
struts.ui.templateDir l hST%3Ld  
      The directory containing UI templates tYhcoV  
      UI templates的目录夹 g{f7 } gTG  
!7p&n3dz  
struts.ui.theme R iFUa $  
      The default UI template theme T`9nY!  
      默认的UI template主题 6h0}ZM  
k$>5v +r0  
struts.url.http.port #WS>Z3AY  
      The HTTP port used by Struts URLs `Jh<8~1  
      设置http端口 _(I)C`8m  
`>OKV;~{z  
struts.url.https.port 6Cfsh<]b  
      The HTTPS port used by Struts URLs %/qwqo`Q  
      设置https端口 eHR]qy 0_X  
A4rkwM  
struts.url.includeParams u'T-}95 V  
      The default includeParams method to generate Struts URLs Ys|SacWC  
      在url中产生 默认的includeParams ?Cx=!k.  
M+b?qw  
C>SO d]  
struts.velocity.configfile :zNNtv iA  
      The Velocity configuration file path ( `bb1gz  
      velocity配置文件路径 96~y\X@x  
LJPJENtFIs  
struts.velocity.contexts "z Y~*3d  
      List of Velocity context names (BPp2^  
      velocity的context列表 8=L"rekV_  
{v]L|e%{  
W7uX  
struts.velocity.manager.classname :stHc,  
      org.apache.struts2.views.velocity.VelocityManager implementation class OXQA(%MK  
      org.apache.struts2.views.velocity.VelocityManager接口名 }B7Txo,Z  
|}z5ST%  
struts.velocity.toolboxlocation h'&<A_C-7  
      The location of the Velocity toolbox Oo; ]j)z  
      velocity工具盒的位置 W[Q<# Ju  
struts.xslt.nocache T~/>U&k}J  
      Whether or not XSLT templates should not be cached GIE QD$vy  
      是否XSLT模版应该被缓存 tkHmH/'7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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