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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3f u*{8.XZ  
2(-J9y|  
struts.action.extension +<G |Ru-  
      The URL extension to use to determine if the request is meant for a Struts action p19[qy~.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @>wD`<U|  
j|`6[93MG  
struts.configuration sHqs)@D  
      The org.apache.struts2.config.Configuration implementation class fp jy[$8  
        org.apache.struts2.config.Configuration接口名 *^BW[C/CTR  
6m.ChlO/  
struts.configuration.files "[PxLq5  
      A list of configuration files automatically loaded by Struts Zu4|1 W  
      struts自动加载的一个配置文件列表 h>'9-j6B  
|WopsV %  
struts.configuration.xml.reload pjC2jlwm*  
      Whether to reload the XML configuration or not %idn7STJ}  
      是否加载xml配置(true,false) 1]yOC)u"i  
>-2eZ(n)"  
struts.continuations.package dQ6n[$Q@N  
      The package containing actions that use Rife continuations m;=wQYFr{I  
      含有actions的完整连续的package名称 Mp*S+Plp  
IL:d`Kbqf  
struts.custom.i18n.resources xiu?BP?V  
      Location of additional localization properties files to load b`NXe7A  
      加载附加的国际化属性文件(不包含.properties后缀) jV(\]g"/=  
>&@hm4  
struts.custom.properties `1cGb*b/  
      Location of additional configuration properties files to load z (N3oBW  
      加载附加的配置文件的位置 3:">]LMi  
} {! #` 's  
1v)X]nW  
struts.devMode !]%M  
      Whether Struts is in development mode or not a@|/D\C  
      是否为struts开发模式 R^}}-Dv r  
G}o?lo\#h  
struts.dispatcher.parametersWorkaround L<kIzB !  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e&Z\hZBb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T;cyU9  
T ;Ga G  
struts.enable.DynamicMethodInvocation NDw+bR-  
      Allows one to disable dynamic method invocation from the URL 59?@55  
        允许动态方法调用 4?#0fK  
u!k]Q#2ZR  
struts.freemarker.manager.classname <b-BJ2],k  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \JJ>y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pK)*{fC$`  
p^2"g~  
struts.i18n.encoding i\P?Y(-{  
      The encoding to use for localization messages - nWs@\  
      国际化信息内码 45Z"U<I,9  
8+m[ %5lu  
struts.i18n.reload Qfhhceb6#J  
      Whether the localization messages should automatically be reloaded U=?hT&w\S  
      是否国际化信息自动加载 UbBo#(TZ)  
R&z)  
struts.locale qz|`\^  
      The default locale for the Struts application )+^1QL  
      默认的国际化地区信息 q<Zdf  
;5wmQFr  
struts.mapper.class z|Z<S+=f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  &cjE+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =)56]ki}  
sUaUZO2V  
struts.multipart.maxSize Zk#^H*jgx  
      The maximize size of a multipart request (file upload) z3l= aAw8  
      multipart请求信息的最大尺寸(文件上传用) &*G+-cF  
<Tq&Va_w  
struts.multipart.parser aR }|^ex  
      The org.apache.struts2.dispatcher.multipart. M`W%nvEDE  
      MultiPartRequest parser implementation for a multipart request (file upload) (Bta vE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5lp L$  
3xhv~be  
~R`Rj*Q2Y  
struts.multipart.saveDir GP"(+5  
      The directory to use for storing uploaded files 7g-#v'.N  
      设置存储上传文件的目录夹 ; Q-f6)+&  
fIrl?X']  
struts.objectFactory aBPaC=g{HO  
      The com.opensymphony.xwork2.ObjectFactory implementation class yOn +Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) l2DhFt$!=  
T[w]w  
struts.objectFactory.spring.autoWire }$K2h*  
      Whether Spring should autoWire or not 3Lxk7D>0c  
      是否自动绑定Spring \]y4e^FZZ  
uV]4C^k;`[  
struts.objectFactory.spring.useClassCache ap;tggi(H  
      Whether Spring should use its class cache or not zVLv-U/=d  
      是否spring应该使用自身的cache ?[4!2T,Ca  
,&S ^Ryc  
struts.objectTypeDeterminer U @Il:\I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;4jRsirx9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7wt2|$Qz  
%21i#R`E  
struts.serve.static.browserCache ,2F4S5F~rC  
If static content served by the Struts filter should set browser caching header properties or not 8^fkY'x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9N9dQ}[:g  
0phO1h]2S)  
struts.serve.static .xtjB8gc  
      Whether the Struts filter should serve static content or not B/IPG~aMEZ  
      是否struts过滤器应该提供静态内容 !P7##ho0  
o C]tEXJ  
struts.tag.altSyntax c65_E<5Z  
      Whether to use the alterative syntax for the tags or not S- Mh0o"  
      是否可以用替代的语法替代tags xO2S|DH{  
=e7,d$i  
struts.ui.templateDir ZeD""vJRY  
      The directory containing UI templates )oOcV%  
      UI templates的目录夹 N0be=IO5#  
zcrLd={  
struts.ui.theme {;(X#vK}9  
      The default UI template theme Bp3%*va  
      默认的UI template主题 /K mzi9j+  
(wmMHo|  
struts.url.http.port X\SZ Q[gN  
      The HTTP port used by Struts URLs M\wIpRD,  
      设置http端口 xCH,d:n=  
L[zg2y  
struts.url.https.port iSTr;>A  
      The HTTPS port used by Struts URLs QK0  
      设置https端口 &tFVW[(  
*|n::9  
struts.url.includeParams { 7y.0_Y  
      The default includeParams method to generate Struts URLs P5;LM9W  
      在url中产生 默认的includeParams W11Wv&  
w=I' CMRt  
;!4Bw"Gg  
struts.velocity.configfile p*10u@,  
      The Velocity configuration file path ~Mv@Bl  
      velocity配置文件路径 6KiI3%y?0  
Xtqjx@ye  
struts.velocity.contexts T ,, Ao36  
      List of Velocity context names *uR&d;vg.8  
      velocity的context列表 kJ6=T6s  
!UE' AB  
_S:6;_bz  
struts.velocity.manager.classname gWp\?La  
      org.apache.struts2.views.velocity.VelocityManager implementation class q<>  
      org.apache.struts2.views.velocity.VelocityManager接口名 W G2 E3y  
0N3 cC4!  
struts.velocity.toolboxlocation SWr?>dl  
      The location of the Velocity toolbox DpIv <m]  
      velocity工具盒的位置 \1 4"Bgj1  
struts.xslt.nocache 4[z a|t  
      Whether or not XSLT templates should not be cached ;dl>  
      是否XSLT模版应该被缓存 tE0DST/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五