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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 uZYF(Yu  
Q*cf(  
struts.action.extension e"cXun4nS=  
      The URL extension to use to determine if the request is meant for a Struts action T{^rt3a  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uMv,zO5  
bWS&Yk(  
struts.configuration 3`?7 <YJ  
      The org.apache.struts2.config.Configuration implementation class ~P qM]^  
        org.apache.struts2.config.Configuration接口名 E=Bf1/c\  
RC"MdcD:]y  
struts.configuration.files =%O6:YM   
      A list of configuration files automatically loaded by Struts fbvL7* (  
      struts自动加载的一个配置文件列表 /s?`&1v|r  
A\DCW  
struts.configuration.xml.reload DfD&)tsMQ  
      Whether to reload the XML configuration or not ^ +\dz  
      是否加载xml配置(true,false) #%2rP'He  
Uc>lGo1j  
struts.continuations.package Z\rwO>3  
      The package containing actions that use Rife continuations 4"ZP 'I;  
      含有actions的完整连续的package名称 LOYk9m  
_61gF[r4!Y  
struts.custom.i18n.resources gJ+'W1$/  
      Location of additional localization properties files to load V Q@   
      加载附加的国际化属性文件(不包含.properties后缀) e%M;?0j  
Y|qTyE%  
struts.custom.properties wQf-sk#  
      Location of additional configuration properties files to load ?j.,Nw4FC  
      加载附加的配置文件的位置 {YC@T(  
3,w_ ".m`#  
H8jpxzXv  
struts.devMode 1GRCV8 "Z^  
      Whether Struts is in development mode or not >R_&Ouh:  
      是否为struts开发模式 M3y NAN  
wHLLu~m\  
struts.dispatcher.parametersWorkaround q i;1L Kc  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XT*sGM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v1JzP#  
~ Iuf}D;  
struts.enable.DynamicMethodInvocation djZqc5t  
      Allows one to disable dynamic method invocation from the URL S hWJ72c  
        允许动态方法调用 29b9`NXt  
:-Z2:/P  
struts.freemarker.manager.classname qR{=pR  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cjY-y-vO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?^{Ah}x  
Izc\V9+  
struts.i18n.encoding %1L,Y  
      The encoding to use for localization messages kD%( _K5  
      国际化信息内码 }8z?t:|S  
]W!0$'o  
struts.i18n.reload j (d~aqW  
      Whether the localization messages should automatically be reloaded Ml5w01O  
      是否国际化信息自动加载 >=>2m2z=  
& .j&0WE  
struts.locale ^ytrK Q  
      The default locale for the Struts application JbbzV>  
      默认的国际化地区信息 ,0sm  
qDIZJ h  
struts.mapper.class e *C(q~PQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _H%c;z+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]6` %  
yyJ  f%{  
struts.multipart.maxSize ]m<$}  
      The maximize size of a multipart request (file upload) I236 RIq  
      multipart请求信息的最大尺寸(文件上传用)  (ZizuHC  
F>l] 9!P|m  
struts.multipart.parser RqrdAkg  
      The org.apache.struts2.dispatcher.multipart. P@B]  
      MultiPartRequest parser implementation for a multipart request (file upload) reWot&;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^x,YW]AS}  
O/C rd/  
t:Q*gW Rh  
struts.multipart.saveDir Lq^)R  
      The directory to use for storing uploaded files {\5  
      设置存储上传文件的目录夹 =T@1@w  
)10+@d  
struts.objectFactory # W']6'O  
      The com.opensymphony.xwork2.ObjectFactory implementation class teF9Q+*~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \b x$i*  
2ilQXy  
struts.objectFactory.spring.autoWire vE?G7%,  
      Whether Spring should autoWire or not oc`H}Wvn  
      是否自动绑定Spring IJ"q~r$  
pnOAs&QAm  
struts.objectFactory.spring.useClassCache oPM96 (  
      Whether Spring should use its class cache or not ^h6tr8yn  
      是否spring应该使用自身的cache cwg"c4V  
;_(4Q*Yx  
struts.objectTypeDeterminer ?tbrbkx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jL luj   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Xv^qVn4  
}7Q%6&IR  
struts.serve.static.browserCache +e``OeXog  
If static content served by the Struts filter should set browser caching header properties or not a~w$#fo"`f  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L8B! u9%  
K|, .C[  
struts.serve.static 1+s;FJ2}  
      Whether the Struts filter should serve static content or not g- gV2$I  
      是否struts过滤器应该提供静态内容 "to;\9lP  
O0.*Pmt  
struts.tag.altSyntax (9a^$C*  
      Whether to use the alterative syntax for the tags or not 4Nsp<Kn>  
      是否可以用替代的语法替代tags g 7H(PF?  
1qA;/-Zr<o  
struts.ui.templateDir {IjR^J=k  
      The directory containing UI templates (LCfUI6;  
      UI templates的目录夹 })%{AfDRF  
JZ x[W&]zT  
struts.ui.theme AwR =]W;j  
      The default UI template theme 5H^ (2w  
      默认的UI template主题 o]V^};B  
F^:3?JA _  
struts.url.http.port t6c4+D'{].  
      The HTTP port used by Struts URLs gbA_DZ  
      设置http端口 l/5 hp.  
[/r(__.  
struts.url.https.port  ob]w;"  
      The HTTPS port used by Struts URLs ^2rN>k,?  
      设置https端口 yG{TH0tq  
:2`e(+Uz  
struts.url.includeParams ,P0) 6>  
      The default includeParams method to generate Struts URLs 8s@3hXD&  
      在url中产生 默认的includeParams >t+P(*u  
!N^@4*  
{.Jlbi9!  
struts.velocity.configfile gSj,E8-g  
      The Velocity configuration file path R;LP:,)  
      velocity配置文件路径 OyIw>Wfv  
"AqB$^S9t  
struts.velocity.contexts tH4B:Bgj!  
      List of Velocity context names #'`{Qv0,  
      velocity的context列表 c:('W16  
n$R)>n Y  
2=}FBA,2  
struts.velocity.manager.classname [-w%/D%@  
      org.apache.struts2.views.velocity.VelocityManager implementation class .}+}8[p4l  
      org.apache.struts2.views.velocity.VelocityManager接口名 *-X[u:  
%BODkc Zh  
struts.velocity.toolboxlocation UiNP3TJ'L  
      The location of the Velocity toolbox V;=cwy)I  
      velocity工具盒的位置 6y<EgYzdE  
struts.xslt.nocache EU#^7  
      Whether or not XSLT templates should not be cached >$7B wO  
      是否XSLT模版应该被缓存 p#tI;"\y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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