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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D6v0n6w  
op"Cc  
struts.action.extension t#<q O6&B  
      The URL extension to use to determine if the request is meant for a Struts action a_pkUOu6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X?1 :Z|pJ  
/] R]7  
struts.configuration r]8B6iV  
      The org.apache.struts2.config.Configuration implementation class 4RdpROK  
        org.apache.struts2.config.Configuration接口名 &#d;dcLe  
(M[Kh ^  
struts.configuration.files (]iw#m{  
      A list of configuration files automatically loaded by Struts h~F uuL  
      struts自动加载的一个配置文件列表 Q[g%((DL  
G q0~&6  
struts.configuration.xml.reload ,Q}/#/  
      Whether to reload the XML configuration or not qk:F6kL\`  
      是否加载xml配置(true,false) 43 |zjE  
 snN1  
struts.continuations.package P;A"`Il  
      The package containing actions that use Rife continuations N\xqy-L9  
      含有actions的完整连续的package名称 W'6*$Ron  
p 6jR,m8S  
struts.custom.i18n.resources i:W oT4  
      Location of additional localization properties files to load D0-C:gz  
      加载附加的国际化属性文件(不包含.properties后缀) I5 [r-r  
hDz_BvE  
struts.custom.properties m2N ?Fg  
      Location of additional configuration properties files to load <H#D/?n5  
      加载附加的配置文件的位置 'g ,Oi1|~  
44S<(Re  
M,mj{OY~x  
struts.devMode Mu{mj4Y{  
      Whether Struts is in development mode or not E!ZDqq  
      是否为struts开发模式 2{{M{#}S.  
iVmf/N@A|  
struts.dispatcher.parametersWorkaround f2yc]I<lr~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )B8[w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hgsE"H<V  
(/FPGYu3h  
struts.enable.DynamicMethodInvocation b;S~`PL  
      Allows one to disable dynamic method invocation from the URL XrBLw}lD`N  
        允许动态方法调用 T0aK1Lh  
 ~LkReQI  
struts.freemarker.manager.classname r^Gl~sX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5"@<7/2qI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {uw'7 d/  
_}Z*%sT  
struts.i18n.encoding PhW#=S  
      The encoding to use for localization messages 17nWrTxR$  
      国际化信息内码 8xL-j2w  
8mx5K-/,y^  
struts.i18n.reload a@m>S$S  
      Whether the localization messages should automatically be reloaded Lmj?V1% V  
      是否国际化信息自动加载 N}s[0s  
NUm3E4  
struts.locale lr^-  
      The default locale for the Struts application KnU"49  
      默认的国际化地区信息 EmY8AN(*  
t6 js@Ih  
struts.mapper.class :*Ckq~[Hg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M@csB.'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `W|2Xi=^5  
"7gS*v,r  
struts.multipart.maxSize x)V.^-  
      The maximize size of a multipart request (file upload) \Lh,dZ}d  
      multipart请求信息的最大尺寸(文件上传用) r;S%BFMJS  
o#w6]Fmc  
struts.multipart.parser Ry/NfF=  
      The org.apache.struts2.dispatcher.multipart. 3,iL#_+t  
      MultiPartRequest parser implementation for a multipart request (file upload) x\t>|DB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'OJXllGi  
h=)Im )  
0MPsF{Xw[  
struts.multipart.saveDir xG<S2R2VQh  
      The directory to use for storing uploaded files S;*,V |#QD  
      设置存储上传文件的目录夹 >"ZTyrK  
5t0i/&zX  
struts.objectFactory c*6o{x}K  
      The com.opensymphony.xwork2.ObjectFactory implementation class -?@ $`{-K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3)GXu>) t  
u}#rS%SF*  
struts.objectFactory.spring.autoWire Fbk<qQH  
      Whether Spring should autoWire or not y(N-1  
      是否自动绑定Spring BPi>SI0  
cL=P((<K?  
struts.objectFactory.spring.useClassCache RV&2y=eb  
      Whether Spring should use its class cache or not G#l zB`i  
      是否spring应该使用自身的cache 9:@os0^O  
|5g*pXu{  
struts.objectTypeDeterminer }H^#}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d(fgv  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 TcRnjsY$  
{4:En;  
struts.serve.static.browserCache #=$4U!yL  
If static content served by the Struts filter should set browser caching header properties or not a^sR?.+3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *~fN^{B'!  
4e*0kItC  
struts.serve.static %zX'u.}8#  
      Whether the Struts filter should serve static content or not )rj.WK.  
      是否struts过滤器应该提供静态内容 6bqJM#y@  
21cIWvy  
struts.tag.altSyntax 2|Tt3/Rn  
      Whether to use the alterative syntax for the tags or not ,PIdPaV--  
      是否可以用替代的语法替代tags h8S%Q|-  
b^A&K@[W#,  
struts.ui.templateDir 0BE%~W  
      The directory containing UI templates 0.+iVOz+Y  
      UI templates的目录夹 s?_b[B d  
+mxsjcq0  
struts.ui.theme 6W#+U<  
      The default UI template theme R o%S_!  
      默认的UI template主题 +>I4@1qC-|  
rJNf&x%6  
struts.url.http.port Y!Z@1V`  
      The HTTP port used by Struts URLs |y=CmNG,  
      设置http端口 TF3Tha]  
OFUN hbg  
struts.url.https.port SSI&WZ2a  
      The HTTPS port used by Struts URLs fM2[wh@  
      设置https端口 bfa5X<8  
ZJw9 2Sb  
struts.url.includeParams \,(tP:o  
      The default includeParams method to generate Struts URLs E}a3.6)p  
      在url中产生 默认的includeParams 4.VEE~sH$  
a(}jn|  
8q0f#/`v  
struts.velocity.configfile FtF!Dtv  
      The Velocity configuration file path =z@'vu$Fh  
      velocity配置文件路径 ";>D0h^D  
Jl^oDW  
struts.velocity.contexts ;$0za]x  
      List of Velocity context names Sb{S^w\m0  
      velocity的context列表 89 SsSb  
r Ssv^W+  
h[B Ft{x  
struts.velocity.manager.classname huN(Q{fj  
      org.apache.struts2.views.velocity.VelocityManager implementation class S>H W`   
      org.apache.struts2.views.velocity.VelocityManager接口名 {= z%( '^  
c85B-/  
struts.velocity.toolboxlocation W]y$6P  
      The location of the Velocity toolbox zV2c `he%z  
      velocity工具盒的位置 ,U<Ku*}B  
struts.xslt.nocache 3a#!^ G!~  
      Whether or not XSLT templates should not be cached Rl S=^}>  
      是否XSLT模版应该被缓存 Q"Bgr&RJ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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