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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /j.V0%  
cIq3En  
struts.action.extension BfhOe~+i  
      The URL extension to use to determine if the request is meant for a Struts action 1FY^_dvH  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fv(zql  
7e u7ie6  
struts.configuration EI/_=.d  
      The org.apache.struts2.config.Configuration implementation class 2#|Q =rWB  
        org.apache.struts2.config.Configuration接口名 xx41Qw>\W  
beO*|  
struts.configuration.files I-+D+DhRx  
      A list of configuration files automatically loaded by Struts WxIP~  
      struts自动加载的一个配置文件列表 !q$IB?8   
~Ilgc CF  
struts.configuration.xml.reload ;i,yT ?so  
      Whether to reload the XML configuration or not dyu~T{  
      是否加载xml配置(true,false) eaCEZHr$  
hp[8.Z$7  
struts.continuations.package "*TnkFTR  
      The package containing actions that use Rife continuations =k0l>)  
      含有actions的完整连续的package名称 +fKLCzj  
o>j3<#?  
struts.custom.i18n.resources #mtlgK'  
      Location of additional localization properties files to load vY.p~3q :)  
      加载附加的国际化属性文件(不包含.properties后缀) ~/gqXT">  
;.m"y-  
struts.custom.properties 5)EnOT"'  
      Location of additional configuration properties files to load JkpA \<  
      加载附加的配置文件的位置 ];(w8l  
03{e[#6   
<tFq6|  
struts.devMode A "w 1GBx  
      Whether Struts is in development mode or not %Wu3$b  
      是否为struts开发模式 ~2 =B:;  
IWKQU/l!  
struts.dispatcher.parametersWorkaround 9I.="b=J)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {OB\~$TH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6B|IbQ^  
t0hg!_$bq  
struts.enable.DynamicMethodInvocation "y5c)l(Rg  
      Allows one to disable dynamic method invocation from the URL MbjH\XRB  
        允许动态方法调用 j >P>MdZtk  
BcA:M\dK%  
struts.freemarker.manager.classname "z7.i{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <!4'?K-N  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vE&  
?1?m4i  
struts.i18n.encoding -_A0<A.  
      The encoding to use for localization messages ? NVN&zD]  
      国际化信息内码 pGUrYik4  
C2bN<K  
struts.i18n.reload W!+5}\?  
      Whether the localization messages should automatically be reloaded z) Bc91A  
      是否国际化信息自动加载 =[vT=sHz7  
Q- j+#NGc  
struts.locale -,}f6*  
      The default locale for the Struts application +ZXk0sP_<  
      默认的国际化地区信息 VxaJ[s3PQ&  
kM@8RAxA  
struts.mapper.class 8'/vW~f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K]Ed-Tz8QZ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =j }]-!  
C\ 9eR  
struts.multipart.maxSize uiO8F*,!&r  
      The maximize size of a multipart request (file upload) qfG`H#cA<  
      multipart请求信息的最大尺寸(文件上传用) MJDFm,  
}6ec2I%`o  
struts.multipart.parser keCM}V`?"  
      The org.apache.struts2.dispatcher.multipart. J`V7FlM  
      MultiPartRequest parser implementation for a multipart request (file upload) \$GlB+ iCx  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N(&,+KJ)  
}!5"EL(L80  
o'r?^ *W  
struts.multipart.saveDir -*+7-9A I  
      The directory to use for storing uploaded files mWCY%o@  
      设置存储上传文件的目录夹 Q+Jzab  
|Y2u=B  
struts.objectFactory 1;g>?18@  
      The com.opensymphony.xwork2.ObjectFactory implementation class :/d#U:I  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #L[Atx  
l.Qj?G  
struts.objectFactory.spring.autoWire YzsHec  
      Whether Spring should autoWire or not So,EPB+  
      是否自动绑定Spring OG/R6k.  
`3\5&Bf  
struts.objectFactory.spring.useClassCache s#64NG  
      Whether Spring should use its class cache or not beN0 ?G  
      是否spring应该使用自身的cache !V#(g./W  
U")bvUIL  
struts.objectTypeDeterminer MhWmY[  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &F)P3=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 WXaLKiA*(  
M)( 5S1ndq  
struts.serve.static.browserCache {N/(lB8  
If static content served by the Struts filter should set browser caching header properties or not O~l WFaW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f*LDrAf9  
,7z.%g3+z  
struts.serve.static bp;b;f>  
      Whether the Struts filter should serve static content or not eBBqF!WDb  
      是否struts过滤器应该提供静态内容 mp>,TOi~s7  
E<D45C{DP  
struts.tag.altSyntax 3|l+&LF!IC  
      Whether to use the alterative syntax for the tags or not 0x[v)k9"0  
      是否可以用替代的语法替代tags Rw=g g >\  
DMsxHAE1  
struts.ui.templateDir QUwSnotgU  
      The directory containing UI templates sHmzwvpLA  
      UI templates的目录夹 iO>2#p8$NR  
+{4ziqYj  
struts.ui.theme $5s?m\!jZz  
      The default UI template theme pma'C\b>  
      默认的UI template主题 DF P0WXbOE  
o-yZ$+V  
struts.url.http.port #-Ehg4W  
      The HTTP port used by Struts URLs +t,JCY6  
      设置http端口 %9uLxC;  
yM=% a3  
struts.url.https.port ,J!G-?:@n  
      The HTTPS port used by Struts URLs 5@F1E8T  
      设置https端口 z~UqA1r  
cxp>4[gH  
struts.url.includeParams <`+U B<K  
      The default includeParams method to generate Struts URLs /*B-y$WQk  
      在url中产生 默认的includeParams 3g0[( ;  
[ ;  
( Y'q%$  
struts.velocity.configfile ` XE8[XY  
      The Velocity configuration file path V80g+)|  
      velocity配置文件路径 *[9FPya  
IlN9IF\9L  
struts.velocity.contexts 9l+'V0?`  
      List of Velocity context names 4'RyD<K\  
      velocity的context列表 GNgPf"}K  
|B./5 ,nSS  
xf_NHKZ)  
struts.velocity.manager.classname ncuqo'r  
      org.apache.struts2.views.velocity.VelocityManager implementation class [daUtKz  
      org.apache.struts2.views.velocity.VelocityManager接口名 q5p!Ty"  
,73J#  
struts.velocity.toolboxlocation s9>-Q"(y  
      The location of the Velocity toolbox &$:1rA_v  
      velocity工具盒的位置 jO&sS?  
struts.xslt.nocache I'Ui` :A  
      Whether or not XSLT templates should not be cached -iLp3m<ai  
      是否XSLT模版应该被缓存 -hZlFAZi  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八