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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D_;n4<|.  
R5~vmT5W  
struts.action.extension 9G\3hL]  
      The URL extension to use to determine if the request is meant for a Struts action Bjrv;)XH  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lPSDY&`P  
i(qYyO'  
struts.configuration C%7,#}[U/  
      The org.apache.struts2.config.Configuration implementation class 9/qS*Zdh)  
        org.apache.struts2.config.Configuration接口名 uL{~(?U$  
?@ye*%w_  
struts.configuration.files 1RO gUJ;  
      A list of configuration files automatically loaded by Struts 1VM5W!}  
      struts自动加载的一个配置文件列表 NCh(-E  
XIW: Nk!S  
struts.configuration.xml.reload 7bW!u*v-c  
      Whether to reload the XML configuration or not )|1JcnNSa  
      是否加载xml配置(true,false) D0_x|a  
g(F*Y> hk  
struts.continuations.package S5JR`o  
      The package containing actions that use Rife continuations ReGb .pf  
      含有actions的完整连续的package名称 *Zo o  
E3C[o! 5  
struts.custom.i18n.resources ^T1-dw(  
      Location of additional localization properties files to load blkJm9]v  
      加载附加的国际化属性文件(不包含.properties后缀) ? F), 4Q  
L5P}%1 _  
struts.custom.properties w0`L)f5v  
      Location of additional configuration properties files to load wk 7_(gT`0  
      加载附加的配置文件的位置 h+d;`7Z>  
g.sV$.T2K  
^XB8A=xi  
struts.devMode Zkep7L   
      Whether Struts is in development mode or not :[rKSA]@  
      是否为struts开发模式 x!Y@31!Dy  
@ tp7tB ;  
struts.dispatcher.parametersWorkaround 8`?j*FV7kq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &1C9K>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7CN[Z9Y^}  
Yt<PKs#E  
struts.enable.DynamicMethodInvocation QKkr~?sTO  
      Allows one to disable dynamic method invocation from the URL 0mi[|~x=  
        允许动态方法调用 lTd2~_  
JF\viMfR  
struts.freemarker.manager.classname 7%FZXsD  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e9~4wt  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5WN Z7cO  
^"#rDP"v  
struts.i18n.encoding :NyEd<'  
      The encoding to use for localization messages YD.^\E4o  
      国际化信息内码 1EPOYvf%U  
&>b1ES.>  
struts.i18n.reload ;l4 \^E1  
      Whether the localization messages should automatically be reloaded 9{#|sABGD  
      是否国际化信息自动加载 32FGDM  
T@WMT,J6j  
struts.locale D}U<7=\3H  
      The default locale for the Struts application YGmdiY:;1  
      默认的国际化地区信息 Qg.:w  
+B|X k[  
struts.mapper.class beR)8sC3q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =8 D4:Ds  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ymCIk /\  
nEEGO~e  
struts.multipart.maxSize `5&V}"lB  
      The maximize size of a multipart request (file upload) M\6v}kUY  
      multipart请求信息的最大尺寸(文件上传用) 0>MI*fnY"  
'U0I.x(  
struts.multipart.parser ,#O8:s  
      The org.apache.struts2.dispatcher.multipart. Xkm2C)  
      MultiPartRequest parser implementation for a multipart request (file upload) bD-Em#>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u\?u4  
`R?W @,@'  
)eMh,r  
struts.multipart.saveDir *?"{T;4u~O  
      The directory to use for storing uploaded files K! j*:{  
      设置存储上传文件的目录夹 :J-5Q]#  
I,3!uogn  
struts.objectFactory (32nI?)a  
      The com.opensymphony.xwork2.ObjectFactory implementation class _=x_"rz x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "-:\-sMt{  
f~9Y1|6  
struts.objectFactory.spring.autoWire -Lb^O/  
      Whether Spring should autoWire or not N+75wtLy&  
      是否自动绑定Spring Lc?O K"[m  
lM"7 Z  
struts.objectFactory.spring.useClassCache 2f4c;YS  
      Whether Spring should use its class cache or not RBD MZ  
      是否spring应该使用自身的cache VAt9JE;#  
"6QMa,)D  
struts.objectTypeDeterminer eR`<9KBH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D|:sSld @  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $ '*BS  
=fo/+m5  
struts.serve.static.browserCache ,+9r/}K]/  
If static content served by the Struts filter should set browser caching header properties or not <z)G& h@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w\*/(E<:  
3>Snd9Q  
struts.serve.static F k;su,]_  
      Whether the Struts filter should serve static content or not |hoZ:  
      是否struts过滤器应该提供静态内容 $(=1A>40  
.YF-t`{  
struts.tag.altSyntax s3 $Q_8H  
      Whether to use the alterative syntax for the tags or not {Z.@-Tl_  
      是否可以用替代的语法替代tags ,eCXT=6  
T@.D5[q0:  
struts.ui.templateDir ppKCY4  
      The directory containing UI templates p04+"  
      UI templates的目录夹 Kf~+jYobO  
K/cK6Yr  
struts.ui.theme p]=;t"  
      The default UI template theme q/79'>`|ai  
      默认的UI template主题 f*Js= hvO  
F DX+  
struts.url.http.port d 4R+gIA  
      The HTTP port used by Struts URLs <Q)}  
      设置http端口 4V8wB}y7e  
cyg>h X{U  
struts.url.https.port i]pG}SJ  
      The HTTPS port used by Struts URLs ypo=y/!  
      设置https端口 &Sa~Wtm|*  
F9r*ZyNlx  
struts.url.includeParams ^MV%\0o  
      The default includeParams method to generate Struts URLs |>GIPfVT  
      在url中产生 默认的includeParams :PkZ(WZ9  
%;$Y|RbmqE  
|Eu~= J7@  
struts.velocity.configfile Pc== ]H(  
      The Velocity configuration file path 3HR]TQ%r  
      velocity配置文件路径 *wcoDQ b;  
~W{h-z%q  
struts.velocity.contexts [)vwg`]   
      List of Velocity context names C/ VYu-p%  
      velocity的context列表 ',Pk>f]AB-  
(OQ @!R&  
:/%xK"  
struts.velocity.manager.classname tta0sJ8 i  
      org.apache.struts2.views.velocity.VelocityManager implementation class JZxF)] ^  
      org.apache.struts2.views.velocity.VelocityManager接口名 \zL7 j 4  
QC,(rB  
struts.velocity.toolboxlocation )m;qv'=!  
      The location of the Velocity toolbox gi@ji-10  
      velocity工具盒的位置 15DK \_;  
struts.xslt.nocache 1[9j`~[([  
      Whether or not XSLT templates should not be cached ^|(4j_.(e  
      是否XSLT模版应该被缓存 ?u!AHSr(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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