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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }aHB$}"!  
VfL]O8P>  
struts.action.extension x'E'jh%  
      The URL extension to use to determine if the request is meant for a Struts action n9<roH  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 dXA{+<!!  
Q%,o8E2~  
struts.configuration nZ2mEt  
      The org.apache.struts2.config.Configuration implementation class fWtb mUq  
        org.apache.struts2.config.Configuration接口名 A&NC0K}G!  
D\45l  
struts.configuration.files ifJv~asp   
      A list of configuration files automatically loaded by Struts J)7,&Gc6  
      struts自动加载的一个配置文件列表 p=8M0k  
_Ewy^;S%L  
struts.configuration.xml.reload p\\P50(-  
      Whether to reload the XML configuration or not r+{!@`dYi  
      是否加载xml配置(true,false) 'Yaf\Hp  
&X#x9|=&O  
struts.continuations.package [M7iJcwt  
      The package containing actions that use Rife continuations  |0C|$2  
      含有actions的完整连续的package名称 Z`-)1!  
S7?f5ux   
struts.custom.i18n.resources fd!pM4"0  
      Location of additional localization properties files to load `@f hge  
      加载附加的国际化属性文件(不包含.properties后缀) hQg,#r(JE4  
C&gOA8nf  
struts.custom.properties eeI9[lTw  
      Location of additional configuration properties files to load /I`cS%U  
      加载附加的配置文件的位置 ?YkO+?}+  
"xvV'&lQ  
sUyCAKebRr  
struts.devMode  m+72C]9  
      Whether Struts is in development mode or not z) ]BV=  
      是否为struts开发模式 |!4B Wt  
s]nGpA[!  
struts.dispatcher.parametersWorkaround C;58z 5*,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <eud#v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Y5h)l<P>B  
]HNT(w@  
struts.enable.DynamicMethodInvocation )M&Azbu  
      Allows one to disable dynamic method invocation from the URL }2iKi(io*  
        允许动态方法调用 WL)_8!  
UZ4tq  
struts.freemarker.manager.classname N8DiEB3~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {Gk}3u/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 uNPD~TYN  
$+!}Vtb  
struts.i18n.encoding n3HCd- z  
      The encoding to use for localization messages *hk{q/*Qw  
      国际化信息内码 k2_6<v Z  
MQ9M%>  
struts.i18n.reload ,z0~mN  
      Whether the localization messages should automatically be reloaded ~L \(/[  
      是否国际化信息自动加载 gNEzlx8A  
H649J)v+m  
struts.locale evndw>  
      The default locale for the Struts application t(z(-G|&  
      默认的国际化地区信息 cjy0s+>>  
n7`.<*:  
struts.mapper.class Sq?6R}q%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >n$E e J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 IxEQh)J X  
:uT fhr  
struts.multipart.maxSize T_(e(5  
      The maximize size of a multipart request (file upload) .=b +O~  
      multipart请求信息的最大尺寸(文件上传用) #RLch  
XDrlJvrPL  
struts.multipart.parser )'K!)?&d  
      The org.apache.struts2.dispatcher.multipart. d 40'3]/{  
      MultiPartRequest parser implementation for a multipart request (file upload) vZ_DG}n11  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) W)$|Hm:H  
5x1%oC  
5Re`D|8  
struts.multipart.saveDir R uFu,H-  
      The directory to use for storing uploaded files U47k5s(J  
      设置存储上传文件的目录夹 eBYaq!t k  
^)C$8:@  
struts.objectFactory 9sO{1rF  
      The com.opensymphony.xwork2.ObjectFactory implementation class pxCGE[@`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) I).^,%>Z)  
wEo-a< (  
struts.objectFactory.spring.autoWire ]mO+<{{4X  
      Whether Spring should autoWire or not  jKb=Zkd  
      是否自动绑定Spring d9[6kQ]  
H z < M  
struts.objectFactory.spring.useClassCache Skk3M?  
      Whether Spring should use its class cache or not VvM U)  
      是否spring应该使用自身的cache Tl/Dq(8JH  
^Lg{2hjj  
struts.objectTypeDeterminer P :7l#/x_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ('o; M:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  h>L6{d1  
{6=H/g=:i  
struts.serve.static.browserCache Me K\eZ\  
If static content served by the Struts filter should set browser caching header properties or not 9/X v&<Tn  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 fbx;-He!  
+}G>M=t::  
struts.serve.static k.? T.9  
      Whether the Struts filter should serve static content or not 8tFyNl`c  
      是否struts过滤器应该提供静态内容 $CQwBsYb=  
EbwZZSds1  
struts.tag.altSyntax (PT?h>|St  
      Whether to use the alterative syntax for the tags or not g6a3MJV`  
      是否可以用替代的语法替代tags c J"]yG)=  
k>z-Zg  
struts.ui.templateDir "]\":T  
      The directory containing UI templates BorfEv} SN  
      UI templates的目录夹 P+zI9~N[  
<1'X)n&Kw$  
struts.ui.theme 5f`XFe$8  
      The default UI template theme C"m0"O>  
      默认的UI template主题 HU'`kimWb  
[%)B%h`XGf  
struts.url.http.port KbuGf$Bv  
      The HTTP port used by Struts URLs gx>mKSzy  
      设置http端口 #35S7G^@`  
BI]ut |Qw  
struts.url.https.port ~cg+BAfu  
      The HTTPS port used by Struts URLs W*/s4 N  
      设置https端口 n`I jG  
nO.+&kA  
struts.url.includeParams ;~1/eF  
      The default includeParams method to generate Struts URLs 3_1Io+uXk  
      在url中产生 默认的includeParams M:Y!k<p  
YT 03>!B  
'`goy%Wd  
struts.velocity.configfile CK`3   
      The Velocity configuration file path }yC,uEV  
      velocity配置文件路径 ,w58n%)H  
kV(DnZ#jq  
struts.velocity.contexts A'AWuj\r2R  
      List of Velocity context names d[Fr  
      velocity的context列表 5_tK3Q8?  
u%IKM \  
~PAbLSL*u  
struts.velocity.manager.classname JU%yqXO  
      org.apache.struts2.views.velocity.VelocityManager implementation class /qQ2@k  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]#7Y @Yo  
4[EO[x4C  
struts.velocity.toolboxlocation Nxs%~ wZ   
      The location of the Velocity toolbox ThQEQ6y  
      velocity工具盒的位置 `_{ '?II  
struts.xslt.nocache wM&x8 <  
      Whether or not XSLT templates should not be cached fvBC9^3  
      是否XSLT模版应该被缓存 zl8\jP  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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