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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {`HbpM<=m]  
gS(3m_  
struts.action.extension ;>,B(Xz4i  
      The URL extension to use to determine if the request is meant for a Struts action qq)5)S  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZflB<cI  
s_^`t+5  
struts.configuration ko%mZ0Y  
      The org.apache.struts2.config.Configuration implementation class F|%PiC,,qO  
        org.apache.struts2.config.Configuration接口名 }Qo]~/  
b9g2mWL\T  
struts.configuration.files ;~3;CijJ8  
      A list of configuration files automatically loaded by Struts 2/SUEnaLy_  
      struts自动加载的一个配置文件列表 g[cnaS|?  
u#6s^ )W  
struts.configuration.xml.reload {i>AQ+z61f  
      Whether to reload the XML configuration or not !@C-|=9G  
      是否加载xml配置(true,false) Zpd-ob  
'o='Q)Dk  
struts.continuations.package /_{-~0Z=@B  
      The package containing actions that use Rife continuations T;u;r@R/  
      含有actions的完整连续的package名称 P@y)K!{Nk  
r CJ$Pl9R  
struts.custom.i18n.resources *`a$6F7m4  
      Location of additional localization properties files to load tP_.-//  
      加载附加的国际化属性文件(不包含.properties后缀) r] /Ej!|  
C  eEhe  
struts.custom.properties 7mtx^  
      Location of additional configuration properties files to load *r.% /^@  
      加载附加的配置文件的位置 >s<Bu'r  
N8]DzE0%  
[I;C 6p  
struts.devMode RHsVG &<j  
      Whether Struts is in development mode or not D#nHg  
      是否为struts开发模式 <Zva  
6 ;'s9s"  
struts.dispatcher.parametersWorkaround 8UB2 du@?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1 |z4]R,<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jHEP1rNHE  
`8ob Xb  
struts.enable.DynamicMethodInvocation lhM5a \  
      Allows one to disable dynamic method invocation from the URL RFM;?!S  
        允许动态方法调用 A6z2KVk  
 II'.vp  
struts.freemarker.manager.classname fhi}x(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?0)K[Kd'Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5Q"yn2b4  
bI.hG32  
struts.i18n.encoding nw+t!C  
      The encoding to use for localization messages RIkIE=+6  
      国际化信息内码 'c~SE>  
vhMoCLb  
struts.i18n.reload taDe^Ist j  
      Whether the localization messages should automatically be reloaded 8{Wl   
      是否国际化信息自动加载 +B{u,xgg  
ybpOk  
struts.locale ) [eTZg  
      The default locale for the Struts application _J*l,]}S  
      默认的国际化地区信息 Zx8$M5  
OX,em Ti  
struts.mapper.class %C%3c4+Oh  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "%K'~"S#Q,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 H~*N:$C  
F=5+JjrX  
struts.multipart.maxSize K0>;4E>B  
      The maximize size of a multipart request (file upload) gpq ,rOIK  
      multipart请求信息的最大尺寸(文件上传用) o^@#pU <  
KXZ G42w  
struts.multipart.parser >QDyG8*  
      The org.apache.struts2.dispatcher.multipart. H2iIBGu|L  
      MultiPartRequest parser implementation for a multipart request (file upload) t!4 (a0\$F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hq4&<Zr(  
P%B|HnG^  
mN-O{k0\  
struts.multipart.saveDir +:Xg7H*  
      The directory to use for storing uploaded files e"1mdw"  
      设置存储上传文件的目录夹 ^/%o I;O{  
wsdZwik  
struts.objectFactory '*[7O2\%/  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5NkF_&S_1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) eP (*.  
q AVypP?J  
struts.objectFactory.spring.autoWire |>P:R4P  
      Whether Spring should autoWire or not xlcCL?qQj  
      是否自动绑定Spring -qpvVLR,  
HM(X8iNt  
struts.objectFactory.spring.useClassCache N[9o6Nl|a  
      Whether Spring should use its class cache or not Ri"rT] '  
      是否spring应该使用自身的cache j7d^g a-`  
xJ#O|7N  
struts.objectTypeDeterminer 5X8 i=M;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]G&[P8hz B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'h ?  
/@Jg [na  
struts.serve.static.browserCache ql%K+4@  
If static content served by the Struts filter should set browser caching header properties or not i=5!taxu}E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eG+$~\%Fub  
O-0 5.  
struts.serve.static 'RwfW|~6  
      Whether the Struts filter should serve static content or not ^?|4<Rm  
      是否struts过滤器应该提供静态内容 BgN^].z&  
;=2JbA+"G  
struts.tag.altSyntax zM8 jjB  
      Whether to use the alterative syntax for the tags or not k %{q q v  
      是否可以用替代的语法替代tags !C4)P3k  
.WeSU0XG  
struts.ui.templateDir Q@p' nE,  
      The directory containing UI templates pv4#`.m  
      UI templates的目录夹 BZOl&G(  
dJzaP  
struts.ui.theme E*R-Dno_F  
      The default UI template theme GRpwEfG  
      默认的UI template主题 t<+>E_Xw  
Z$i?p;HnW  
struts.url.http.port "cS7E5-|  
      The HTTP port used by Struts URLs 0^L:`[W+  
      设置http端口 |0^IX   
;"f9"  
struts.url.https.port &'neOf/~  
      The HTTPS port used by Struts URLs R,7.o4Wt  
      设置https端口 p%Q{Rqc)  
e`B!)Sr  
struts.url.includeParams zp4@T)  
      The default includeParams method to generate Struts URLs ;B< rw ^h5  
      在url中产生 默认的includeParams + S5uxO  
Tq^B>{S "  
(^T}6t3+4  
struts.velocity.configfile A?-t`J  
      The Velocity configuration file path /:-ig .YY  
      velocity配置文件路径 ; p+C0!B2  
8xj_)=(sV!  
struts.velocity.contexts )4o k@^.  
      List of Velocity context names { zL4dJw  
      velocity的context列表 j0F& WKk  
I(>_as\1  
]c\`EHN  
struts.velocity.manager.classname Hl}m*9<9us  
      org.apache.struts2.views.velocity.VelocityManager implementation class >y}> 5kv  
      org.apache.struts2.views.velocity.VelocityManager接口名 7u1o>a %9  
iyR5mA  
struts.velocity.toolboxlocation g}?39?o4  
      The location of the Velocity toolbox 8eCh5*_$  
      velocity工具盒的位置 amQiH!}8R  
struts.xslt.nocache H>\l E2  
      Whether or not XSLT templates should not be cached }If,O  
      是否XSLT模版应该被缓存 $/u.F;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八