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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E~c>j<'-"<  
[0D.+("EW  
struts.action.extension >}B53.;.k  
      The URL extension to use to determine if the request is meant for a Struts action tzY?LX[3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0a9[}g1=#  
l{QlJ>%~{;  
struts.configuration BCO (,k  
      The org.apache.struts2.config.Configuration implementation class h.\p+Qw.  
        org.apache.struts2.config.Configuration接口名 a4XK.[O  
MoXai0d%  
struts.configuration.files jX .' G   
      A list of configuration files automatically loaded by Struts YZAQt* x  
      struts自动加载的一个配置文件列表 liBFx6\"S  
Wr@q+Whq  
struts.configuration.xml.reload z SjZTA/Z  
      Whether to reload the XML configuration or not j$<g8Bg=o  
      是否加载xml配置(true,false) \E6 0  
{]%7-4E  
struts.continuations.package -Un"z6*  
      The package containing actions that use Rife continuations uqVarRi$  
      含有actions的完整连续的package名称 CDY3+!  
"pO** z$Z  
struts.custom.i18n.resources O;$}j:;KF  
      Location of additional localization properties files to load 1)5/a5  
      加载附加的国际化属性文件(不包含.properties后缀) ;Fd1:"1pP  
/8 y v8  
struts.custom.properties *TrpW?]Y&  
      Location of additional configuration properties files to load J3XG?' }  
      加载附加的配置文件的位置 ve\@u@K^  
(Vn3g ra  
|tC=  j.  
struts.devMode QRx9;!~b}  
      Whether Struts is in development mode or not 3vkzN  
      是否为struts开发模式 \~r_S  
8?rq{&$t  
struts.dispatcher.parametersWorkaround |n;5D,r0C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C)~%(< D  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OnyAM{$g  
T+PERz(  
struts.enable.DynamicMethodInvocation ~>Y^?l  
      Allows one to disable dynamic method invocation from the URL Q3'P<"u  
        允许动态方法调用 q;#bFPh  
-v:3#9uX)  
struts.freemarker.manager.classname ,kUg"\_k  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3[@:I^q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2Sk hBb=d  
|"[;0)dw^  
struts.i18n.encoding VtMnLF Mw  
      The encoding to use for localization messages $ nMx#~>a  
      国际化信息内码 7q:;3;"9  
>}/T&S  
struts.i18n.reload ?BbEQr  
      Whether the localization messages should automatically be reloaded );?tGX  
      是否国际化信息自动加载 L3\( <[  
I+`>e*:@W  
struts.locale P F);KQ  
      The default locale for the Struts application [ {HTGz@(  
      默认的国际化地区信息 ;Ah eeq746  
\mZB*k)+  
struts.mapper.class lk` |u$KPz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )`S5>[6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L8oqlq( 9  
q^uCZnkb=  
struts.multipart.maxSize NZlCn:"  
      The maximize size of a multipart request (file upload) (,|eE)+  
      multipart请求信息的最大尺寸(文件上传用) Bc`L ]<  
a '?LC)^  
struts.multipart.parser UR(i_T&w  
      The org.apache.struts2.dispatcher.multipart. t0za%q!fK<  
      MultiPartRequest parser implementation for a multipart request (file upload) <dAxB$16sT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n'?]_z<  
#GfM^sK  
4hYK$!"r  
struts.multipart.saveDir o}D }Q"=A  
      The directory to use for storing uploaded files 4;(W0RQa  
      设置存储上传文件的目录夹 CtUAbR  
flz7{W  
struts.objectFactory t3*.Bm:^  
      The com.opensymphony.xwork2.ObjectFactory implementation class sLzZ}u?(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $@w ,9J\  
=$T[  
struts.objectFactory.spring.autoWire jkAru_C  
      Whether Spring should autoWire or not %s;5  
      是否自动绑定Spring ] VEc9?  
vP_mS 4X  
struts.objectFactory.spring.useClassCache |+Z-'k~Q  
      Whether Spring should use its class cache or not YgtW(j[  
      是否spring应该使用自身的cache Q'Uv5p"X  
1;!dTh  
struts.objectTypeDeterminer Pa=xc>m^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L>lxkq8!Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [h>A<O  
K,+z^{Hvh  
struts.serve.static.browserCache I|2dV9y  
If static content served by the Struts filter should set browser caching header properties or not  Y=H_U$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .bRtK+}F#  
Q=Q&\.<  
struts.serve.static -Vs;4-B{9  
      Whether the Struts filter should serve static content or not =>&~p\Aw  
      是否struts过滤器应该提供静态内容 QyrB"_dm  
*|cs_,3  
struts.tag.altSyntax dp2FC   
      Whether to use the alterative syntax for the tags or not xCyD0^KY  
      是否可以用替代的语法替代tags MlLM $Y-@  
dz/3=0  
struts.ui.templateDir Fh&USn"  
      The directory containing UI templates y'<5P~W!a  
      UI templates的目录夹 P,#l~\  
:H]MMe  
struts.ui.theme LG{50sP`  
      The default UI template theme 2_Zn?#G8dl  
      默认的UI template主题 z~i>GN_  
 .4Mc4'  
struts.url.http.port + (`.pa z@  
      The HTTP port used by Struts URLs %WqUZ+yy  
      设置http端口 vrh2}biCR  
U.=TjCW  
struts.url.https.port J<9}) m  
      The HTTPS port used by Struts URLs #%/Jr 52<  
      设置https端口 mi@uX@ #  
dZddo z_  
struts.url.includeParams dsK*YY jH  
      The default includeParams method to generate Struts URLs }h|HT  
      在url中产生 默认的includeParams .eCUvX`$  
9niffq)h  
tiR i_  
struts.velocity.configfile %6&c3,?U\n  
      The Velocity configuration file path &KV$x3  
      velocity配置文件路径 B-|C%~fe  
c0_512  
struts.velocity.contexts H2+V1J=  
      List of Velocity context names -k%|sqDZj  
      velocity的context列表 _^$F^}{&  
~| oB|>  
MRHRa  
struts.velocity.manager.classname n<eK\ w  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^e80S^  
      org.apache.struts2.views.velocity.VelocityManager接口名 j#l1KO^y  
7c<_j55(  
struts.velocity.toolboxlocation &Gm3  
      The location of the Velocity toolbox K]^Jl0  
      velocity工具盒的位置 XAB/S8e  
struts.xslt.nocache 7{VN27Fa_  
      Whether or not XSLT templates should not be cached _Om5w p=:  
      是否XSLT模版应该被缓存 R-2Aby ts2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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