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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =7TWzUCO#  
G"&$7!6[Y  
struts.action.extension H +I,c1sF  
      The URL extension to use to determine if the request is meant for a Struts action -w2^26 ax  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {J1rjrPo  
TJRp/BP  
struts.configuration D3aX\ NGP  
      The org.apache.struts2.config.Configuration implementation class KO8vUR*2R  
        org.apache.struts2.config.Configuration接口名 2m*ugBO;  
G3|23G.~)(  
struts.configuration.files En7+fQ  
      A list of configuration files automatically loaded by Struts 0^Ldw)C"  
      struts自动加载的一个配置文件列表 **__&X p1  
bj0HAgY@  
struts.configuration.xml.reload 32+N?[9 *  
      Whether to reload the XML configuration or not fhZwYx&t  
      是否加载xml配置(true,false)  ::02?  
;p*L(8<YI  
struts.continuations.package @=w)a  
      The package containing actions that use Rife continuations {(-923|,  
      含有actions的完整连续的package名称 z^gz kXx7  
j,].88H  
struts.custom.i18n.resources %LC)sSq{H  
      Location of additional localization properties files to load [wSoZBl  
      加载附加的国际化属性文件(不包含.properties后缀) U7fpaxc-  
hb~d4J=S  
struts.custom.properties @>U9CL"  
      Location of additional configuration properties files to load wH@< 0lw`<  
      加载附加的配置文件的位置 Z\C"/j<y  
a9lYX*:  
Ke@Bf  
struts.devMode ]b}3f<  
      Whether Struts is in development mode or not < q(i(%  
      是否为struts开发模式 yD3vq}U!  
}mp`!7?>O  
struts.dispatcher.parametersWorkaround PJKY$s.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *vBhd2HO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =>Ae]mi 7  
Kc r)W  
struts.enable.DynamicMethodInvocation h\#4[/  
      Allows one to disable dynamic method invocation from the URL C`Vuw|Xl  
        允许动态方法调用 1G`5FU  
IA1O]i S  
struts.freemarker.manager.classname W!8$:Ih_Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class UE_>@_T  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BSy4 d>  
:W&kl UU"  
struts.i18n.encoding GPAC0K^p  
      The encoding to use for localization messages YVRE 9  
      国际化信息内码 5r8 [ "  
E.$//P n|1  
struts.i18n.reload y'f-4E<  
      Whether the localization messages should automatically be reloaded i)@vHh82  
      是否国际化信息自动加载 i-0AcN./p  
\K9Y@jnr  
struts.locale cQh{z8Bf?<  
      The default locale for the Struts application "[A&S!  
      默认的国际化地区信息 +A,cdi9z  
)tV]h#4  
struts.mapper.class ?b^<Tny  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w\t  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B7{j$0fm*  
/Jk.b/t.*S  
struts.multipart.maxSize (o6 u ^#6  
      The maximize size of a multipart request (file upload) H-5f!>)  
      multipart请求信息的最大尺寸(文件上传用) /KvpJ4  
a3Z()|t>  
struts.multipart.parser d9D*w/clMi  
      The org.apache.struts2.dispatcher.multipart. n!b*GXb\  
      MultiPartRequest parser implementation for a multipart request (file upload) < R@&<E6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8^-g yx'  
rUiUv(q  
Yic'p0< ?V  
struts.multipart.saveDir mW_A 3S5  
      The directory to use for storing uploaded files wAb_fU&*  
      设置存储上传文件的目录夹 >273V+dy  
p|*b] 36  
struts.objectFactory ;rF:$37^  
      The com.opensymphony.xwork2.ObjectFactory implementation class [qt^gy)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !q PUQ+  
~ YZi"u  
struts.objectFactory.spring.autoWire 8>:2li  
      Whether Spring should autoWire or not HoM8V"8B  
      是否自动绑定Spring VxAR,a1+n  
}Ty_ } 6a5  
struts.objectFactory.spring.useClassCache DNM~/Oo  
      Whether Spring should use its class cache or not 1G8t=IA%D  
      是否spring应该使用自身的cache b;|^62  
|om3*]7  
struts.objectTypeDeterminer ~Uz|sQ*G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class KQqQ@D&n  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tX}Fb0y  
`+@%l*TQ  
struts.serve.static.browserCache m7mC 7x  
If static content served by the Struts filter should set browser caching header properties or not }KkH7XksF  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]gj@r[  
.^1=*j(;  
struts.serve.static  6Ue6b$xE  
      Whether the Struts filter should serve static content or not ]7"mt2Q=3  
      是否struts过滤器应该提供静态内容 X]CaWxM  
BQ&h&57K  
struts.tag.altSyntax /L[:C=u  
      Whether to use the alterative syntax for the tags or not 8i"{GGVC  
      是否可以用替代的语法替代tags {gi"ktgk  
1Kebl  
struts.ui.templateDir veE8 N~0N.  
      The directory containing UI templates 7,LT4wYH  
      UI templates的目录夹 Z#W`0G>'  
L,X6L @Q  
struts.ui.theme 9k"nx ,"  
      The default UI template theme #wm)e)2@  
      默认的UI template主题 \J\1i=a-=  
CblL1q8  
struts.url.http.port f%auz4CZz  
      The HTTP port used by Struts URLs /3Gv51'  
      设置http端口 Qg oXOVo6  
)5V1H WjU  
struts.url.https.port C ILk  
      The HTTPS port used by Struts URLs IX3U\_I#  
      设置https端口 x[oYN9O  
>"nk}@  
struts.url.includeParams If#7SF)n'  
      The default includeParams method to generate Struts URLs 1X9sx&5H  
      在url中产生 默认的includeParams n2O7n @8  
C,z]q$4  
1Q;` <=  
struts.velocity.configfile ) DLK<10  
      The Velocity configuration file path y! 1NS  
      velocity配置文件路径 rC*nZ*  
(c*Dvpo1  
struts.velocity.contexts YvHn~gNPhs  
      List of Velocity context names +yea}uUE  
      velocity的context列表 WK^qYfq|  
Tp6ysjao  
dX3> j{_  
struts.velocity.manager.classname %E!0,y,:  
      org.apache.struts2.views.velocity.VelocityManager implementation class r#~6FpFVK^  
      org.apache.struts2.views.velocity.VelocityManager接口名 `4p9K  
BzUx@,  
struts.velocity.toolboxlocation lJ,s}l7  
      The location of the Velocity toolbox |O+binq  
      velocity工具盒的位置 \%^3Izsc  
struts.xslt.nocache LOYv%9$0*p  
      Whether or not XSLT templates should not be cached e)bqE^JP  
      是否XSLT模版应该被缓存 M*{e e0\`r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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