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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Xzx[C_G  
DL'd&;6  
struts.action.extension |`_ <@b  
      The URL extension to use to determine if the request is meant for a Struts action %PQldPL8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u;+%Qh  
[<D+p qh  
struts.configuration $:f.Krj  
      The org.apache.struts2.config.Configuration implementation class tk`: CT *  
        org.apache.struts2.config.Configuration接口名 6-*~ t8  
457fT|  
struts.configuration.files tXf}jU}  
      A list of configuration files automatically loaded by Struts Y H<$ +U  
      struts自动加载的一个配置文件列表 X+`ddX  
-@%t"8  
struts.configuration.xml.reload PU^[HC*K  
      Whether to reload the XML configuration or not W:VW_3  
      是否加载xml配置(true,false) *C4~}4WT\  
U/.w;DI   
struts.continuations.package !: m`9o8  
      The package containing actions that use Rife continuations :0M' =~[  
      含有actions的完整连续的package名称 Ff[H>Lp~  
u{g]gA8s  
struts.custom.i18n.resources ?JuX~{{. L  
      Location of additional localization properties files to load %$/=4f.j  
      加载附加的国际化属性文件(不包含.properties后缀) D-Bv(/Pz]$  
2-8YSHlh  
struts.custom.properties .HyjL5r-  
      Location of additional configuration properties files to load beJZ pg  
      加载附加的配置文件的位置 nnfY$&3A  
v$t{o{3  
g/OI|1a  
struts.devMode 6b%`^B\  
      Whether Struts is in development mode or not nHI(V-E2:H  
      是否为struts开发模式 `[X6#` <  
f|X[gL,B  
struts.dispatcher.parametersWorkaround d>^~9X  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5>'?:jY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) fkW3~b  
,"@w>WL<9  
struts.enable.DynamicMethodInvocation (3AYy0J%  
      Allows one to disable dynamic method invocation from the URL rQ=xcn[A  
        允许动态方法调用 IgLVn<5n  
nped  
struts.freemarker.manager.classname lN);~|IOv7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?$<SCN =  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 d-hbvLn  
XXXl jh6  
struts.i18n.encoding s0gJ f[  
      The encoding to use for localization messages <Cu'!h_nL  
      国际化信息内码 B:e.gtM5  
vAi"$e  
struts.i18n.reload NV:>a  
      Whether the localization messages should automatically be reloaded JR/W9i  
      是否国际化信息自动加载 ktN%!Mh\  
1pWk9Xuh  
struts.locale t G]N*%@  
      The default locale for the Struts application d0'7efC+  
      默认的国际化地区信息 0o;k?4aP.c  
]9fS@SHdx  
struts.mapper.class <"N:rn{Qq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~q{\;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1W*V2`0>  
SxMxe,.|  
struts.multipart.maxSize  W|lH   
      The maximize size of a multipart request (file upload) o(:{InpV%A  
      multipart请求信息的最大尺寸(文件上传用) a4%`"  
)y6QAp  
struts.multipart.parser k - FB  
      The org.apache.struts2.dispatcher.multipart. ,(6)ghr  
      MultiPartRequest parser implementation for a multipart request (file upload) }bZ 8-v  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {":c@I  
+IvNyj|  
"Lb f F  
struts.multipart.saveDir !syU]Yk  
      The directory to use for storing uploaded files (viWY  
      设置存储上传文件的目录夹 ,cLH*@  
QQ*gFP.Ao  
struts.objectFactory 6j_ 678  
      The com.opensymphony.xwork2.ObjectFactory implementation class ol50d73B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aXC!t  
B@d1xjp)']  
struts.objectFactory.spring.autoWire E\ tL   
      Whether Spring should autoWire or not Z?-;.G*  
      是否自动绑定Spring [9LxhPi  
6Ux[,]G K  
struts.objectFactory.spring.useClassCache '[%jjUU  
      Whether Spring should use its class cache or not ?qy*s3 j'M  
      是否spring应该使用自身的cache J l\'V  
3]N q@t  
struts.objectTypeDeterminer N5yJ'i~,M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >A<Df  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *E.LP1xP  
 +.=1^+a  
struts.serve.static.browserCache ;;M"hI3@  
If static content served by the Struts filter should set browser caching header properties or not ]7*kWc2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;3mL^  
>8%M*-=p  
struts.serve.static Ha?G=X  
      Whether the Struts filter should serve static content or not lHcA j{6  
      是否struts过滤器应该提供静态内容 <&`:&7  
WX LK89ev\  
struts.tag.altSyntax E!uJ6\  
      Whether to use the alterative syntax for the tags or not [8.-(-/;  
      是否可以用替代的语法替代tags I4ebkPgf  
7aV$YuL)X~  
struts.ui.templateDir $_wo6/J5+D  
      The directory containing UI templates {aoM JJq  
      UI templates的目录夹 -U7,k\g  
k; ;viT  
struts.ui.theme grc:Y  
      The default UI template theme >}CEN  
      默认的UI template主题 @`6}`k  
GKCM|Y  
struts.url.http.port "3wv:BL  
      The HTTP port used by Struts URLs hzq5![/sV  
      设置http端口 ?HV}mS[t  
t-x[:i  
struts.url.https.port eIsT!V" 7  
      The HTTPS port used by Struts URLs )Z("O[  
      设置https端口 p=H3Q?HJ}  
4oV {=~V  
struts.url.includeParams Q<1L`_.>  
      The default includeParams method to generate Struts URLs RB IOdz  
      在url中产生 默认的includeParams lirNYJ]tO  
!W~QT}  
X{`1:c'x  
struts.velocity.configfile 1& |  
      The Velocity configuration file path P8<hvMF  
      velocity配置文件路径 ~}K{e  
f9a$$nb3`  
struts.velocity.contexts =MxpH+spI  
      List of Velocity context names PYu$1o9+N  
      velocity的context列表 Z&-tMai;  
Je 31".  
lY8`5Uz  
struts.velocity.manager.classname g>yry}>04%  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7k'gt/#up  
      org.apache.struts2.views.velocity.VelocityManager接口名 &sdx`,  
_KN: o10U  
struts.velocity.toolboxlocation @`S.@^%7fO  
      The location of the Velocity toolbox w:Ra7ExP  
      velocity工具盒的位置 $R?@L  
struts.xslt.nocache Ik Qe~;Y  
      Whether or not XSLT templates should not be cached _$5@uL{n"^  
      是否XSLT模版应该被缓存 s%O Y<B@V2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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