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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;]iRk  
N$DkX)Z  
struts.action.extension d@^ZSy>L2  
      The URL extension to use to determine if the request is meant for a Struts action K;(mC<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 y^k$Us  
`gJ(0#ac  
struts.configuration ~zgGa:uU  
      The org.apache.struts2.config.Configuration implementation class Kgv T"s.  
        org.apache.struts2.config.Configuration接口名 (ZGbh MK  
nu^436MSOa  
struts.configuration.files phK/   
      A list of configuration files automatically loaded by Struts _&x%^&{  
      struts自动加载的一个配置文件列表 GeqPRah  
!W\+#ez  
struts.configuration.xml.reload u y+pP!<  
      Whether to reload the XML configuration or not S3#>9k;p  
      是否加载xml配置(true,false) CAe!7HiR  
j+!v}*I![  
struts.continuations.package h 0|s  
      The package containing actions that use Rife continuations N;R^h? '  
      含有actions的完整连续的package名称 @L`jk+Y0vF  
*R"/|Ka  
struts.custom.i18n.resources edD)TpmE,  
      Location of additional localization properties files to load CAlCDfKW}  
      加载附加的国际化属性文件(不包含.properties后缀) /efUjkP  
D=$)n_F  
struts.custom.properties =%7-ZH9  
      Location of additional configuration properties files to load teP<!RKNb  
      加载附加的配置文件的位置 Kq!3wb;  
I'Hf{Erw  
x38 QD;MT  
struts.devMode xG 1n GO  
      Whether Struts is in development mode or not E$e5^G9  
      是否为struts开发模式 Smh,zCc>s  
vI?, 47Hj+  
struts.dispatcher.parametersWorkaround [7-?7mp!B  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h;Qk @F  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sT.ss$HY9,  
3%6? g*  
struts.enable.DynamicMethodInvocation zCA2X !7F  
      Allows one to disable dynamic method invocation from the URL [Pp'Ye~K@c  
        允许动态方法调用 J4'eI[73  
y7{?Ip4[  
struts.freemarker.manager.classname IBGrt^$M  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]|@^1we  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 JJnH%Q  
<q836]aa A  
struts.i18n.encoding \wZe] G%S  
      The encoding to use for localization messages bD^owa  
      国际化信息内码 3q.q YX  
RCrCs  
struts.i18n.reload ;a/E42eN;  
      Whether the localization messages should automatically be reloaded !Cs_F&l"j  
      是否国际化信息自动加载 f<_Cq <q"  
Sdo-nt  
struts.locale UG^q9 :t  
      The default locale for the Struts application mDWG7Asp  
      默认的国际化地区信息 i%/+5gq  
x;S @bY  
struts.mapper.class c L]1f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '"^'MXa  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 kM 6 Qp  
kstIgcI  
struts.multipart.maxSize 4*L_)z&4;  
      The maximize size of a multipart request (file upload) -=="<0c  
      multipart请求信息的最大尺寸(文件上传用) %>yL1BeA4  
#WuBL_nZ~  
struts.multipart.parser 3]>|  i  
      The org.apache.struts2.dispatcher.multipart. HQ g^ h  
      MultiPartRequest parser implementation for a multipart request (file upload) ;gkM{={`p  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4 5e~6",  
LLo;\WGZ  
.>S!ji  
struts.multipart.saveDir IPk4 ;,  
      The directory to use for storing uploaded files $ `c:&  
      设置存储上传文件的目录夹 .8R@2c`}Cs  
NUZl`fu1Z4  
struts.objectFactory 8y L Y  
      The com.opensymphony.xwork2.ObjectFactory implementation class -~0^P,yQ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q'DW~!>qX  
Wri<h:1  
struts.objectFactory.spring.autoWire 8Wx=p#_  
      Whether Spring should autoWire or not %{|pj +  
      是否自动绑定Spring 2:kH[#  
+R&gqja  
struts.objectFactory.spring.useClassCache Tx D#9]Q`  
      Whether Spring should use its class cache or not $]d^-{|  
      是否spring应该使用自身的cache }j%5t ~Qa  
"x-j~u?  
struts.objectTypeDeterminer N['  .BN  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class XwmL.Gg:]7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ? k/`  
XTy x r  
struts.serve.static.browserCache KPF1cJ2N  
If static content served by the Struts filter should set browser caching header properties or not SU0 hma8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ! mHO$bQ"  
CrLrw T  
struts.serve.static 3S{ />1Y  
      Whether the Struts filter should serve static content or not ";F'~}bDA  
      是否struts过滤器应该提供静态内容 i@yC-))bY  
s_Sk0}e  
struts.tag.altSyntax #mF"1QW  
      Whether to use the alterative syntax for the tags or not K-4PI+qQ\  
      是否可以用替代的语法替代tags _b 0& !l<  
6Oq 7#3]  
struts.ui.templateDir UNYqft4  
      The directory containing UI templates #e"[^_C@!  
      UI templates的目录夹 "sTRS*  
)8AXm  
struts.ui.theme @]j1:PN-  
      The default UI template theme A"]YM'.  
      默认的UI template主题 rp$'L7lrX  
V`- 9m$  
struts.url.http.port !g[Zfo2r"  
      The HTTP port used by Struts URLs J5qZFD  
      设置http端口 -f .,tM=  
c)J%`i$  
struts.url.https.port ;u JMG  
      The HTTPS port used by Struts URLs 7! Nsm  
      设置https端口 Tk}]Gev  
j%kncGS  
struts.url.includeParams HN"Z]/ 5j  
      The default includeParams method to generate Struts URLs M]^5s;y  
      在url中产生 默认的includeParams F8=+j_UGI  
By |4 m  
.Mbz3;i0  
struts.velocity.configfile l#o ~W`  
      The Velocity configuration file path aN?zmkPpov  
      velocity配置文件路径 /: "1Z]@  
<)9y{J}s:  
struts.velocity.contexts CJ}%W#  
      List of Velocity context names 4Z*/WsCv  
      velocity的context列表 )7F/O3Tq  
4RO}<$Nx}  
4s- !7  
struts.velocity.manager.classname e ,(mR+a8  
      org.apache.struts2.views.velocity.VelocityManager implementation class **%37  
      org.apache.struts2.views.velocity.VelocityManager接口名 lxx2H1([  
RZLq]8pM  
struts.velocity.toolboxlocation 3fj4%P"  
      The location of the Velocity toolbox vXs"Dst  
      velocity工具盒的位置 tmq OJ  
struts.xslt.nocache oR'm2d^  
      Whether or not XSLT templates should not be cached b6bHTH0  
      是否XSLT模版应该被缓存 (QEG4&9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八