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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Q54r?|'V  
"]T$\PJun  
struts.action.extension \TbsoWX  
      The URL extension to use to determine if the request is meant for a Struts action +5HnZ?E\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V#NG+U.B  
m Ztv G,  
struts.configuration KZF0rW  
      The org.apache.struts2.config.Configuration implementation class ou'~{-_xd  
        org.apache.struts2.config.Configuration接口名 VT% KN`l  
gMs+?SNHAh  
struts.configuration.files i*S|qX7``  
      A list of configuration files automatically loaded by Struts CGC-"A/W  
      struts自动加载的一个配置文件列表 pcy<2UV  
5{13 V*<  
struts.configuration.xml.reload <&5m N  
      Whether to reload the XML configuration or not =`Po<7D  
      是否加载xml配置(true,false) X(k{-|9]  
KdT[*-  
struts.continuations.package Q(510)  
      The package containing actions that use Rife continuations iuC7Y|  
      含有actions的完整连续的package名称 u^Nxvx3l0  
<vB<`   
struts.custom.i18n.resources }bf=Ntk  
      Location of additional localization properties files to load D<U 9m3  
      加载附加的国际化属性文件(不包含.properties后缀) bmOqeUgB  
OXHvT/L`  
struts.custom.properties C$<"w,  
      Location of additional configuration properties files to load r{\BbUnf)  
      加载附加的配置文件的位置 uf)W-Er6~  
y=AsgJ  
NunV8atn:  
struts.devMode M{?.hq  
      Whether Struts is in development mode or not |h&<_9  
      是否为struts开发模式 "l@A[@R  
S&4+ e:K  
struts.dispatcher.parametersWorkaround /!3ZWXY\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S!;L F4VA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B<|VeU  
1 -ZJT  
struts.enable.DynamicMethodInvocation }zFf0.82  
      Allows one to disable dynamic method invocation from the URL Y[Q @WdE9  
        允许动态方法调用 0K<x=-cCB  
`)R?nV b   
struts.freemarker.manager.classname D ]OD.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HA6G)x  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 d0(Cn}m"c  
mxQR4"]jY  
struts.i18n.encoding c $0_R;4/  
      The encoding to use for localization messages Q>.BQ;q]  
      国际化信息内码 ^0^( u  
,;_rIO"  
struts.i18n.reload t5.`! 3EO  
      Whether the localization messages should automatically be reloaded X rF3kz!44  
      是否国际化信息自动加载 $<B +K  
1O |V=K  
struts.locale |G(1[RNu  
      The default locale for the Struts application 8-7dokg>  
      默认的国际化地区信息 zv //K_  
qM %O  
struts.mapper.class "EoDQT"0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3VmI0gsm.>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b~7Jh:%@;  
|6E .M1  
struts.multipart.maxSize %*lp< D  
      The maximize size of a multipart request (file upload) )QmGsU}?  
      multipart请求信息的最大尺寸(文件上传用) h#i\iK&A  
C+w__gO&r  
struts.multipart.parser b1u}fp GF  
      The org.apache.struts2.dispatcher.multipart. ! ja[ 4.  
      MultiPartRequest parser implementation for a multipart request (file upload) V vu(`9u]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8j%'9vPi  
<FY&h#  
ncv7t|ZN  
struts.multipart.saveDir !z"Nv1!~|  
      The directory to use for storing uploaded files ?"6Ov ]  
      设置存储上传文件的目录夹 ) Qq'Wp3i  
W>B^S  
struts.objectFactory 2i\Q@h  
      The com.opensymphony.xwork2.ObjectFactory implementation class 17}$=#SX  
      com.opensymphony.xwork2.ObjectFactory接口(spring) V/PAi.GZ  
=SAV|  
struts.objectFactory.spring.autoWire dpwD8Q< U  
      Whether Spring should autoWire or not !@G)$g=<  
      是否自动绑定Spring '-vE%U@<  
#'@i lk/.  
struts.objectFactory.spring.useClassCache P z ?m>>#  
      Whether Spring should use its class cache or not 38~PWKt  
      是否spring应该使用自身的cache lWWP03er!  
V8hO8  
struts.objectTypeDeterminer I&Jt> O4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &D]p,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m9$a"$c  
{.st`n|xz  
struts.serve.static.browserCache H}Ucrv:  
If static content served by the Struts filter should set browser caching header properties or not uWjN2#&,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 fc@'9- pt  
$X \va?(  
struts.serve.static M;+IZr Wkl  
      Whether the Struts filter should serve static content or not fkjeR B  
      是否struts过滤器应该提供静态内容 nnwJ YEi  
!:WW  
struts.tag.altSyntax [4*1}}gW%5  
      Whether to use the alterative syntax for the tags or not J8?2R^;{  
      是否可以用替代的语法替代tags n9%]-s\Hn  
5t\HJ`C1Z  
struts.ui.templateDir pMR,#[U<  
      The directory containing UI templates 1<.5ub*i4  
      UI templates的目录夹 RRADg^}l|"  
$ rUSKm#  
struts.ui.theme ^~$\ g]  
      The default UI template theme pr tK:eGe2  
      默认的UI template主题 03=5Nof1  
?]#OM_,8  
struts.url.http.port 3J~0O2  
      The HTTP port used by Struts URLs W @.Ji B  
      设置http端口 j8++R&1f]  
=su]w2,Iy  
struts.url.https.port .oqIZ\iik  
      The HTTPS port used by Struts URLs $7Z)Yp&T  
      设置https端口 wpXgPVZT  
2N5`'  
struts.url.includeParams v4rW2F:X  
      The default includeParams method to generate Struts URLs {EA1vo"  
      在url中产生 默认的includeParams 1@>$ Gcc  
|mhKIis U  
eQUe >*  
struts.velocity.configfile d(-EcY>?  
      The Velocity configuration file path \OQkZ.cU;  
      velocity配置文件路径 Apj;  
$TG =w  
struts.velocity.contexts ?>$l  
      List of Velocity context names -fy9<  
      velocity的context列表 * **a2Z/(  
"l7NWqfB  
aS84n.?vq  
struts.velocity.manager.classname xb:&(6\F  
      org.apache.struts2.views.velocity.VelocityManager implementation class NBYH;h P  
      org.apache.struts2.views.velocity.VelocityManager接口名 x|i_P|Z  
k7@t{Cu0D&  
struts.velocity.toolboxlocation D`[Khsf  
      The location of the Velocity toolbox d$t40+v  
      velocity工具盒的位置 Fh8lmOL;?  
struts.xslt.nocache ) 1 m">s4  
      Whether or not XSLT templates should not be cached 3BG>Y(v  
      是否XSLT模版应该被缓存 E{?au]y$J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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