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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w"dKOdY  
=QtFJ9\  
struts.action.extension `\\s%}vZ*T  
      The URL extension to use to determine if the request is meant for a Struts action N5sVRL"7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GxG~J4  
Tjrb.+cua  
struts.configuration G&1bhi52  
      The org.apache.struts2.config.Configuration implementation class "uIaKb  
        org.apache.struts2.config.Configuration接口名 c};%VB  
Z/?{{}H+  
struts.configuration.files \( {'Xo >(  
      A list of configuration files automatically loaded by Struts U1) Zh-aR  
      struts自动加载的一个配置文件列表 we^' R}d  
5BXku=M  
struts.configuration.xml.reload t;h`nH[  
      Whether to reload the XML configuration or not z5M6  
      是否加载xml配置(true,false) -40X3  
_~\ } fY  
struts.continuations.package Is }kCf  
      The package containing actions that use Rife continuations a%b E}  
      含有actions的完整连续的package名称 Rb:<?&7ZzN  
<YU4RZ  
struts.custom.i18n.resources YkB@fTTS  
      Location of additional localization properties files to load 1eshuL  
      加载附加的国际化属性文件(不包含.properties后缀) KHHYk>FR  
;xzaW4(3  
struts.custom.properties xt,Qn460;  
      Location of additional configuration properties files to load -mRgB"8  
      加载附加的配置文件的位置 oU\7%gQ  
-q{N1? tcy  
g:JSy  
struts.devMode L98T!5)  
      Whether Struts is in development mode or not ~).D\Q\  
      是否为struts开发模式 Q35\wQ#  
p2t0 4p!  
struts.dispatcher.parametersWorkaround H2Wlgt  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8^j~uH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j+ -r(lZ  
J({D~  
struts.enable.DynamicMethodInvocation 0]c&K  
      Allows one to disable dynamic method invocation from the URL ll X `  
        允许动态方法调用 ?%Nh4+3N>  
[t fB*m5  
struts.freemarker.manager.classname OmBz'sp:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -NN=(p!<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a0sz$u  
!aF~5P7%  
struts.i18n.encoding V27RK-.N!  
      The encoding to use for localization messages S}%z0g<  
      国际化信息内码 +c<iVc|  
r\ft{Z<P  
struts.i18n.reload /ugyUpyg  
      Whether the localization messages should automatically be reloaded w($a'&d`0  
      是否国际化信息自动加载 1r$-Uh  
iUR ij@  
struts.locale YFB>GQ;  
      The default locale for the Struts application }5oI` 9VT  
      默认的国际化地区信息 Uz!3){E  
Jk\-e`eE  
struts.mapper.class #d\&6'O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S5 q1M n  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 lRg?||1ik  
eZT8gKbjJ)  
struts.multipart.maxSize 1a{3k#}  
      The maximize size of a multipart request (file upload) &Z]}rn  
      multipart请求信息的最大尺寸(文件上传用) Z@+nkTJ9&t  
/v5A)A$7  
struts.multipart.parser 8ex;g^e  
      The org.apache.struts2.dispatcher.multipart. V2T% tn;rp  
      MultiPartRequest parser implementation for a multipart request (file upload) JXU ?'@QY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,k4pW&A  
oxc;DfJ_  
PJN9[Y{^3  
struts.multipart.saveDir B1nm?E 0i  
      The directory to use for storing uploaded files C&w0HoF  
      设置存储上传文件的目录夹 &F~d~;G"q  
o(jLirnk  
struts.objectFactory ZJBb% d1;  
      The com.opensymphony.xwork2.ObjectFactory implementation class tjXg  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ktTP~7UVi  
aHW34e@ebL  
struts.objectFactory.spring.autoWire \~,\|  
      Whether Spring should autoWire or not \Yr*x7!  
      是否自动绑定Spring d%'#-w'  
B0Wf$ s^7t  
struts.objectFactory.spring.useClassCache v~L\[&|_  
      Whether Spring should use its class cache or not FJ~d&L\l  
      是否spring应该使用自身的cache /&#y-D_  
I{(!h90  
struts.objectTypeDeterminer lgU!D |v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class BVb^xL  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LsERcjwwK  
^ l]!'"  
struts.serve.static.browserCache ! s =$UC  
If static content served by the Struts filter should set browser caching header properties or not o1(;"5MM  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Wds>'zzS  
c 1F^Gj!8  
struts.serve.static K& ^qn&  
      Whether the Struts filter should serve static content or not lUEbxN  
      是否struts过滤器应该提供静态内容 Nz`8)Le  
"crR{OjE"  
struts.tag.altSyntax ,#ZPg_x?1  
      Whether to use the alterative syntax for the tags or not 9#:nlu9  
      是否可以用替代的语法替代tags K.}jOm  
S#C-j D  
struts.ui.templateDir Zio! j%G  
      The directory containing UI templates *Sj) 9mp  
      UI templates的目录夹 o-RZwufZ`  
wea  
struts.ui.theme ^vd$j-kjTP  
      The default UI template theme qco'neR"z  
      默认的UI template主题 # atq7t X  
>]~581fYf  
struts.url.http.port Y0,{fw<  
      The HTTP port used by Struts URLs 1sj7]G]`k  
      设置http端口 *b) (-#w3  
l.pxDMY  
struts.url.https.port ~wW]ntZm  
      The HTTPS port used by Struts URLs 2Cp4aTGv#  
      设置https端口 GCN-T1HvA2  
L.@$rFhA  
struts.url.includeParams | 9S8sfw  
      The default includeParams method to generate Struts URLs <h/q^|tZ{  
      在url中产生 默认的includeParams [m:cO6DM,  
_1gNU]"  
WMtFXkf6"  
struts.velocity.configfile C:Rs~@tl  
      The Velocity configuration file path I20~bW  
      velocity配置文件路径 1M??@@X  
G)< B7-72;  
struts.velocity.contexts )4uWB2ZRoi  
      List of Velocity context names A2ye ^<-C.  
      velocity的context列表 BGibBF^  
H I|a88   
a8T9=KY^  
struts.velocity.manager.classname cOP'ql{"  
      org.apache.struts2.views.velocity.VelocityManager implementation class p+=zl`\=|  
      org.apache.struts2.views.velocity.VelocityManager接口名 /K li C\  
O oA!N-Q  
struts.velocity.toolboxlocation t!rrYBSCr  
      The location of the Velocity toolbox -r cEG!  
      velocity工具盒的位置 E6~VHQa2?  
struts.xslt.nocache }~@/r5Zl  
      Whether or not XSLT templates should not be cached Lf%3-P  
      是否XSLT模版应该被缓存 n^[a}DX0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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