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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8sM|%<$=j  
,-d 0b0  
struts.action.extension RA'M8:$  
      The URL extension to use to determine if the request is meant for a Struts action $jI3VB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >$7v ;Q  
f"SD/]q-  
struts.configuration m\r@@!  
      The org.apache.struts2.config.Configuration implementation class ![_*(8v}S  
        org.apache.struts2.config.Configuration接口名 \T:i{.i  
6BbGA*%{  
struts.configuration.files ~8P!XAU56%  
      A list of configuration files automatically loaded by Struts z(Pe,zES  
      struts自动加载的一个配置文件列表 .e=:RkI,  
ADP%QTdqFJ  
struts.configuration.xml.reload Et/\xL  
      Whether to reload the XML configuration or not @As[k2  
      是否加载xml配置(true,false) c[4i9I3v  
`e|0g"oP  
struts.continuations.package <[\`qX  
      The package containing actions that use Rife continuations v|%Z+w  
      含有actions的完整连续的package名称 '~[d=fwH  
e2t-4} ww  
struts.custom.i18n.resources QaS7z#/?.  
      Location of additional localization properties files to load h WtVWVNL  
      加载附加的国际化属性文件(不包含.properties后缀) 2ZMb<b4H  
e .2ib?8  
struts.custom.properties W;L7SF g)  
      Location of additional configuration properties files to load UT=tT )4b  
      加载附加的配置文件的位置 F{Jw ^\  
N OiN^::m  
,p2s:&"  
struts.devMode KgiJUO`PR  
      Whether Struts is in development mode or not Yu[ t\/  
      是否为struts开发模式 f~y%%+{p  
>x+6{^}Q>  
struts.dispatcher.parametersWorkaround +*T7@1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Dhw(#{N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )d1_Wm#B  
2w_WAdi  
struts.enable.DynamicMethodInvocation 8I8 F/47x  
      Allows one to disable dynamic method invocation from the URL $.PuK~}  
        允许动态方法调用 'y2nN=CN  
PQnF  
struts.freemarker.manager.classname !^=*Jq>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,dov<U[ia  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (-xS?8x$  
1[qLA!+  
struts.i18n.encoding QnXA*6DJ  
      The encoding to use for localization messages G!W[8UG  
      国际化信息内码 =K{"{5Wb  
Z X(z;|l45  
struts.i18n.reload gp^ 5#  
      Whether the localization messages should automatically be reloaded d + /&?3  
      是否国际化信息自动加载 C8e !H  
9S7 kUl{  
struts.locale K[Kh&`T  
      The default locale for the Struts application &7b|4a8B%  
      默认的国际化地区信息 TI#''XCB5  
!\i\}feb  
struts.mapper.class {7;8#.S72  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hMUs" <.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GCX G/k?w:  
E4W -hq~  
struts.multipart.maxSize 8a="/J  
      The maximize size of a multipart request (file upload) XKttZOiGT  
      multipart请求信息的最大尺寸(文件上传用) ^G.Xc\^w:  
QM O!v;  
struts.multipart.parser Nz+9 49X  
      The org.apache.struts2.dispatcher.multipart. rI>aAW'  
      MultiPartRequest parser implementation for a multipart request (file upload) h\.zdpR  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O-cbX/d  
~Ro9u p  
s3O} 6  
struts.multipart.saveDir NufLzg{  
      The directory to use for storing uploaded files sz {e''q  
      设置存储上传文件的目录夹 X M#T'S9y8  
.ir<s>YM  
struts.objectFactory Q/I! }C4  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]2'na?q9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) HATA-M  
jm0- y%  
struts.objectFactory.spring.autoWire j>x-"9N  
      Whether Spring should autoWire or not T[uiPs /xD  
      是否自动绑定Spring !z<%GQ CT  
=p?WBZT|:  
struts.objectFactory.spring.useClassCache 4EZ9hA9+  
      Whether Spring should use its class cache or not r77PQQD T  
      是否spring应该使用自身的cache 'u_t<F ]b  
Ikiib WQL+  
struts.objectTypeDeterminer T/xp?Vq6/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K]|> Et`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I8<,U!$  
!+4cqO  
struts.serve.static.browserCache ;3: q?&  
If static content served by the Struts filter should set browser caching header properties or not !{ )tSipd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xw T%),  
a{J,~2>  
struts.serve.static Eam  
      Whether the Struts filter should serve static content or not dBe`p5Z  
      是否struts过滤器应该提供静态内容 oiyzHx  
A~ +S1  
struts.tag.altSyntax s]mY*@a%  
      Whether to use the alterative syntax for the tags or not dd%h67J2<  
      是否可以用替代的语法替代tags 9^Whg ~{  
>teO m?@U  
struts.ui.templateDir )m{Ye0!RD  
      The directory containing UI templates AUNQA  
      UI templates的目录夹 $m+sNEAa  
pT1[<X!<s  
struts.ui.theme S_v'hlrrT  
      The default UI template theme 9Xl5@%uz?z  
      默认的UI template主题 4*mS y  
6{+{lBm=y  
struts.url.http.port \eb|eN0i  
      The HTTP port used by Struts URLs &q~:~   
      设置http端口 ] GTAq  
ivz>dJ?T  
struts.url.https.port ;VNMD 6H  
      The HTTPS port used by Struts URLs OhmQ,  
      设置https端口 7&"n`@(.!  
}X_;X_\3;'  
struts.url.includeParams QgD g}\P  
      The default includeParams method to generate Struts URLs P=+nB*hG  
      在url中产生 默认的includeParams )aao[_ZS  
H_Kj7(=&>  
?wF'<kEH  
struts.velocity.configfile .OqSch|  
      The Velocity configuration file path Qb; d:@9  
      velocity配置文件路径 M=*bh5t%]  
xIGfM>uq  
struts.velocity.contexts ''^Y>k  
      List of Velocity context names /`;n@0k>2  
      velocity的context列表 rs*Fy@  
)0e2ic/  
_s$_Sa ;  
struts.velocity.manager.classname RZ7( J  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7kK #\dI  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~+bGN  
p=B>~CH  
struts.velocity.toolboxlocation u#A<hq;  
      The location of the Velocity toolbox -0Tnh;&=  
      velocity工具盒的位置 8kOKwEX  
struts.xslt.nocache N0w`!<y:c  
      Whether or not XSLT templates should not be cached c$`4*6  
      是否XSLT模版应该被缓存 7,MS '2nz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八