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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Bv@m)$9\+3  
JT^E `<nn  
struts.action.extension r5iO%JFg  
      The URL extension to use to determine if the request is meant for a Struts action @#H{nj Z  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0I?3@Nz6  
a\m10Ih:  
struts.configuration mLY*  
      The org.apache.struts2.config.Configuration implementation class <CmsnX  
        org.apache.struts2.config.Configuration接口名 .Um%6a-  
1I^Sv  
struts.configuration.files ;+b}@e  
      A list of configuration files automatically loaded by Struts ]:E]5&VwV}  
      struts自动加载的一个配置文件列表 v V^GIWK  
c[y=K)<Z  
struts.configuration.xml.reload FVQWz[N  
      Whether to reload the XML configuration or not Ft.BfgJ$  
      是否加载xml配置(true,false) mQs'2Y6Oa  
JcVq%~ {M  
struts.continuations.package A#  M  
      The package containing actions that use Rife continuations q=1SP@;\6  
      含有actions的完整连续的package名称 MthThsr7  
kyo ,yD  
struts.custom.i18n.resources V!U[N.&$  
      Location of additional localization properties files to load lIFU7g  
      加载附加的国际化属性文件(不包含.properties后缀) G[>-@9_b  
/l$noaskX  
struts.custom.properties Z|?XQ-R5  
      Location of additional configuration properties files to load Ju9v n44  
      加载附加的配置文件的位置 ^:)&KV8D|  
wbS++cF<  
610k#$  
struts.devMode cT0g, ^&  
      Whether Struts is in development mode or not }t-r:R$,  
      是否为struts开发模式 N~ozyIP,  
YYvs~?bAy  
struts.dispatcher.parametersWorkaround 6Rf5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic oV!9B-<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5~"=Fm<uD  
 zm.2L  
struts.enable.DynamicMethodInvocation sk3 ;;<H  
      Allows one to disable dynamic method invocation from the URL 0?h .X= G  
        允许动态方法调用 (_08?cN  
`WW0~Tp3  
struts.freemarker.manager.classname O46/[{p+8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Elq8WtS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4QVd{  
M1M]]fT0ME  
struts.i18n.encoding 8Z!ea3kAT  
      The encoding to use for localization messages K/,lw~>  
      国际化信息内码 mDmWTq\  
j&mL]'Zy  
struts.i18n.reload PYf`a`dH  
      Whether the localization messages should automatically be reloaded A{o{o++  
      是否国际化信息自动加载 v: 0i5h&M  
]1[;A$7  
struts.locale g:clSN,  
      The default locale for the Struts application '~cEdGD9H  
      默认的国际化地区信息 V V4_  
>lW*%{|b$^  
struts.mapper.class C/Z"W@7#;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TatyD**(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }00e@a  
-&A[{m<,>  
struts.multipart.maxSize G9[-|[j^N  
      The maximize size of a multipart request (file upload) Jr9}'l8  
      multipart请求信息的最大尺寸(文件上传用) .0|J+D  
yW&i Uh=0  
struts.multipart.parser !jW32$YTR  
      The org.apache.struts2.dispatcher.multipart. E)E!  
      MultiPartRequest parser implementation for a multipart request (file upload) Ttj5% ~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z%R%D*f@y  
>`uSNY"tO  
RVsNr rZ  
struts.multipart.saveDir M Sj0D2H  
      The directory to use for storing uploaded files _YS+{0 Vq%  
      设置存储上传文件的目录夹 dW`D?$(@,  
-CrZ'k;4  
struts.objectFactory y {]%,  
      The com.opensymphony.xwork2.ObjectFactory implementation class }sU\6~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |@HdTGD  
7e<Q{aB  
struts.objectFactory.spring.autoWire I@ k8^  
      Whether Spring should autoWire or not Jq#Cn+zW  
      是否自动绑定Spring F%d"gF0qu  
^-!HbbVv  
struts.objectFactory.spring.useClassCache jQ)>XOok  
      Whether Spring should use its class cache or not TH!8G,(w  
      是否spring应该使用自身的cache pQY>  
Q2NnpsA^6  
struts.objectTypeDeterminer 's?Fip  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kU/=Du  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3>" h*U#  
U;GoC$b}|  
struts.serve.static.browserCache (<Xdj^v  
If static content served by the Struts filter should set browser caching header properties or not C(|5,P#5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +_dYfux  
\xxVDr.  
struts.serve.static i 8Xz  
      Whether the Struts filter should serve static content or not ~a%hRJg  
      是否struts过滤器应该提供静态内容 RKkI/Z0  
NR&9:?  
struts.tag.altSyntax *"\Q ~#W  
      Whether to use the alterative syntax for the tags or not m[j3s=Gr  
      是否可以用替代的语法替代tags HJR<d&l;p  
zYdtQjv  
struts.ui.templateDir i@Zj 7#e*  
      The directory containing UI templates )^Pvm  
      UI templates的目录夹 B?y t%f1  
:(`>bY  
struts.ui.theme CJixK>Y^  
      The default UI template theme ~bTae =FP  
      默认的UI template主题 -<!17jy  
1>VS/H`  
struts.url.http.port p8dn-4  
      The HTTP port used by Struts URLs X); Zm7  
      设置http端口 &;U7/?Q  
~UC/|t$  
struts.url.https.port zD;] sk4  
      The HTTPS port used by Struts URLs Te}yQ=+  
      设置https端口 !u}3H|6~  
J*!:ar  
struts.url.includeParams ;-GzGDc~0  
      The default includeParams method to generate Struts URLs pHB35=p28  
      在url中产生 默认的includeParams y9li<u<PF  
Q'% o;z*  
u^zitW!X$  
struts.velocity.configfile BQ&q<6Tk  
      The Velocity configuration file path V )k, 9=  
      velocity配置文件路径 y32++b!  
MW~B[%/  
struts.velocity.contexts 9[{>JRm.  
      List of Velocity context names `L#?eQ{  
      velocity的context列表 LIC~Kehi  
l\;mP.!  
Jx$#GUl#j  
struts.velocity.manager.classname )?&kQ^@v  
      org.apache.struts2.views.velocity.VelocityManager implementation class E 'JC  
      org.apache.struts2.views.velocity.VelocityManager接口名 qmeml_(W  
(TNY2Ke2 8  
struts.velocity.toolboxlocation 7b,,%rUd  
      The location of the Velocity toolbox J%:/<uCmZ  
      velocity工具盒的位置 4)+IO;  
struts.xslt.nocache %Rep6=K*$  
      Whether or not XSLT templates should not be cached p <=%  
      是否XSLT模版应该被缓存 !NLvo_[Y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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