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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 XFKe6:  
/#lhRNX  
struts.action.extension :6~Nq/hZB  
      The URL extension to use to determine if the request is meant for a Struts action I},.U&r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #pO=\lJ,  
$_IvzbOh  
struts.configuration 8 9o&KF]  
      The org.apache.struts2.config.Configuration implementation class i#]}k  
        org.apache.struts2.config.Configuration接口名 PKFjM~J  
Evu`e=LaG  
struts.configuration.files ,|6 O}E&  
      A list of configuration files automatically loaded by Struts FFX-kS  
      struts自动加载的一个配置文件列表 0=O(+ yi  
wd*8w$\  
struts.configuration.xml.reload 9"hH2jc  
      Whether to reload the XML configuration or not  "TE F  
      是否加载xml配置(true,false) .P(k |D&  
Ro3C(aRx  
struts.continuations.package BBuI|lr  
      The package containing actions that use Rife continuations j}O~6A>|  
      含有actions的完整连续的package名称 UgI0 *PE2  
~SUrbRaY>  
struts.custom.i18n.resources z#9Tg"8]  
      Location of additional localization properties files to load "g27|e?y  
      加载附加的国际化属性文件(不包含.properties后缀) _#32hAI  
p_%dH  
struts.custom.properties -E{D' X  
      Location of additional configuration properties files to load 1oU/gm$7\q  
      加载附加的配置文件的位置 0%J0.USkM7  
9/2VU< K  
AB(WK9o  
struts.devMode =2v/f_  
      Whether Struts is in development mode or not z7TMg^9 #  
      是否为struts开发模式 Io_bS+  
8'XAZSd(  
struts.dispatcher.parametersWorkaround -wn ,7;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^f6p w!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ov;1=M~RF  
mD@*vq  
struts.enable.DynamicMethodInvocation ;B*im S10  
      Allows one to disable dynamic method invocation from the URL wT\JA4  
        允许动态方法调用 'kBg3E$y  
A1>fNilC9  
struts.freemarker.manager.classname  wO<.wPa`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class N)yCGo  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 oVlh4"y#Lf  
h pf,44Kg  
struts.i18n.encoding zI-]K,!  
      The encoding to use for localization messages >_XC  
      国际化信息内码 F(h jP  
(4]M7b[S$  
struts.i18n.reload :Kq]b@ X  
      Whether the localization messages should automatically be reloaded 9r2l~zE  
      是否国际化信息自动加载 RvQa&r5l  
@vyq?H$U;N  
struts.locale #BtJo:  
      The default locale for the Struts application ri.}G  
      默认的国际化地区信息 9-:\ NH^;  
,X`w/ 2O  
struts.mapper.class +G: CR,Z>+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :/A7Z<u,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ymvd3>_  
a+mrsyM  
struts.multipart.maxSize w?#s)z4}g  
      The maximize size of a multipart request (file upload) Cb}I-GtO  
      multipart请求信息的最大尺寸(文件上传用) N!~O~ Eo3  
 zSd!n  
struts.multipart.parser Ww=^P{q\  
      The org.apache.struts2.dispatcher.multipart. Gxhr0'  
      MultiPartRequest parser implementation for a multipart request (file upload) sdp3geBYo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XXD LbT'J  
XrUc`  
[L m  
struts.multipart.saveDir nh XVc((  
      The directory to use for storing uploaded files 7q%xF#mK=  
      设置存储上传文件的目录夹 ^sVr#T  
n2A ; `=  
struts.objectFactory sP:nTpTsC  
      The com.opensymphony.xwork2.ObjectFactory implementation class wn-1fz <d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *Jwx,wF}4  
ldFR%v> 9  
struts.objectFactory.spring.autoWire zgNzdO/B  
      Whether Spring should autoWire or not =;Q:z^S  
      是否自动绑定Spring 0u) m9eg  
h0.2^vM)R  
struts.objectFactory.spring.useClassCache n }kn|To~  
      Whether Spring should use its class cache or not /\. [@]  
      是否spring应该使用自身的cache \s?8}k  
jK-b#h.gL  
struts.objectTypeDeterminer C'7DG\pr  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class r'(*#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `92P~Y~`W  
Gf=3h4  
struts.serve.static.browserCache b(_f{R7PY  
If static content served by the Struts filter should set browser caching header properties or not do.AesdXaq  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 FUVp}>#U  
8IkmFXj  
struts.serve.static oRZ98?Y\B  
      Whether the Struts filter should serve static content or not "wy2u~  
      是否struts过滤器应该提供静态内容 j:2TicHDC  
[KL-T16  
struts.tag.altSyntax j-cp  
      Whether to use the alterative syntax for the tags or not 5,R4:y ?cK  
      是否可以用替代的语法替代tags ?}e^-//*i  
[XE\2Qa8e  
struts.ui.templateDir "&:H }Jd  
      The directory containing UI templates xx@[ecW  
      UI templates的目录夹 i!{A7mo  
,njlKkFw^Z  
struts.ui.theme >[2;  
      The default UI template theme  j iejs*  
      默认的UI template主题 S6g_$ Q7  
h! Bg} B~  
struts.url.http.port eDsB.^|l  
      The HTTP port used by Struts URLs B[3u,<opFU  
      设置http端口 jp;]dyU  
4/ WKR3X  
struts.url.https.port }K^v Ujl  
      The HTTPS port used by Struts URLs IeZ9 "o h  
      设置https端口 A$M8w9  
O dbXna  
struts.url.includeParams ff;~k?L  
      The default includeParams method to generate Struts URLs P;`Awp?  
      在url中产生 默认的includeParams D0Mxl?S?  
&,P; 7R  
a&2UDl%K  
struts.velocity.configfile [vY#9W"!  
      The Velocity configuration file path ]Cs=EZr  
      velocity配置文件路径 [D+,I1u2h  
fGd1  
struts.velocity.contexts ppo0DC\>  
      List of Velocity context names 9 JhCSw-<)  
      velocity的context列表 u`ry CZo#g  
q3v v^~  
G6.lRaPu"m  
struts.velocity.manager.classname ?b:Pl{?  
      org.apache.struts2.views.velocity.VelocityManager implementation class jOU99X\0  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;X^#$*=Q  
OxPl0-]t  
struts.velocity.toolboxlocation &) 64:l&  
      The location of the Velocity toolbox 182g6/,  
      velocity工具盒的位置 O/U?Wq  
struts.xslt.nocache HSWki';G  
      Whether or not XSLT templates should not be cached {+m8^-T  
      是否XSLT模版应该被缓存 ,CI-IR2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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