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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e`H>}O/ai  
kX`m( N$  
struts.action.extension Z 4i5,f  
      The URL extension to use to determine if the request is meant for a Struts action Y`{62J8oy  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,c$tKj5ulQ  
ujkWVE'  
struts.configuration _b>{:H&\  
      The org.apache.struts2.config.Configuration implementation class _-TW-{7bh  
        org.apache.struts2.config.Configuration接口名 Z2`M8xEiH  
* ?~"Jw  
struts.configuration.files n7G`b'  
      A list of configuration files automatically loaded by Struts s$qc &  
      struts自动加载的一个配置文件列表 q :~/2<o  
je2"D7D  
struts.configuration.xml.reload K]Vp! G  
      Whether to reload the XML configuration or not )=X g  
      是否加载xml配置(true,false) MffCk!]  
QV HI}3~  
struts.continuations.package ='w 2"4  
      The package containing actions that use Rife continuations 2Xk;]-T!  
      含有actions的完整连续的package名称 r|*_KQq  
B(vCi^  
struts.custom.i18n.resources d4ld-y  
      Location of additional localization properties files to load o _l_Yi  
      加载附加的国际化属性文件(不包含.properties后缀) }CMGK{  
ZzTkEz >  
struts.custom.properties zh0T3U0D  
      Location of additional configuration properties files to load <2%9O;bV[  
      加载附加的配置文件的位置 F[%k ;aJ  
\P9ms?((A  
`''y,{Fs  
struts.devMode }uC]o@/  
      Whether Struts is in development mode or not UcD<vg"p  
      是否为struts开发模式 Ayg^<)JWh  
SCe$v76p#  
struts.dispatcher.parametersWorkaround b=\chCRJJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic WQ8 "Jj?k6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @x}^2FE  
*`wz  
struts.enable.DynamicMethodInvocation nw+^@|4  
      Allows one to disable dynamic method invocation from the URL C96*,.j~'  
        允许动态方法调用 p=A, yGDV  
7RBEEE`)  
struts.freemarker.manager.classname |[mmEYc  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <%% )C>l  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Qk>U=]U  
(`E`xb@E,=  
struts.i18n.encoding ~Js kA5h|&  
      The encoding to use for localization messages mVYfyLZ,(  
      国际化信息内码 *c=vEQn-  
3@Fa  
struts.i18n.reload <]KQ$8dtD  
      Whether the localization messages should automatically be reloaded trrK6(p  
      是否国际化信息自动加载 z_lKq}^~6  
*s" OqTM]x  
struts.locale na8`V`77  
      The default locale for the Struts application IzUpkwN  
      默认的国际化地区信息 EirZ}fDJzB  
7)[Ve1;/N  
struts.mapper.class 8q{|nH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tu$rVwgM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {~FPvmj&  
"+7E9m6I  
struts.multipart.maxSize GiM-8y~  
      The maximize size of a multipart request (file upload) Dt(D5A  
      multipart请求信息的最大尺寸(文件上传用) OaY89ko  
+swTMR  
struts.multipart.parser V>Z4gZp5sc  
      The org.apache.struts2.dispatcher.multipart. SpU|Q1Q/h  
      MultiPartRequest parser implementation for a multipart request (file upload) :Z2997@Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @#N7M2/  
3Og}_  
;n*|AL7(  
struts.multipart.saveDir ~&RrlFh  
      The directory to use for storing uploaded files ?<W|Ya  
      设置存储上传文件的目录夹 F:P2:s<d-  
rb4;@&  
struts.objectFactory `o }+2Cb  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^M q@} 0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [pm IQ228  
qWWt5rJ  
struts.objectFactory.spring.autoWire lOeX5%$Z  
      Whether Spring should autoWire or not F@q9UlfB-  
      是否自动绑定Spring /Mw;oP{&b  
 dm=?o  
struts.objectFactory.spring.useClassCache r"{jrBK$  
      Whether Spring should use its class cache or not ,<#Rk 'y$  
      是否spring应该使用自身的cache ys`oHS f  
3T0-RP*  
struts.objectTypeDeterminer iEr?s-or  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .AO-S)wHR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b=2:\F  
=M*pym]QSY  
struts.serve.static.browserCache BgT ^  
If static content served by the Struts filter should set browser caching header properties or not S#8)N`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TB.>?*<n]  
: Bo  
struts.serve.static xxl|j$m  
      Whether the Struts filter should serve static content or not e/:?9  
      是否struts过滤器应该提供静态内容 hI*v )c  
)~R[aXkvY  
struts.tag.altSyntax Cx/J_Ro#  
      Whether to use the alterative syntax for the tags or not FI?J8a  
      是否可以用替代的语法替代tags c;X,-Q9  
fi*b]a\'  
struts.ui.templateDir < B]qqqP  
      The directory containing UI templates "p;tj74O9  
      UI templates的目录夹 j xkQ #Y  
&uO-h  
struts.ui.theme h~9P3 4m  
      The default UI template theme 9m2FH~  
      默认的UI template主题 cf"&22TQ+Z  
E%D.a=UX,  
struts.url.http.port ?K:\WW  
      The HTTP port used by Struts URLs 0ElEaH1z  
      设置http端口 yUo8-OaL7  
G93V=Bk=  
struts.url.https.port |T/OOIA=sI  
      The HTTPS port used by Struts URLs a5 ZXrWv  
      设置https端口 9XDSL[[  
x X3I`  
struts.url.includeParams =6:9y}~  
      The default includeParams method to generate Struts URLs Ym\<@[3+!  
      在url中产生 默认的includeParams !\1)?&y9j  
2[pOGc$  
2>k*9kyp  
struts.velocity.configfile e_|<tYx><  
      The Velocity configuration file path 98 5h]KQ  
      velocity配置文件路径 v.C  
RDHK'PGA  
struts.velocity.contexts H{5,  -x  
      List of Velocity context names <2 [vR|Q*  
      velocity的context列表 ~? aFc)  
P,)D0i  
ey[Z<i1  
struts.velocity.manager.classname >M{98NH  
      org.apache.struts2.views.velocity.VelocityManager implementation class 59j`Z^e  
      org.apache.struts2.views.velocity.VelocityManager接口名  {p/Yz#  
+kYp!00  
struts.velocity.toolboxlocation Km= Y^x0  
      The location of the Velocity toolbox srN7  
      velocity工具盒的位置 8g_kZ^<[  
struts.xslt.nocache ^8 ,prxaok  
      Whether or not XSLT templates should not be cached %au>D  
      是否XSLT模版应该被缓存 LFi* O&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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