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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2-9'zN0u  
@3/.W+  
struts.action.extension 6@TGa%:G  
      The URL extension to use to determine if the request is meant for a Struts action $\xS~ w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *%^Vq  
iol.RszlZ|  
struts.configuration &y?L^Aq  
      The org.apache.struts2.config.Configuration implementation class DS,"^K  
        org.apache.struts2.config.Configuration接口名 }5Yd:%u5  
$0C1';=^}  
struts.configuration.files 8}FZ1h2 4  
      A list of configuration files automatically loaded by Struts Tz H*?bpP  
      struts自动加载的一个配置文件列表 ppt`5F O  
 R ^Wed  
struts.configuration.xml.reload ad).X:Qs  
      Whether to reload the XML configuration or not >qjQ;z[  
      是否加载xml配置(true,false) ULq#2l  
`2S G{5o;  
struts.continuations.package xyK_1n@b  
      The package containing actions that use Rife continuations Re3vW re  
      含有actions的完整连续的package名称 75j`3wzu  
'"{ IV  
struts.custom.i18n.resources :zk69P3  
      Location of additional localization properties files to load __\Tv>Y  
      加载附加的国际化属性文件(不包含.properties后缀) s)dN.'5/  
Aen)r@Y:  
struts.custom.properties 9S ~!!7oj  
      Location of additional configuration properties files to load )x1LOMe  
      加载附加的配置文件的位置 ln#Jb&u  
DGMvYNKTj  
~U+SK4SK:o  
struts.devMode `}/&}Sp  
      Whether Struts is in development mode or not {umdW x.*  
      是否为struts开发模式 u?[dy n  
JHpaDy*  
struts.dispatcher.parametersWorkaround T!.6@g`x>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %/17K2g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Yb8o`j+t  
yDBS : \  
struts.enable.DynamicMethodInvocation #<20vdc  
      Allows one to disable dynamic method invocation from the URL yk1syN_  
        允许动态方法调用 X kZ82w#b  
@G  0k+  
struts.freemarker.manager.classname RI_:~^nO{r  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .80^c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R8a4F^{*  
x35(i  
struts.i18n.encoding =vx iqRm  
      The encoding to use for localization messages [ay~l%x  
      国际化信息内码 }Wf\\  
1{B^RR.  
struts.i18n.reload qF m=(J%  
      Whether the localization messages should automatically be reloaded 9s\;,!b  
      是否国际化信息自动加载 ek~bXy{O`  
rt r0 d  
struts.locale \; Io  
      The default locale for the Struts application deR2l(0%yr  
      默认的国际化地区信息 7(<6+q2~  
-`FPR4;  
struts.mapper.class G<9UL*HU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8YJ8_$Z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qP<wf=wY  
y#HDJ=2  
struts.multipart.maxSize \^9SuZ  
      The maximize size of a multipart request (file upload) uop|8n1  
      multipart请求信息的最大尺寸(文件上传用) f5jxF"oGNo  
Q70LQCms  
struts.multipart.parser %\8E{M:  
      The org.apache.struts2.dispatcher.multipart. x{IxS?.j+  
      MultiPartRequest parser implementation for a multipart request (file upload) Z)cGe1?q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gR)T(%W  
YNCQPN\v`1  
fMaUIJ:Q9  
struts.multipart.saveDir ]YcM45xg  
      The directory to use for storing uploaded files HE0UcP1U  
      设置存储上传文件的目录夹 6]#pPk8[Z  
w8M,35b  
struts.objectFactory F;l*@y Tq  
      The com.opensymphony.xwork2.ObjectFactory implementation class n!5 :I#B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]t-_.E )F  
b]s.h8+v;  
struts.objectFactory.spring.autoWire 4:Adn?"  
      Whether Spring should autoWire or not `!<RP'  
      是否自动绑定Spring %dMq'j  
0q`n]NM  
struts.objectFactory.spring.useClassCache .du FMJl  
      Whether Spring should use its class cache or not 4J3cQ;z  
      是否spring应该使用自身的cache X_Vj&{  
W%@L7xh  
struts.objectTypeDeterminer ^nn3;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1Ao YG_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,TY&N-  
B.nq3;Y  
struts.serve.static.browserCache [ UN`~  
If static content served by the Struts filter should set browser caching header properties or not AZ~= ]1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =H&@9=D*  
?k)(~Y&@p  
struts.serve.static {R b|";  
      Whether the Struts filter should serve static content or not 2aiZ  
      是否struts过滤器应该提供静态内容 $CXKeWS=Q.  
uY+N163i  
struts.tag.altSyntax NMYkEz(&R  
      Whether to use the alterative syntax for the tags or not FV|/o%XqK  
      是否可以用替代的语法替代tags >(Mu9ie*`  
bgs2~50  
struts.ui.templateDir ,zmGKn#n2  
      The directory containing UI templates z7X[$T$V  
      UI templates的目录夹 _:4n&1{.E  
#Pi}2RBRu  
struts.ui.theme hawE2k0p(  
      The default UI template theme 3#7D g't  
      默认的UI template主题 w@U`@})r.  
};%l <Ui;  
struts.url.http.port FFGG6r  
      The HTTP port used by Struts URLs 5yO %|)  
      设置http端口 u`Kjs}F'  
_:|/4.]`_  
struts.url.https.port \Q[u?/TF  
      The HTTPS port used by Struts URLs C"w>U   
      设置https端口 "NqB_?DT  
]DcQ8D  
struts.url.includeParams 6X{RcX]/  
      The default includeParams method to generate Struts URLs -x i]~svg  
      在url中产生 默认的includeParams ghq#-N/t  
s UX%{|T_  
pq0F!XmU  
struts.velocity.configfile *gHGi(U(U  
      The Velocity configuration file path .0$$H"t  
      velocity配置文件路径 .<8kDyi m  
<=KtRE>$  
struts.velocity.contexts 5N=QS1<$5  
      List of Velocity context names ?ysC7 ((  
      velocity的context列表 KrNu7/H  
(vHB`@x  
;<qv-$P  
struts.velocity.manager.classname RM2<%$  
      org.apache.struts2.views.velocity.VelocityManager implementation class 871taL=  
      org.apache.struts2.views.velocity.VelocityManager接口名 J{Fu8  
r|[uR$|Y  
struts.velocity.toolboxlocation (xnXM}M&2Y  
      The location of the Velocity toolbox e-vwve  
      velocity工具盒的位置 tjw4.L<r  
struts.xslt.nocache 9L+dN%C  
      Whether or not XSLT templates should not be cached z& !n'N<C  
      是否XSLT模版应该被缓存 (9bFIvMc  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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