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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @l~zn%!X  
k 9 Xi|Yj  
struts.action.extension ml$"C  
      The URL extension to use to determine if the request is meant for a Struts action mF\r]ovVm  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]9]cef=h#  
Iuk!A?XV  
struts.configuration '&{`^l/ MH  
      The org.apache.struts2.config.Configuration implementation class .K>r ao'  
        org.apache.struts2.config.Configuration接口名 &UtsI@Mu  
{f;]  
struts.configuration.files D6 B(6 5Y  
      A list of configuration files automatically loaded by Struts J8[N!qDCj  
      struts自动加载的一个配置文件列表 ^nn3;  
1Ao YG_  
struts.configuration.xml.reload a=3?hVpB  
      Whether to reload the XML configuration or not /*DC`,q  
      是否加载xml配置(true,false) J{"<Hgb  
YK Nz[x$|  
struts.continuations.package ||TKo967]  
      The package containing actions that use Rife continuations Z'EX q.hk  
      含有actions的完整连续的package名称 {VqcZhqy/l  
_JZS;8WYR  
struts.custom.i18n.resources L1;IXCc=  
      Location of additional localization properties files to load :=u Ku'~  
      加载附加的国际化属性文件(不包含.properties后缀) 5!Y51R^c  
A<esMDX  
struts.custom.properties 6j9P`#Lt  
      Location of additional configuration properties files to load i,jPULzyjk  
      加载附加的配置文件的位置 B\BxF6 y  
kWs"v6B  
).HYW _Yih  
struts.devMode gZQ,br*  
      Whether Struts is in development mode or not yM(zc/?  
      是否为struts开发模式 `4E6&&E+S  
S EdNH.|I  
struts.dispatcher.parametersWorkaround 7XLz Ewa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |,k,X}gP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?0HPd5=<v  
0KknsP7  
struts.enable.DynamicMethodInvocation sr(f9Vl  
      Allows one to disable dynamic method invocation from the URL 0^htwec!  
        允许动态方法调用 wmu#@Hf/[h  
o'S&YD  
struts.freemarker.manager.classname 03aa>IO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9 z_9yT  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 O+U9 p  
%j9'HtjEa  
struts.i18n.encoding <a_Q1 l  
      The encoding to use for localization messages 7U_~_yb  
      国际化信息内码 G&FA~c  
"Xq.b"N{*  
struts.i18n.reload z Qtg]@S  
      Whether the localization messages should automatically be reloaded yj!4L&A  
      是否国际化信息自动加载 W ~sP7&sp  
595P04  
struts.locale J6}J/  
      The default locale for the Struts application 'Dl31w%:  
      默认的国际化地区信息 (vHB`@x  
;<qv-$P  
struts.mapper.class Dk&@AjJga  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PS ,@ \  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >*v!2=  
IN2FO/Y@  
struts.multipart.maxSize *G|w#-\.c  
      The maximize size of a multipart request (file upload) ! Ff/RRo  
      multipart请求信息的最大尺寸(文件上传用) x5/O.5>f  
fba QXM  
struts.multipart.parser v{7Jzjd  
      The org.apache.struts2.dispatcher.multipart. Cf#[E~24  
      MultiPartRequest parser implementation for a multipart request (file upload) fg1_D  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8:V:^`KaSs  
8t3,}}TJ  
UR;F W`  
struts.multipart.saveDir  'Q\I@s }  
      The directory to use for storing uploaded files m4FT^ ^3yE  
      设置存储上传文件的目录夹 pUV3n 1{2  
9\F:<Bf$#  
struts.objectFactory uzA"+cV5  
      The com.opensymphony.xwork2.ObjectFactory implementation class  3LKL,z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Z/nTI 0N{  
l*;Isz:  
struts.objectFactory.spring.autoWire V@6,\1#`|  
      Whether Spring should autoWire or not :sD/IM",},  
      是否自动绑定Spring hiKgV|ZD  
A1`y_ Aj  
struts.objectFactory.spring.useClassCache =<nx [J  
      Whether Spring should use its class cache or not eq)8V x0  
      是否spring应该使用自身的cache A|!u`^p  
%hcn|-" F  
struts.objectTypeDeterminer oZ% rzLH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class KtWn08D!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5(F @KeH>  
Dk$[b9b  
struts.serve.static.browserCache :_R[@?c  
If static content served by the Struts filter should set browser caching header properties or not 1p#O(o  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 x| jBn}  
tE"aNA#=  
struts.serve.static X"yj sk  
      Whether the Struts filter should serve static content or not 1an?/j,  
      是否struts过滤器应该提供静态内容 JVO,@~~  
7`,A]":;  
struts.tag.altSyntax {<XPE:1>Y  
      Whether to use the alterative syntax for the tags or not =b+W*vUAw  
      是否可以用替代的语法替代tags HFV4S]U=  
nSWW^ ;  
struts.ui.templateDir 3\J-=U  
      The directory containing UI templates ?2D1gjr  
      UI templates的目录夹 D@ :w/W  
q$>/~aVM  
struts.ui.theme F2QX ^*  
      The default UI template theme &gdtI  
      默认的UI template主题 )%e`SGmp  
2u0C ~s  
struts.url.http.port _=ani9E]uF  
      The HTTP port used by Struts URLs >^vyp!  
      设置http端口 L`>uO1O  
fI:j@Wug  
struts.url.https.port \nQV{J  
      The HTTPS port used by Struts URLs l(;~9u0sa  
      设置https端口 q'u^v PO  
}cDw9;~D  
struts.url.includeParams laVqI|0q  
      The default includeParams method to generate Struts URLs :CH?,x^!@  
      在url中产生 默认的includeParams !?t#QD o  
dW hU o\>=  
? OrRTRW  
struts.velocity.configfile zd1X(e<|{  
      The Velocity configuration file path f=0U&~  
      velocity配置文件路径 H^UuT  
bB01aiUw@l  
struts.velocity.contexts m0I/X$-Cl5  
      List of Velocity context names \4;}S&`k  
      velocity的context列表 G$b*N4yR  
y#%*aV}|B  
?f{{{0$S  
struts.velocity.manager.classname u,]?_bK)  
      org.apache.struts2.views.velocity.VelocityManager implementation class {9(#X]'  
      org.apache.struts2.views.velocity.VelocityManager接口名 F' eV%g  
X%ii z  
struts.velocity.toolboxlocation Oj6PmUK4  
      The location of the Velocity toolbox n)]]g3y2  
      velocity工具盒的位置 <PCa37  
struts.xslt.nocache #SNwSx&  
      Whether or not XSLT templates should not be cached oqu; D'8  
      是否XSLT模版应该被缓存 k%UE^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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