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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 '$m7ft}  
h##WA=1QZ  
struts.action.extension +=3CL2{An  
      The URL extension to use to determine if the request is meant for a Struts action v}uJtBG(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (36K3=Qa  
Yx)o:#2  
struts.configuration n9hm790x-  
      The org.apache.struts2.config.Configuration implementation class RKkGITDk  
        org.apache.struts2.config.Configuration接口名 w|Aqqe  
bEH de*q(  
struts.configuration.files )0CQP  
      A list of configuration files automatically loaded by Struts pSAR/':eg  
      struts自动加载的一个配置文件列表 "pvZ,l>8f  
hWEnn=BW  
struts.configuration.xml.reload |. C1|J'Z  
      Whether to reload the XML configuration or not ps1@d[n  
      是否加载xml配置(true,false) O!R"v'  
&Cro2|KZhG  
struts.continuations.package }Uw#f@Wh  
      The package containing actions that use Rife continuations :Jxh2  
      含有actions的完整连续的package名称 cCdX0@hY  
jNl/!l7B  
struts.custom.i18n.resources 6m`{Z`c$  
      Location of additional localization properties files to load "S!3m9_#  
      加载附加的国际化属性文件(不包含.properties后缀) \cySWP[  
jX */piSq  
struts.custom.properties /g.]RY+u|x  
      Location of additional configuration properties files to load r6.N4eW.L  
      加载附加的配置文件的位置 JdNF-64ky  
j$@tK0P  
Dgi~rr1`'s  
struts.devMode ;5S}~+j  
      Whether Struts is in development mode or not =xl~][  
      是否为struts开发模式 FxU'LN<;HY  
Wk7WK` >i  
struts.dispatcher.parametersWorkaround g1[&c+=U`P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'ZHdV,dd  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) < K %j  
80hme+e  
struts.enable.DynamicMethodInvocation wyY*:{lZ  
      Allows one to disable dynamic method invocation from the URL M<`|CVl  
        允许动态方法调用 >- Bg%J9  
r/r:oXK  
struts.freemarker.manager.classname aW;aA'!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rY}B-6qJn  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }C#3O{5  
.ER98  
struts.i18n.encoding 1:NS}r+>3.  
      The encoding to use for localization messages By((,QpB  
      国际化信息内码 Q:o 7G|C  
Sp?NfJ\Ie  
struts.i18n.reload L\  j:  
      Whether the localization messages should automatically be reloaded 284zmZZ  
      是否国际化信息自动加载 _<Dt z  
A"l{?;~  
struts.locale U}AX0*S  
      The default locale for the Struts application NPJ.+ph  
      默认的国际化地区信息 %xlpB75N4N  
@.$MzPQQI  
struts.mapper.class !: us!s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?[= U%sPu=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Fdt}..H%  
SkP[|g'56  
struts.multipart.maxSize bBE+jqi 2  
      The maximize size of a multipart request (file upload) AV4~U:vU  
      multipart请求信息的最大尺寸(文件上传用) Ap<J'?~y  
p@I9< ^"  
struts.multipart.parser la, h  
      The org.apache.struts2.dispatcher.multipart. =*MR(b>  
      MultiPartRequest parser implementation for a multipart request (file upload) .W.;~`EW  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J!p<oW)a!  
bkv/I{C>?  
uHvaZMu  
struts.multipart.saveDir ->oz#  
      The directory to use for storing uploaded files 4rp6 C/i  
      设置存储上传文件的目录夹 +/cgw,  
<GZhH:  
struts.objectFactory %z)EO9vtr  
      The com.opensymphony.xwork2.ObjectFactory implementation class GU6 qIz|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )f*Iomp]@  
x_:hii?6V  
struts.objectFactory.spring.autoWire qgexb\x\4  
      Whether Spring should autoWire or not 2d&^Sp&11  
      是否自动绑定Spring pVG>A&4  
 W"qL-KW  
struts.objectFactory.spring.useClassCache p":zrf'(6  
      Whether Spring should use its class cache or not RVF F6N^  
      是否spring应该使用自身的cache l,y^HTc}7/  
e,Zv]Cym  
struts.objectTypeDeterminer fPz=KoN  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +by|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [.3sE  
;=p;v .l  
struts.serve.static.browserCache ^5x4q  
If static content served by the Struts filter should set browser caching header properties or not Qp+lJAY  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X;]3$\F  
NG)7G   
struts.serve.static az bUc4M  
      Whether the Struts filter should serve static content or not 4  
      是否struts过滤器应该提供静态内容 Pd],}/ZG-  
l $Zs~@N  
struts.tag.altSyntax m X:bA5db  
      Whether to use the alterative syntax for the tags or not k2uBaj]  
      是否可以用替代的语法替代tags i tW~d  
R=86w_  
struts.ui.templateDir ~UW{)]_jox  
      The directory containing UI templates 4K #^dJnC  
      UI templates的目录夹 u'Pn(A@1R  
Eq7gcDQ  
struts.ui.theme opnkmM&[  
      The default UI template theme C~_q^fXJt  
      默认的UI template主题 =U_ @zDD@V  
9/H^t* 5t  
struts.url.http.port 2K~tDNv7  
      The HTTP port used by Struts URLs  p1?J  
      设置http端口 ;]u1~  
-W6V,+of  
struts.url.https.port 1Kc{#+a^  
      The HTTPS port used by Struts URLs WiwwCKjSa  
      设置https端口 )#mW7m9M#  
pfNThMf  
struts.url.includeParams `7$Oh{67  
      The default includeParams method to generate Struts URLs 2}@*Ki7  
      在url中产生 默认的includeParams lDH_ Y]bM  
*fOIq88  
z22N7W=7  
struts.velocity.configfile 9Mut p4#  
      The Velocity configuration file path *<;&>w8  
      velocity配置文件路径 BiI{8`M!$x  
\O,j}O'  
struts.velocity.contexts "SDsISWd  
      List of Velocity context names H8x:D3C0  
      velocity的context列表 uk1v7# p  
=b|)Wnt2f  
a6OrE*x:D  
struts.velocity.manager.classname ?WMi S]Q\  
      org.apache.struts2.views.velocity.VelocityManager implementation class  S/)  
      org.apache.struts2.views.velocity.VelocityManager接口名 .Wd.) ^?  
0FN~$+t)H  
struts.velocity.toolboxlocation j(UX 6lR  
      The location of the Velocity toolbox upZYv~Sa  
      velocity工具盒的位置 W[@"H1bVH  
struts.xslt.nocache aJ% e'F[  
      Whether or not XSLT templates should not be cached `W D*Q-&n  
      是否XSLT模版应该被缓存 38OIFT  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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