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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *Mg=IEu-6[  
s+yBxgQ/  
struts.action.extension X z2IAiAs'  
      The URL extension to use to determine if the request is meant for a Struts action f>\?\!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ro}plK(<WQ  
2OAh7'8<  
struts.configuration "%A/bv\u  
      The org.apache.struts2.config.Configuration implementation class VaZS_ qGe:  
        org.apache.struts2.config.Configuration接口名 gpHI)1i'H  
o8KlY?hX  
struts.configuration.files 7w @.)@5  
      A list of configuration files automatically loaded by Struts ^\e:j7@z  
      struts自动加载的一个配置文件列表 $* b>c:  
b-M[la}1"  
struts.configuration.xml.reload $Z+N*w~8  
      Whether to reload the XML configuration or not t<|=-  
      是否加载xml配置(true,false) hAfRHd  
)}~k7bb}Y  
struts.continuations.package NX@TWBn%  
      The package containing actions that use Rife continuations .m;1V6  
      含有actions的完整连续的package名称 WQv~<]1J F  
@-kzSm  
struts.custom.i18n.resources iq5h[  
      Location of additional localization properties files to load +m:U9K(\h  
      加载附加的国际化属性文件(不包含.properties后缀) !b rN)b)f  
=XQ3sk6U  
struts.custom.properties mmwwz  
      Location of additional configuration properties files to load !g=,O6  
      加载附加的配置文件的位置 UmiW_JB  
^^jF*)DT@  
@2CYv>  
struts.devMode l"IBt:  
      Whether Struts is in development mode or not | (v/>t  
      是否为struts开发模式 ? 4qN>uW=  
qk~QcVg  
struts.dispatcher.parametersWorkaround [jD O8n/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #ZCgpg$wM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 67 7p9{:  
0w8Id . ,  
struts.enable.DynamicMethodInvocation <rRm bFH#  
      Allows one to disable dynamic method invocation from the URL 15iCJ p  
        允许动态方法调用 vFL3eu#  
-g IuL  
struts.freemarker.manager.classname T oy~\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :n0(gB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >]T(}S~  
+3s i=x\=/  
struts.i18n.encoding [5)1 4% x  
      The encoding to use for localization messages '3[Ecy#  
      国际化信息内码 &5(|a"5+G  
]AERi] B  
struts.i18n.reload $w[@L7'(  
      Whether the localization messages should automatically be reloaded NvJu)gI%  
      是否国际化信息自动加载 z|+L>O-8  
]'~'V2Ey  
struts.locale m?;)C~[  
      The default locale for the Struts application o%M~Q<wf  
      默认的国际化地区信息 baR{   
%+gze|J  
struts.mapper.class {'"A hiR/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class KOhy)h+ h  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fa\<![8LAU  
6\4oHRJC  
struts.multipart.maxSize >^|\wy  
      The maximize size of a multipart request (file upload) /y@$|DI1  
      multipart请求信息的最大尺寸(文件上传用) B(Y{  
YwoytoXK  
struts.multipart.parser XLqS{r~?  
      The org.apache.struts2.dispatcher.multipart. `q7I;w+g  
      MultiPartRequest parser implementation for a multipart request (file upload) 9@QP?=\Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1_7x'5GdA  
L9fhe,en  
H!Uy4L~>  
struts.multipart.saveDir r.-NfK4  
      The directory to use for storing uploaded files =c-j4xna>  
      设置存储上传文件的目录夹 JP!$uK{u  
7<IrN\@U  
struts.objectFactory bxkp9o  
      The com.opensymphony.xwork2.ObjectFactory implementation class FxM`$n~K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) HY5g>wv@  
(}4tj4d  
struts.objectFactory.spring.autoWire \dIIZSN  
      Whether Spring should autoWire or not "h$A.S  
      是否自动绑定Spring P8DJv-f`  
8@6:UR.)  
struts.objectFactory.spring.useClassCache mEz&:A  
      Whether Spring should use its class cache or not j,6dGb  
      是否spring应该使用自身的cache q$:T<mFK$  
nHD4J;l  
struts.objectTypeDeterminer F3H)B:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W>wE8? _,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6/nhz6=  
<G2;nvRr  
struts.serve.static.browserCache 3t68cdFlz  
If static content served by the Struts filter should set browser caching header properties or not 2~R"3c+^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z(/jQ=ozQ  
vB/MnEKR  
struts.serve.static ua`2 & ;T=  
      Whether the Struts filter should serve static content or not e{To&gy~  
      是否struts过滤器应该提供静态内容 E^A9u |x  
jl3RE|M\<  
struts.tag.altSyntax ;OPzT9  
      Whether to use the alterative syntax for the tags or not ws?p2$Cla  
      是否可以用替代的语法替代tags }(op;7  
g3LAi#m  
struts.ui.templateDir N=tyaS(YJ  
      The directory containing UI templates +s1+;VUs3  
      UI templates的目录夹 /Lu wPM  
jTSw0\}  
struts.ui.theme TeHL=\L-^  
      The default UI template theme lG%oqxJ+ L  
      默认的UI template主题 o \b8lwA,  
CN\s,. ]  
struts.url.http.port .H7"nt^  
      The HTTP port used by Struts URLs B`"-~4YAf  
      设置http端口 !x;T2l  
[FF%HRce,.  
struts.url.https.port "LP4)hr_`  
      The HTTPS port used by Struts URLs q/70fR7{v  
      设置https端口 j#-ZL-N  
T=;'"S  
struts.url.includeParams N+HN~'8r  
      The default includeParams method to generate Struts URLs <^n9?[m*  
      在url中产生 默认的includeParams \&@Tq-o  
#^!oP$>1  
RX?Nv4-  
struts.velocity.configfile Zp- Av8  
      The Velocity configuration file path g 4Vt"2|  
      velocity配置文件路径 1swh7  
d /Zt}{  
struts.velocity.contexts lNqXx{!k  
      List of Velocity context names S3)JEZi  
      velocity的context列表 S U2`H7C*  
6M+~{9(S  
*=@Z\]"?  
struts.velocity.manager.classname ;&Eu< %y  
      org.apache.struts2.views.velocity.VelocityManager implementation class D rHMlk5  
      org.apache.struts2.views.velocity.VelocityManager接口名 LeQ2,/7l:  
!*C^gIQGU  
struts.velocity.toolboxlocation 8 l}tYl`|  
      The location of the Velocity toolbox Zm&Zz^s  
      velocity工具盒的位置 8{%/!ylJz  
struts.xslt.nocache N7+K$)3  
      Whether or not XSLT templates should not be cached 0)k%nIhj  
      是否XSLT模版应该被缓存 4?jhZLBU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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