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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M_Ag *?2I  
De^:9<{jc  
struts.action.extension [520!JhZY  
      The URL extension to use to determine if the request is meant for a Struts action lct  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M;Pry 3J  
lq"X_M$  
struts.configuration - z+,j(@  
      The org.apache.struts2.config.Configuration implementation class 8U(o@1PT  
        org.apache.struts2.config.Configuration接口名 [tof+0Y6  
(E)hEQ@8  
struts.configuration.files `7w-_o %  
      A list of configuration files automatically loaded by Struts aVHIU3  
      struts自动加载的一个配置文件列表 ?RS:I%bL  
te2vv]W1  
struts.configuration.xml.reload ^Z#G_%\Y:  
      Whether to reload the XML configuration or not wEM=Tr/h  
      是否加载xml配置(true,false) YPI,u7-  
" (O3B  
struts.continuations.package )dX(0E4Td/  
      The package containing actions that use Rife continuations ,3 /o7'  
      含有actions的完整连续的package名称 Sx QA*}N  
*|g[Mn  
struts.custom.i18n.resources ,>rvl P  
      Location of additional localization properties files to load {R-o8N  
      加载附加的国际化属性文件(不包含.properties后缀) X*@ tp,t  
jzJTV4&zjs  
struts.custom.properties m N}szW,  
      Location of additional configuration properties files to load N10U&L'w  
      加载附加的配置文件的位置 18sc|t  
0y,w\'j  
cZ?$_;=  
struts.devMode 3k9n*jY0  
      Whether Struts is in development mode or not <fG\J  
      是否为struts开发模式 S}VS@KDO  
V=*^C+6s  
struts.dispatcher.parametersWorkaround P'OvwA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :K]7(y7>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h#O9TB  
|xcI~ X7Q  
struts.enable.DynamicMethodInvocation X>=`l)ZR  
      Allows one to disable dynamic method invocation from the URL p__wBUB  
        允许动态方法调用 pg4pfi^__V  
f\dfKNm6  
struts.freemarker.manager.classname v.Q#<@B^:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7$lnCvm  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 s+lBai*#  
B8T$<  
struts.i18n.encoding >*h+ N? m  
      The encoding to use for localization messages `8W HVC$  
      国际化信息内码 Rv9jLH  
9D1WUUa  
struts.i18n.reload 30uPDDvar  
      Whether the localization messages should automatically be reloaded 3._ ep  
      是否国际化信息自动加载 6 Ln~b<I  
N$]er'`  
struts.locale \\<=J[R.M  
      The default locale for the Struts application Na/Y1RW  
      默认的国际化地区信息 iOURS  
q/U-6A[0  
struts.mapper.class $xZ ~bE9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hk4t #Km  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {owuYVm  
K-C,n~-  
struts.multipart.maxSize r)'vn[A  
      The maximize size of a multipart request (file upload) |} b+$J  
      multipart请求信息的最大尺寸(文件上传用) \6&Ml]1  
d6QrB"J`  
struts.multipart.parser 9m$;C'}Z  
      The org.apache.struts2.dispatcher.multipart. <Pt?N2]A|  
      MultiPartRequest parser implementation for a multipart request (file upload) ZAgXz{!H(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Blzvn19'h  
I61S0l z/  
vlbZ5  
struts.multipart.saveDir h:362&?]  
      The directory to use for storing uploaded files xz"60xxY  
      设置存储上传文件的目录夹 v5S9h[gT  
YkWHI (p  
struts.objectFactory h7"U1'b  
      The com.opensymphony.xwork2.ObjectFactory implementation class k(dakFaC^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6K pq~o   
i)z|= |?  
struts.objectFactory.spring.autoWire Uv *A a7M  
      Whether Spring should autoWire or not WZNq!K H  
      是否自动绑定Spring &[-(=43@  
xeU|5-d'  
struts.objectFactory.spring.useClassCache ~%/Rc`  
      Whether Spring should use its class cache or not zg<-%r'$  
      是否spring应该使用自身的cache . |T=T0^  
B]"`}jn  
struts.objectTypeDeterminer 32\.-v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aP  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t Y  
V[nPTYO4  
struts.serve.static.browserCache RtMI[  
If static content served by the Struts filter should set browser caching header properties or not v<!S_7h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kKSGC?d  
{g%N(2  
struts.serve.static BUBx}dbCM  
      Whether the Struts filter should serve static content or not eTS}-  
      是否struts过滤器应该提供静态内容 MJ)lZ!KZ  
#4'wF4DR@  
struts.tag.altSyntax pd'0|  
      Whether to use the alterative syntax for the tags or not .Az36wD  
      是否可以用替代的语法替代tags E?XaU~cpc  
QPx5`{nN  
struts.ui.templateDir c}o 6Rm50  
      The directory containing UI templates "17)`Yf  
      UI templates的目录夹 f)/Z7*Z  
Iy9hBAg\y  
struts.ui.theme |q77  
      The default UI template theme +H2Jhgi  
      默认的UI template主题 1XSnnkJm  
s7 "xDDV  
struts.url.http.port x"12$7 9=  
      The HTTP port used by Struts URLs Wm}c-GD  
      设置http端口 V^2_]VFj  
=#G 2}8mQD  
struts.url.https.port t_3j_`  
      The HTTPS port used by Struts URLs Q*smH-Sw  
      设置https端口 m;OvOc,  
c1'@_Is  
struts.url.includeParams &R72$H9C8i  
      The default includeParams method to generate Struts URLs 'c s(gc 0  
      在url中产生 默认的includeParams YO7U}6wBt  
E JkHPn  
QO'Hyf t  
struts.velocity.configfile hC:'L9Y  
      The Velocity configuration file path 4qOzjEQ  
      velocity配置文件路径 !wy _3a  
Y_'ERqQ  
struts.velocity.contexts n N<N~  
      List of Velocity context names t/i I!}  
      velocity的context列表 I@'[>t  
6Xvpk1  
]<f)Rf">:`  
struts.velocity.manager.classname a$My6Qa#  
      org.apache.struts2.views.velocity.VelocityManager implementation class bBjr hi  
      org.apache.struts2.views.velocity.VelocityManager接口名 A>@#eyB  
@YI{E*?S  
struts.velocity.toolboxlocation > {*cW  
      The location of the Velocity toolbox %v0M~J}+  
      velocity工具盒的位置 QJ2]8K)+C  
struts.xslt.nocache i 9) G t  
      Whether or not XSLT templates should not be cached 3B&A)&pEO  
      是否XSLT模版应该被缓存 (u,)v_Oo]a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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