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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tZm`(2S  
I<,~>'cq.  
struts.action.extension US^%pd  
      The URL extension to use to determine if the request is meant for a Struts action [` }w7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nk_X_y  
3Nwix_&S  
struts.configuration .fhfb\$  
      The org.apache.struts2.config.Configuration implementation class |'JN<?   
        org.apache.struts2.config.Configuration接口名 g.blDOmlc  
Z]WX 7d  
struts.configuration.files | oM`  
      A list of configuration files automatically loaded by Struts ;$1x_ Cb  
      struts自动加载的一个配置文件列表 2~7*jA+Ab  
"VHT5k  
struts.configuration.xml.reload lj8ficANo  
      Whether to reload the XML configuration or not =sv?))b`  
      是否加载xml配置(true,false) Y,yU460T8  
s]`6u yW"  
struts.continuations.package 2 M\7j  
      The package containing actions that use Rife continuations #`= >Mza  
      含有actions的完整连续的package名称 6/Yo0D>M$  
4+nZ4a>LH?  
struts.custom.i18n.resources $Q}L*4?]  
      Location of additional localization properties files to load p,|)qr:M  
      加载附加的国际化属性文件(不包含.properties后缀) R/fE@d2~In  
u rQvJ  
struts.custom.properties F7w\ctUP  
      Location of additional configuration properties files to load 6(t'B!x  
      加载附加的配置文件的位置 CS*lk!C  
uOKD#   
bG*l_  
struts.devMode ?/5<}W#7}  
      Whether Struts is in development mode or not xluA jOQ6  
      是否为struts开发模式 GUM-|[~  
J#4pA{01w  
struts.dispatcher.parametersWorkaround \I/"W#\SJo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =jpRv<X|,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PY4a3dp U  
{iq^CHAVK  
struts.enable.DynamicMethodInvocation 1:M'|uc  
      Allows one to disable dynamic method invocation from the URL xaB#GdD  
        允许动态方法调用 7mv([}Va  
nRw.82eK.  
struts.freemarker.manager.classname kB5y}v.3 S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7h!nt=8Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 EbVC4uY  
/NR*<,c%  
struts.i18n.encoding QhAYCw2  
      The encoding to use for localization messages oa5L5Zr,A  
      国际化信息内码 j jv'"K2  
+XX5;;IC  
struts.i18n.reload BILZ XMf  
      Whether the localization messages should automatically be reloaded Yt:%)&50}-  
      是否国际化信息自动加载  r3OtQ  
;9fWxH  
struts.locale EV* |\ te  
      The default locale for the Struts application -iW>T5f  
      默认的国际化地区信息 tQyQ+1  
WLh!L='{BK  
struts.mapper.class vO"E4s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class J|o<;9dg1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 KyDd( 'i  
){u# (sW  
struts.multipart.maxSize !Q%r4Nr  
      The maximize size of a multipart request (file upload) z Z~t ,>  
      multipart请求信息的最大尺寸(文件上传用) l ObY  
CI \O)iB  
struts.multipart.parser ts@ e ,  
      The org.apache.struts2.dispatcher.multipart. DIvxut  
      MultiPartRequest parser implementation for a multipart request (file upload) tpeMq -  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |pU>^  
prIJjy-F  
zH~g5xgh  
struts.multipart.saveDir w)YTHY (k;  
      The directory to use for storing uploaded files 9n\v{k=  
      设置存储上传文件的目录夹 Zw/??Tq b  
&@2`_%QtA  
struts.objectFactory eUgKwu;  
      The com.opensymphony.xwork2.ObjectFactory implementation class #a8i($k{e  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CJ#Yu3}  
bOV]!)o  
struts.objectFactory.spring.autoWire v"J|Ebx  
      Whether Spring should autoWire or not ,d=Dicaz  
      是否自动绑定Spring ms+gq  
xFp9H'j{  
struts.objectFactory.spring.useClassCache #X5Tt  ;  
      Whether Spring should use its class cache or not %V!!S#W  
      是否spring应该使用自身的cache S|IDFDn  
A  j>  
struts.objectTypeDeterminer 9w\C vO&R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wG22ffaki  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  Zzr  
. ve a[  
struts.serve.static.browserCache Ftu d6  
If static content served by the Struts filter should set browser caching header properties or not '1 \UFz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +gb"} cN  
gkx<<)y l  
struts.serve.static OnE~0+  
      Whether the Struts filter should serve static content or not ]k.YG!$  
      是否struts过滤器应该提供静态内容 LQ"xm  
7{=+Va5  
struts.tag.altSyntax ;, u7)  
      Whether to use the alterative syntax for the tags or not u$x'P <b  
      是否可以用替代的语法替代tags KVpQ,x&q~  
8RVeKnpXTV  
struts.ui.templateDir t;[?Q\  
      The directory containing UI templates E0Kt4%b  
      UI templates的目录夹 _eaK:EW  
]=]`Mnuxb  
struts.ui.theme HR?a93  
      The default UI template theme '494^1"io  
      默认的UI template主题 G0x!:[  
CH=k=)() ]  
struts.url.http.port 7{ QjE  
      The HTTP port used by Struts URLs V%J_iY/BUb  
      设置http端口 -$y/*'  
O'W[/\A56M  
struts.url.https.port 2fdC @V  
      The HTTPS port used by Struts URLs 5 |oi*b  
      设置https端口 yrrP#F  
]-u>HO g\  
struts.url.includeParams mC`U"rlK~  
      The default includeParams method to generate Struts URLs y@]:7  
      在url中产生 默认的includeParams G\S_e7$ /  
rJcZ a#  
t-J\j"~%+  
struts.velocity.configfile ]B-3Lh  
      The Velocity configuration file path \MmKz^tO  
      velocity配置文件路径 Oj.xJ(uX+v  
zLVk7u{e  
struts.velocity.contexts :}fIu?hCA  
      List of Velocity context names DYL\=ya1  
      velocity的context列表 &vS@-K  
",Fqpu&M  
0kld77tn 2  
struts.velocity.manager.classname [Z+E_Lbz  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^g N?Io  
      org.apache.struts2.views.velocity.VelocityManager接口名 s!K9-qZl<  
K9euNa  
struts.velocity.toolboxlocation (k5d.E]CK  
      The location of the Velocity toolbox 3VmF1w 2  
      velocity工具盒的位置 1?ST*b  
struts.xslt.nocache DUu~s,A  
      Whether or not XSLT templates should not be cached )'t&LWS~  
      是否XSLT模版应该被缓存 NiH.Pv)Oa'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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