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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 :;.^r,QAI  
DqT<bNR1*;  
struts.action.extension )ds]fvMW]N  
      The URL extension to use to determine if the request is meant for a Struts action :ujpLIjvVG  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :CW^$Zvq  
Vj9X6u}{  
struts.configuration \c CH/  
      The org.apache.struts2.config.Configuration implementation class (;;ji!i  
        org.apache.struts2.config.Configuration接口名 ^h$*7u"^y  
]t~.?)Ad+2  
struts.configuration.files tiE|%jOzt  
      A list of configuration files automatically loaded by Struts [U/h'A.j  
      struts自动加载的一个配置文件列表 iuGwc086  
NI#]#yM+  
struts.configuration.xml.reload Fz';H  
      Whether to reload the XML configuration or not aqN{@|  
      是否加载xml配置(true,false) Qy0w'L/@  
bf0,3~G,P  
struts.continuations.package F5RL+rU(h  
      The package containing actions that use Rife continuations T>'O[=UWh  
      含有actions的完整连续的package名称 d}zh.O5P!  
^n0;Q$\  
struts.custom.i18n.resources \.}T_,I  
      Location of additional localization properties files to load XQ9W y  
      加载附加的国际化属性文件(不包含.properties后缀) V%s7*`U  
>fzyD(>  
struts.custom.properties %L*EB;nK  
      Location of additional configuration properties files to load ~Ym _ {  
      加载附加的配置文件的位置 9Z!n!o7D  
;W|NG3_y  
XDJE]2^52?  
struts.devMode myR{ }G  
      Whether Struts is in development mode or not H" `'d  
      是否为struts开发模式 'k[qx}  
38p"lT  
struts.dispatcher.parametersWorkaround G9^`cTvv'8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A6]X aF  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M,_ $s,  
&{.IUg  
struts.enable.DynamicMethodInvocation Z8ea)_ {#  
      Allows one to disable dynamic method invocation from the URL \hgd&H0UU  
        允许动态方法调用 P0}{xq'k9v  
9>w~B|/  
struts.freemarker.manager.classname 3\@2!:>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class IZj`*M%3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 olv?$]  
o& FOp'  
struts.i18n.encoding rL1yq|]I  
      The encoding to use for localization messages a%B&F|u  
      国际化信息内码 '~&W'='b;  
wpM2{NTP  
struts.i18n.reload 6wh PW .  
      Whether the localization messages should automatically be reloaded ?iP7Ki  
      是否国际化信息自动加载 4F|79U #  
@d0f+9d  
struts.locale K<*6E@+i  
      The default locale for the Struts application aE5-b ub c  
      默认的国际化地区信息 kZz'&xdv'.  
"ktuq\a@  
struts.mapper.class I{cH$jt<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K 77iv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 i`2SebDj'w  
c%/b*nQ(=  
struts.multipart.maxSize \L(cFjLIl  
      The maximize size of a multipart request (file upload) |qn 2b=  
      multipart请求信息的最大尺寸(文件上传用)  C7ivA h  
]5"k%v|  
struts.multipart.parser ?d-w#<AiV  
      The org.apache.struts2.dispatcher.multipart. BA: x*(%~  
      MultiPartRequest parser implementation for a multipart request (file upload) 'c7nh{F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x^[,0?y2  
1OM Xg=Y  
Gy/w #4xj  
struts.multipart.saveDir "a)6g0gw  
      The directory to use for storing uploaded files " _2 k 3  
      设置存储上传文件的目录夹 y<Q"]H.CkQ  
w-pgtO|Us  
struts.objectFactory ce\d35x!  
      The com.opensymphony.xwork2.ObjectFactory implementation class RH;ulAD6(~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Dhn7N8(LF!  
nUP, Yd  
struts.objectFactory.spring.autoWire b!@PS$BTxq  
      Whether Spring should autoWire or not ^7spXfSAd  
      是否自动绑定Spring a{T.U-0   
7x6 M]1F  
struts.objectFactory.spring.useClassCache gUru=p  
      Whether Spring should use its class cache or not [ @eA o>  
      是否spring应该使用自身的cache P0.cF]<m  
eZPeyYX  
struts.objectTypeDeterminer )*]A$\Oc[  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `xBoNQai  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p3U)J&]c6  
^f! M"@  
struts.serve.static.browserCache 9-c3@ >v  
If static content served by the Struts filter should set browser caching header properties or not 8<C*D".T$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .Z [4:TS  
}(t`s  
struts.serve.static #-;W|ib%z  
      Whether the Struts filter should serve static content or not [Jt}^  
      是否struts过滤器应该提供静态内容 Qjfgxy]  
rQimQ|+  
struts.tag.altSyntax K|Sq_/#+U  
      Whether to use the alterative syntax for the tags or not *,$5EN  
      是否可以用替代的语法替代tags >8(i;)(3  
&!CVF  
struts.ui.templateDir 754MQK|g  
      The directory containing UI templates /9R0}4i7  
      UI templates的目录夹 g{yw&q[B=  
5)%ahmY  
struts.ui.theme U*r54AyP  
      The default UI template theme 7{F\b  
      默认的UI template主题 VC88re`  
$z%(He  
struts.url.http.port >)ekb7  
      The HTTP port used by Struts URLs V6][*.i!9  
      设置http端口 [;z\bV<S  
*<xu3){:c  
struts.url.https.port Qfm$q~`D^W  
      The HTTPS port used by Struts URLs ^Lgvey%  
      设置https端口 e-ta7R4  
P5<9;PPbZ  
struts.url.includeParams L\2"1%8Wj  
      The default includeParams method to generate Struts URLs H[~ D]RG}'  
      在url中产生 默认的includeParams s?EQ  
-O *_+8f  
t<Acq07  
struts.velocity.configfile e3 v^j$  
      The Velocity configuration file path 72s qt5C]  
      velocity配置文件路径 rC-E+%y  
oPmz$]_Z  
struts.velocity.contexts 2&4nf/sE  
      List of Velocity context names ;l*%IMB  
      velocity的context列表 +\T8`iCFB  
o`S``?`^)^  
PeIx41. +s  
struts.velocity.manager.classname f]/2uUsg %  
      org.apache.struts2.views.velocity.VelocityManager implementation class {1SsH ir>  
      org.apache.struts2.views.velocity.VelocityManager接口名 dS6 $  
>.Gmu  
struts.velocity.toolboxlocation ?kO.>o  
      The location of the Velocity toolbox ev$:7}h=  
      velocity工具盒的位置 Ku ,wI86  
struts.xslt.nocache dun`/QKV  
      Whether or not XSLT templates should not be cached U*C^g}iA  
      是否XSLT模版应该被缓存 J 8%gC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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