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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $a#-d;  
T0e- X  
struts.action.extension f`vu+nw  
      The URL extension to use to determine if the request is meant for a Struts action /$'|`jKsB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [,0[\NC  
Kl/n>qEt  
struts.configuration UbDpSfub  
      The org.apache.struts2.config.Configuration implementation class   -]. a0  
        org.apache.struts2.config.Configuration接口名 Dbg,|UH  
V'^E'[Dd{  
struts.configuration.files /UG]hJ-wn  
      A list of configuration files automatically loaded by Struts vrq5 +K&||  
      struts自动加载的一个配置文件列表 +l27y0>t  
vq` M]1]FO  
struts.configuration.xml.reload +(U;+6 b  
      Whether to reload the XML configuration or not csjCXT=Ve  
      是否加载xml配置(true,false) ,CxIA^  
90Bn}@t=Q  
struts.continuations.package *8Kx y@  
      The package containing actions that use Rife continuations s9rKXY',:l  
      含有actions的完整连续的package名称 "&%Lhyt  
7U1^=Y@t}  
struts.custom.i18n.resources H8!)zZ  
      Location of additional localization properties files to load 5"9 '=LV~  
      加载附加的国际化属性文件(不包含.properties后缀) OK" fFv  
?1.W F}X'  
struts.custom.properties 34F;mr"yp  
      Location of additional configuration properties files to load j"r7M|Z+V  
      加载附加的配置文件的位置 !nDiAjj  
q|ZzGEj:OV  
V\nj7Gr:sF  
struts.devMode Am@:<J  
      Whether Struts is in development mode or not %?X6TAtH  
      是否为struts开发模式 eh;L])~C  
`$t|O&z  
struts.dispatcher.parametersWorkaround z'&tmje[?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R ~"&E#C  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F*-+5nJ&@  
lBzfBmEB  
struts.enable.DynamicMethodInvocation e'A 1%g)  
      Allows one to disable dynamic method invocation from the URL 1|dXbyUd  
        允许动态方法调用 (B0QBDj!  
cV4]Y(9  
struts.freemarker.manager.classname Aa+<4 R  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class WX* uhR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0uu)0:  
zJ30ZY:  
struts.i18n.encoding 0at['zw  
      The encoding to use for localization messages Q9Vj8JO"{  
      国际化信息内码 z?n6l7sH  
*?pnTQs^  
struts.i18n.reload FQ>y2n=<d  
      Whether the localization messages should automatically be reloaded ~gdnD4[G  
      是否国际化信息自动加载 WD@v<Wx)  
'#a;n  
struts.locale }g& KT!r  
      The default locale for the Struts application 8ZCR9%  
      默认的国际化地区信息 Rn*@)5  
O%f{\Fr  
struts.mapper.class 2f6BZ8H+Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M(1cf(<+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :_|Xr'n`A  
sI6I5  
struts.multipart.maxSize S$=caZ?  
      The maximize size of a multipart request (file upload) seVT| z  
      multipart请求信息的最大尺寸(文件上传用) \dbaY:(  
pVM1%n:#  
struts.multipart.parser CfT(a!;Eox  
      The org.apache.struts2.dispatcher.multipart. j;I( w [@P  
      MultiPartRequest parser implementation for a multipart request (file upload) gZBb /<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JS/~6'uB  
Pk;1q?tGw  
Qxfds`4V9i  
struts.multipart.saveDir u2OrH3E4E3  
      The directory to use for storing uploaded files ?Y 5Vje[^  
      设置存储上传文件的目录夹 6~l+wu<$  
C`-CfZZ  
struts.objectFactory x)pR^t7u8  
      The com.opensymphony.xwork2.ObjectFactory implementation class E#Ol{6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }~p%e2<  
3 }3C*w+  
struts.objectFactory.spring.autoWire Res4;C  
      Whether Spring should autoWire or not yMD3h$w3a  
      是否自动绑定Spring bYmk5fpRG  
jZH4]^De  
struts.objectFactory.spring.useClassCache #ro$$I;  
      Whether Spring should use its class cache or not 9Wg;M#c2Y|  
      是否spring应该使用自身的cache E:-~SH}  
q VavP6I  
struts.objectTypeDeterminer <g&.UW4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fCZ"0P3(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~pHuh#>  
`(DHa=s1  
struts.serve.static.browserCache Dbb=d8utE  
If static content served by the Struts filter should set browser caching header properties or not |)br-?2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ArScJ\/Nwv  
hUX8j9N>  
struts.serve.static J*_^~t  
      Whether the Struts filter should serve static content or not v2a(yH  
      是否struts过滤器应该提供静态内容 4TyzD%pOw  
8kC$Z)  
struts.tag.altSyntax ]+b?J0|P<  
      Whether to use the alterative syntax for the tags or not #K*p1}rf  
      是否可以用替代的语法替代tags q#1G4l.  
\y6Y}Cv  
struts.ui.templateDir ]o8yZ x  
      The directory containing UI templates S(^YTb7  
      UI templates的目录夹 :S}ZF$ $j%  
RCi8{~rIvS  
struts.ui.theme Ov4=!o=  
      The default UI template theme C(UWir3mW?  
      默认的UI template主题 CEBu[TT/9  
>FS%-eI6  
struts.url.http.port kd_! S[  
      The HTTP port used by Struts URLs 5!pNo*QK  
      设置http端口 feH&Ug4?G  
Y+kuj],h  
struts.url.https.port 0l/7JH_@V  
      The HTTPS port used by Struts URLs C~?p85  
      设置https端口  deq5u>  
_zzT[}  
struts.url.includeParams ,% 'r:@'  
      The default includeParams method to generate Struts URLs :'xZF2  
      在url中产生 默认的includeParams .3jijc j  
5q'b M  
!I\eIV>0b  
struts.velocity.configfile 9G"4w`P  
      The Velocity configuration file path |eg8F$WU  
      velocity配置文件路径 S6\E  I5S  
[O}D^qp  
struts.velocity.contexts Jr%F#/  
      List of Velocity context names }eI9me@Aa  
      velocity的context列表 #T8jHnI  
MiKq|  
f:y:: z  
struts.velocity.manager.classname Z0O0Q=e\Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class ZsCwNZR  
      org.apache.struts2.views.velocity.VelocityManager接口名 XiV K4sD8  
NH:Bdl3  
struts.velocity.toolboxlocation 1|s` z  
      The location of the Velocity toolbox b|may/xWH  
      velocity工具盒的位置 /VP #J<6L  
struts.xslt.nocache n5efHJU  
      Whether or not XSLT templates should not be cached qsN_EMgbdn  
      是否XSLT模版应该被缓存 g;OR{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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