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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 aGD< #]  
IO%kXF.[  
struts.action.extension jeC=s~  
      The URL extension to use to determine if the request is meant for a Struts action 0fsVbC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3Ua?^2l  
x)PW4{3qR  
struts.configuration GKBoSSnV&  
      The org.apache.struts2.config.Configuration implementation class 8dczC  
        org.apache.struts2.config.Configuration接口名 M8/a laoT  
7~7L5PRW  
struts.configuration.files Su#0 F0  
      A list of configuration files automatically loaded by Struts w#"\*SKK  
      struts自动加载的一个配置文件列表 idI w7hi4  
bZnOX*y]  
struts.configuration.xml.reload S_ATsG*(  
      Whether to reload the XML configuration or not I3t5S;_8  
      是否加载xml配置(true,false) hOj{y2sc  
N^L@MR-  
struts.continuations.package 5ya9VZ5#  
      The package containing actions that use Rife continuations Kj4/fB  
      含有actions的完整连续的package名称 Pe,>ny^J1  
?.~1%l!  
struts.custom.i18n.resources zx.qN  
      Location of additional localization properties files to load B~Sj#(WEa  
      加载附加的国际化属性文件(不包含.properties后缀) l1+l@r\  
&K^0PzWWof  
struts.custom.properties -  x  
      Location of additional configuration properties files to load ai !u+L  
      加载附加的配置文件的位置 NoI|Dz  
pj>R9zpn_  
R<|\Z@z  
struts.devMode :/5m D  
      Whether Struts is in development mode or not 78& |^sq  
      是否为struts开发模式 0Hnj<|HL  
)jM%bUk,!  
struts.dispatcher.parametersWorkaround q W(@p`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iU)I"#\l'k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KOcB#UHJ  
+3v)@18B1  
struts.enable.DynamicMethodInvocation ^m\o(R  
      Allows one to disable dynamic method invocation from the URL S=@+qcI  
        允许动态方法调用 o@meogkL  
iE%"Q? Q/  
struts.freemarker.manager.classname ~A0]vcP  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mqSVd^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 1T^WMn:U  
cO?*(e1m=  
struts.i18n.encoding %>|FJ  
      The encoding to use for localization messages "[) G{VzT  
      国际化信息内码 2#wnJdr6E  
c{q+h V=  
struts.i18n.reload (.J/Ql0Y  
      Whether the localization messages should automatically be reloaded 8_Oeui(i  
      是否国际化信息自动加载 J Enjc/  
{cK<iQJ  
struts.locale -^p{J TB+  
      The default locale for the Struts application  s*u A3}j  
      默认的国际化地区信息 MAa9JA8kw)  
)_#V>cvNG  
struts.mapper.class +R'8$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qCs/sW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~k*]Z8Z  
!3b& S4  
struts.multipart.maxSize  3.&BhLT  
      The maximize size of a multipart request (file upload) GS;GJsAs  
      multipart请求信息的最大尺寸(文件上传用) l+ }=D@l  
P{Nvt/%  
struts.multipart.parser DV5hTw0  
      The org.apache.struts2.dispatcher.multipart. T KZtoQP%  
      MultiPartRequest parser implementation for a multipart request (file upload) :V/".K-:J  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j\}.GM'8  
=s\$i0A2  
F^dJ{<yX  
struts.multipart.saveDir ~Ztn(1N  
      The directory to use for storing uploaded files XYcZ;Z9:  
      设置存储上传文件的目录夹 [LVXXjkFI  
v({O*OR  
struts.objectFactory 1?'4%>kp  
      The com.opensymphony.xwork2.ObjectFactory implementation class {vu\qXmMv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) x@#>l8k?  
;*%rFt9FK  
struts.objectFactory.spring.autoWire !HTOE@  
      Whether Spring should autoWire or not prJd'  
      是否自动绑定Spring V,r~%p  
J( 1Tl  
struts.objectFactory.spring.useClassCache w2B)$u  
      Whether Spring should use its class cache or not !LK xZ"  
      是否spring应该使用自身的cache `>"#d ?,  
M5bE5C  
struts.objectTypeDeterminer 8h] TI_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class r8:r}Qj2w[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z}vT8qoX  
g->*@%?<w>  
struts.serve.static.browserCache Bii'^^I;?  
If static content served by the Struts filter should set browser caching header properties or not @pH2"k| @  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rS@/@jKZE  
~WA@YjQ]  
struts.serve.static 7?dWAUF  
      Whether the Struts filter should serve static content or not }Rh\JDiQ  
      是否struts过滤器应该提供静态内容 ! ._q8q\  
n|5\Q  
struts.tag.altSyntax Sca"LaW1  
      Whether to use the alterative syntax for the tags or not Nm)3   
      是否可以用替代的语法替代tags J|W E&5'  
dGZie .Zx  
struts.ui.templateDir ':.Hz]]/A  
      The directory containing UI templates tLzLO#/n  
      UI templates的目录夹 }geb959  
YZ~MByu  
struts.ui.theme p%I)&- 8  
      The default UI template theme  'z} t= ?  
      默认的UI template主题 eo+<@83  
/k'7j*t Z  
struts.url.http.port ;L-=z]IR,  
      The HTTP port used by Struts URLs \%7*@&  
      设置http端口 M5#wz0  
M+ [ho]  
struts.url.https.port SVU>q:ab  
      The HTTPS port used by Struts URLs %`]+sg[i  
      设置https端口 xs= ~N  
yTZev|ej@  
struts.url.includeParams VR (R.  
      The default includeParams method to generate Struts URLs NK|UeL7ght  
      在url中产生 默认的includeParams sVyV|!K  
|k.'w<6mb9  
/+*"*Br/  
struts.velocity.configfile xsa`R^5/c  
      The Velocity configuration file path _xKn2?d8g  
      velocity配置文件路径 2^r~->  
H07\z1?.K  
struts.velocity.contexts sK2N3 B&6  
      List of Velocity context names *OLqr/ yb  
      velocity的context列表 R"W}\0k  
`7/(sX.  
=WTSaC  
struts.velocity.manager.classname =:rg1wo"c  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7d;|?R-8D  
      org.apache.struts2.views.velocity.VelocityManager接口名 H )ej]DXy  
w/|&N>ZOx  
struts.velocity.toolboxlocation 7 $y;-[E[  
      The location of the Velocity toolbox  l<6G Z  
      velocity工具盒的位置 =RB {.%  
struts.xslt.nocache "BQnP9  
      Whether or not XSLT templates should not be cached Fi``l )Tt  
      是否XSLT模版应该被缓存 b,'O|s]"Sc  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八