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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /Jf.y*;  
EVp,Q"V]  
struts.action.extension 3bk|<7tl  
      The URL extension to use to determine if the request is meant for a Struts action xh7cVE[UM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f` =CpO*  
_XJ2fA )  
struts.configuration jK \T|vGJa  
      The org.apache.struts2.config.Configuration implementation class + a- 6Q ~  
        org.apache.struts2.config.Configuration接口名 VE+IKj!VG0  
'!l 1=cZD  
struts.configuration.files 4wC+S9I#E^  
      A list of configuration files automatically loaded by Struts l^ZI* z7N  
      struts自动加载的一个配置文件列表 6"Bic rY  
* #jsgj[  
struts.configuration.xml.reload | N0Z-|  
      Whether to reload the XML configuration or not S*j6OwZ  
      是否加载xml配置(true,false) ,'[<bP'%_  
B<j'm0a>B  
struts.continuations.package >e\9Bf_  
      The package containing actions that use Rife continuations 3a.kBzus  
      含有actions的完整连续的package名称 @u==x *{ |  
'F>'(XWWQ  
struts.custom.i18n.resources zSo)k~&[3  
      Location of additional localization properties files to load Q+4Xs.#  
      加载附加的国际化属性文件(不包含.properties后缀) T,| 1g6  
_g1b{$  
struts.custom.properties  r.4LU  
      Location of additional configuration properties files to load !r# ?C9Sq  
      加载附加的配置文件的位置 V&-~x^JK  
M\yT).>z  
D8 hr?:I9  
struts.devMode PaV-F_2  
      Whether Struts is in development mode or not $<:E'^SAS  
      是否为struts开发模式 =-_B:d;  
%f($*l.  
struts.dispatcher.parametersWorkaround jqPkc28  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V(Ub!n:j  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K|dso]b/  
w@N  
struts.enable.DynamicMethodInvocation ^]{R.(#z  
      Allows one to disable dynamic method invocation from the URL ByCnD  
        允许动态方法调用 `jwa<N4e@  
. 'Y]R3\M+  
struts.freemarker.manager.classname 31/Edd"]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s kg*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 os/vtyP:a  
[IK  )  
struts.i18n.encoding R: l&2k@  
      The encoding to use for localization messages V}\~ugN)y  
      国际化信息内码 `uC@nJ  
Pp )3(T:  
struts.i18n.reload ?O>V%@  
      Whether the localization messages should automatically be reloaded o6V}$wT3J  
      是否国际化信息自动加载 H^YSJ 6  
#dM9pc jh  
struts.locale P2bZ65>3y  
      The default locale for the Struts application $@UN4B?y  
      默认的国际化地区信息 mdRU^n  
jQ:OKh<Y  
struts.mapper.class d/i`l*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I1PuHf Qs  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =}.EY iD  
Dk?\)lD`  
struts.multipart.maxSize 4'0Dr++  
      The maximize size of a multipart request (file upload) HuOIFv  
      multipart请求信息的最大尺寸(文件上传用) 66fO7OJs  
~8lwe*lNV  
struts.multipart.parser qi_Jywd:w  
      The org.apache.struts2.dispatcher.multipart. D9z|VIw8  
      MultiPartRequest parser implementation for a multipart request (file upload) &L^+BQ`O?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9uGrk^<t  
qAw x2fPu  
{)-aSywe  
struts.multipart.saveDir wXsmn1w9  
      The directory to use for storing uploaded files ~R(%D-k  
      设置存储上传文件的目录夹 LqA@&H  
eut-U/3:#  
struts.objectFactory ztw@Y|<2  
      The com.opensymphony.xwork2.ObjectFactory implementation class V O3x~E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8QM(?A  
q5?# 3T=  
struts.objectFactory.spring.autoWire JU4q zi  
      Whether Spring should autoWire or not t+eVR8  
      是否自动绑定Spring l8?>>.<P=  
~JaAii{  
struts.objectFactory.spring.useClassCache %Ah^E$&n2  
      Whether Spring should use its class cache or not ra o[VZ  
      是否spring应该使用自身的cache V3"=w&2]K  
5=f|7yl  
struts.objectTypeDeterminer ELj\[&U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class z_|/5$T>U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,lyb!k8  
}`@728E  
struts.serve.static.browserCache E2m8UBS  
If static content served by the Struts filter should set browser caching header properties or not JYTP 2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y./2Ely  
2sJ(awN>  
struts.serve.static 92 [; Y  
      Whether the Struts filter should serve static content or not 3\B>lKhQ  
      是否struts过滤器应该提供静态内容 $C `;fA  
>(;{C<6|^  
struts.tag.altSyntax /Z$&pqs!  
      Whether to use the alterative syntax for the tags or not >/8yGBD  
      是否可以用替代的语法替代tags *NG+L)g  
!_"fP:T>  
struts.ui.templateDir nVi[  
      The directory containing UI templates 1&- </G#  
      UI templates的目录夹 )gMG#>up@  
={z*akn,  
struts.ui.theme RRI"d~~F6  
      The default UI template theme -:na: Vsi  
      默认的UI template主题 a]MX)?  
% ClHCoyA  
struts.url.http.port 7Zh~lM  
      The HTTP port used by Struts URLs |>#{[wko  
      设置http端口 f\jLqZY  
G%s 2P.cd  
struts.url.https.port xftBSdVE  
      The HTTPS port used by Struts URLs mVy|{Oh  
      设置https端口 ]bK=FIK2  
QnJZr:4b  
struts.url.includeParams 2K3{hxB  
      The default includeParams method to generate Struts URLs 8p:j&F  
      在url中产生 默认的includeParams g4l !xT  
 w/kt3Lw  
I= &stsH  
struts.velocity.configfile .dav8n*  
      The Velocity configuration file path RS^lKJ1 U  
      velocity配置文件路径 L>3x9  
eN^qG 42  
struts.velocity.contexts *cgI.+  
      List of Velocity context names 9_ d pR.  
      velocity的context列表 vMm1Z5S/  
6E^.7%3  
K|Di1)7=/  
struts.velocity.manager.classname oomT)gO 6*  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6#HK'7ClL  
      org.apache.struts2.views.velocity.VelocityManager接口名 u4/kR  
fc |GArL#}  
struts.velocity.toolboxlocation 1#ft#-g}  
      The location of the Velocity toolbox @9lUSk^9  
      velocity工具盒的位置 P9vA7[  
struts.xslt.nocache #':fkIYe'  
      Whether or not XSLT templates should not be cached {62n7'U{  
      是否XSLT模版应该被缓存 z& fwE$Nm  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八