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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 c,y|c`T 2  
VL+N: wb>  
struts.action.extension Wy<[(Pd   
      The URL extension to use to determine if the request is meant for a Struts action ~|r~NO 7[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B%tIwUE2  
 nbI= r+  
struts.configuration v6s\Z\v)Q`  
      The org.apache.struts2.config.Configuration implementation class Rj[ hhSx 2  
        org.apache.struts2.config.Configuration接口名 0"EoC  
d0(Cn}m"c  
struts.configuration.files \dRzS@l  
      A list of configuration files automatically loaded by Struts "8N"Udu  
      struts自动加载的一个配置文件列表 M[, D  *  
P|e`^Frxt  
struts.configuration.xml.reload } h[>U  
      Whether to reload the XML configuration or not *>jjMyn  
      是否加载xml配置(true,false) *E:x E/M!2  
F4Zn5&.)  
struts.continuations.package k$h [8l( <  
      The package containing actions that use Rife continuations ,c>N}*6h=W  
      含有actions的完整连续的package名称 aG%kmS&fv  
C+w__gO&r  
struts.custom.i18n.resources mjb { ~  
      Location of additional localization properties files to load x97L6!  
      加载附加的国际化属性文件(不包含.properties后缀) <FY&h#  
}e 9!xA  
struts.custom.properties mN;+TN'?{  
      Location of additional configuration properties files to load St@l]u9  
      加载附加的配置文件的位置 V!4a*,Pz  
Sk:2+inU  
8tLHr@%%  
struts.devMode }j46L1T  
      Whether Struts is in development mode or not < f(?T`  
      是否为struts开发模式 #^6^  
+\0T\;-Xe  
struts.dispatcher.parametersWorkaround J~KX|QY.S  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic d?A}qA[(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _%y4q%#  
G?`-]FMO  
struts.enable.DynamicMethodInvocation KOey8tB)1  
      Allows one to disable dynamic method invocation from the URL DG(%-w8p"  
        允许动态方法调用 [4*1}}gW%5  
i|]7(z#OyI  
struts.freemarker.manager.classname u-JpI-8h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a(;!O}3_)(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *5k+t  
0,_b)  
struts.i18n.encoding tdep|sD  
      The encoding to use for localization messages ~.^AL}zm_  
      国际化信息内码 y6-XHeU  
f'X9HU{Cz  
struts.i18n.reload Xc*U+M >U  
      Whether the localization messages should automatically be reloaded ~S*b  
      是否国际化信息自动加载 T%$jWndI  
rh!;|xB|+  
struts.locale }4&/VvN  
      The default locale for the Struts application "Y;}G lE  
      默认的国际化地区信息 >oGiIYq  
fE]XWA4U  
struts.mapper.class 6cz/n8Mg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B4h5[fPX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =wVJ%  
AiP!hw/V$  
struts.multipart.maxSize j+rG7z){K  
      The maximize size of a multipart request (file upload) x|i_P|Z  
      multipart请求信息的最大尺寸(文件上传用) iafE5b)  
s?2$ue&-f  
struts.multipart.parser (UL4+ta  
      The org.apache.struts2.dispatcher.multipart. u0 QzLi,  
      MultiPartRequest parser implementation for a multipart request (file upload) /mA,F;   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) o]ePP,  
)Ry<a$Q3  
y7/F _{  
struts.multipart.saveDir AY,].Zg[  
      The directory to use for storing uploaded files *JX;|S  
      设置存储上传文件的目录夹 i#/]KsSp  
K/L;8a  
struts.objectFactory q?):oJ  
      The com.opensymphony.xwork2.ObjectFactory implementation class %}-?bHB1c  
      com.opensymphony.xwork2.ObjectFactory接口(spring) OsqN B'X  
|'d>JT:  
struts.objectFactory.spring.autoWire -' g*^  
      Whether Spring should autoWire or not l12{fpm  
      是否自动绑定Spring ~PnTaAPJ  
3]RyTQ  
struts.objectFactory.spring.useClassCache t]aea*B  
      Whether Spring should use its class cache or not *v ?m6R=)h  
      是否spring应该使用自身的cache nUS| sh  
6$\jAd|  
struts.objectTypeDeterminer ?e[lr>-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1)m@?CaI`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vS\Nd1~?  
p]T<HGJ P  
struts.serve.static.browserCache `d7n?|pD  
If static content served by the Struts filter should set browser caching header properties or not ",6M)3{|c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -m *Sq  
>P6BW  
struts.serve.static oVFnl A  
      Whether the Struts filter should serve static content or not w| `h[/,  
      是否struts过滤器应该提供静态内容 GZI`jS"lU  
AIMSX]m  
struts.tag.altSyntax ljTBvU  
      Whether to use the alterative syntax for the tags or not `F<jLU^3  
      是否可以用替代的语法替代tags ;OqB5qd  
A,  3bC  
struts.ui.templateDir L:XC  
      The directory containing UI templates 7 d LuX   
      UI templates的目录夹 <sK4#!K  
.<@8gNm3  
struts.ui.theme iQDx{m3]  
      The default UI template theme hn#1%p6t  
      默认的UI template主题 nRyU]=-X  
DL$@?.?I  
struts.url.http.port DC{>TC[p1k  
      The HTTP port used by Struts URLs /|* Y2ETOr  
      设置http端口 ;)N>t\v  
:VTTh |E%#  
struts.url.https.port eek7=Z  
      The HTTPS port used by Struts URLs UQ{L{H   
      设置https端口 dFKM 8_jH  
0 $,SF3K  
struts.url.includeParams BD(Z5+EU1  
      The default includeParams method to generate Struts URLs 'Lu__NfN  
      在url中产生 默认的includeParams ")d`dj\o  
&mb{.=  
;q*e=[_DF  
struts.velocity.configfile )wT-8o  
      The Velocity configuration file path C=eF.FB;'  
      velocity配置文件路径 V4_=<W  
 4^M  
struts.velocity.contexts euC&0Ee2  
      List of Velocity context names D8$G`~hD  
      velocity的context列表 6oGYnu;UZ  
gHo?[pS%y  
HSc~*Q  
struts.velocity.manager.classname  5~>z h  
      org.apache.struts2.views.velocity.VelocityManager implementation class /Njd[= B  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ymg|4 %O@  
#3gp6*R  
struts.velocity.toolboxlocation NuQdSj_>  
      The location of the Velocity toolbox "g1)f"pL  
      velocity工具盒的位置 ~^1{B\I  
struts.xslt.nocache <i&_ooX  
      Whether or not XSLT templates should not be cached tNbN7yI  
      是否XSLT模版应该被缓存 z*a:L}$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八