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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 z3b8  
TL+a_]3@  
struts.action.extension x~xaE*r  
      The URL extension to use to determine if the request is meant for a Struts action >Qc0g(w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  PA"xb3@I  
3e"_R  
struts.configuration 2RKI M(~  
      The org.apache.struts2.config.Configuration implementation class CD(2A,u)/  
        org.apache.struts2.config.Configuration接口名 6OMywGI[Z  
FqiC zP4  
struts.configuration.files w}<BO> z  
      A list of configuration files automatically loaded by Struts \LRno3  
      struts自动加载的一个配置文件列表 h\KQ{-Bl  
]%(hZZ  
struts.configuration.xml.reload :|oH11 y  
      Whether to reload the XML configuration or not 3|RfX  
      是否加载xml配置(true,false) )Y@  
^;GJ7y&,d  
struts.continuations.package ecA[  
      The package containing actions that use Rife continuations FsZF>vaV  
      含有actions的完整连续的package名称 ^r^c MksB*  
`9eE139V='  
struts.custom.i18n.resources \1f$]oS  
      Location of additional localization properties files to load ?gjM]Ki%:  
      加载附加的国际化属性文件(不包含.properties后缀) _ Onsfv  
>t u3m2  
struts.custom.properties J'y*;@4l^:  
      Location of additional configuration properties files to load 5<Cu-X  
      加载附加的配置文件的位置 Ul OoMGg  
m.-l&@I2/<  
l%lkDh!$"  
struts.devMode 0 8vA;6zt  
      Whether Struts is in development mode or not %MgQ.  
      是否为struts开发模式 {<&I4V@+  
g ZhE\  
struts.dispatcher.parametersWorkaround 4xU[oaa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~f 2H@#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0R<@*  
G@h6>O  
struts.enable.DynamicMethodInvocation ]i\D*,FfU  
      Allows one to disable dynamic method invocation from the URL It!%/Y5  
        允许动态方法调用 =0`"T!1  
-O3^q.   
struts.freemarker.manager.classname r#rQ3&Vn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #b []-L!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o`\l&jUNe  
^V v7u@y  
struts.i18n.encoding Afo(! v  
      The encoding to use for localization messages ^x %yIS  
      国际化信息内码 ~!j1</$_  
gA~BhDS  
struts.i18n.reload 0)-l9V  
      Whether the localization messages should automatically be reloaded Zs e3e  
      是否国际化信息自动加载 ]q7\  
or\ 2)  
struts.locale k&ujr:)5Y5  
      The default locale for the Struts application ( }5k"9Z  
      默认的国际化地区信息 dx}()i\@  
"jmi "O*  
struts.mapper.class j/wG0~<kz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \dCoY0Z ;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <6U{I '  
$@+\_f'bU>  
struts.multipart.maxSize H:4r6-{  
      The maximize size of a multipart request (file upload) 4VSIE"8e  
      multipart请求信息的最大尺寸(文件上传用) 3D +>NB  
6T&6N0y+9  
struts.multipart.parser s#?Y^bgH  
      The org.apache.struts2.dispatcher.multipart. Z<K[  
      MultiPartRequest parser implementation for a multipart request (file upload) &G5+bUF,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )7c\wAs  
 gvYa&N  
$ w:QJ~,s  
struts.multipart.saveDir k uU,7 <o  
      The directory to use for storing uploaded files 2X;,s`)  
      设置存储上传文件的目录夹 BgJ;\NV  
/A[AHJ<[?  
struts.objectFactory y _>HQs,:  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;2@MPx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {-J/ <a@  
Wk$[;>NU3  
struts.objectFactory.spring.autoWire '81$8xxdY  
      Whether Spring should autoWire or not ,sP7/S)FR  
      是否自动绑定Spring qbu Lcy3  
#*j  
struts.objectFactory.spring.useClassCache cG6Q$  
      Whether Spring should use its class cache or not h" Yi'  
      是否spring应该使用自身的cache DY^q_+[V  
?Q wDV`  
struts.objectTypeDeterminer Fl]$ql   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :e ?qm7cB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U:c!9uhp  
G9:[W"P  
struts.serve.static.browserCache prb;q~  
If static content served by the Struts filter should set browser caching header properties or not 20d[\P(.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f8+($Ys  
thOQcOf0$  
struts.serve.static GfD!Z3  
      Whether the Struts filter should serve static content or not EN` -- ^  
      是否struts过滤器应该提供静态内容 QL"fC;xUn,  
3X89mIDr  
struts.tag.altSyntax &Ph@uZ\  
      Whether to use the alterative syntax for the tags or not B-|:l 7  
      是否可以用替代的语法替代tags YMj z , N  
ueDG1)  
struts.ui.templateDir ?%i|].<-'  
      The directory containing UI templates Cd#[b)d ?^  
      UI templates的目录夹 FGG Fi(  
PbJn8o   
struts.ui.theme bqFGDmu6'  
      The default UI template theme 66fvS}x  
      默认的UI template主题 s[nXr   
Dsw(ti`@  
struts.url.http.port ])'22sY  
      The HTTP port used by Struts URLs 2Prr:k  
      设置http端口 .AH#D}m  
;t:B:4r(j  
struts.url.https.port "639oB  
      The HTTPS port used by Struts URLs X2(TuR*t  
      设置https端口 tk|Ew!M:  
0qnToV;  
struts.url.includeParams h35x'`g7+r  
      The default includeParams method to generate Struts URLs 2Y\,[$z  
      在url中产生 默认的includeParams B<xBuW  
M,8a$Mdqh  
K:c5Yq^  
struts.velocity.configfile lV]hjt-L 2  
      The Velocity configuration file path lJpD>\$}@R  
      velocity配置文件路径 ~zi6wu(3  
@ >%I\  
struts.velocity.contexts q%bNT  
      List of Velocity context names L:IaJ?+?  
      velocity的context列表 fJn;|'H!  
l6:k|hrm;  
D!Owm&We  
struts.velocity.manager.classname _' Xt  
      org.apache.struts2.views.velocity.VelocityManager implementation class aU<0<Dx  
      org.apache.struts2.views.velocity.VelocityManager接口名 ow:c$Zq  
y;keOI!  
struts.velocity.toolboxlocation $T8Ni!#/C  
      The location of the Velocity toolbox %g^dB M#  
      velocity工具盒的位置 _]E"hr6a  
struts.xslt.nocache 0V{-5-.  
      Whether or not XSLT templates should not be cached V?kJYf(<  
      是否XSLT模版应该被缓存 D*|h c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五