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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j> ?0Y  
-S ASn  
struts.action.extension ^F*G  
      The URL extension to use to determine if the request is meant for a Struts action vwlPFr Ll  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 '}Tf9L%  
O=9mLI6  
struts.configuration .BWCGb2bH  
      The org.apache.struts2.config.Configuration implementation class K)z! e;r  
        org.apache.struts2.config.Configuration接口名 %B ,>6 `[  
RwG@C|sG  
struts.configuration.files Td7=La0   
      A list of configuration files automatically loaded by Struts 7AE)P[  
      struts自动加载的一个配置文件列表 "-pQL )f  
m~LB0u$ac  
struts.configuration.xml.reload Ed(6%kd  
      Whether to reload the XML configuration or not 'mH9 O  
      是否加载xml配置(true,false) s Y^#I  
2itJD1;  
struts.continuations.package ?D6?W6@  
      The package containing actions that use Rife continuations 7B|ddi7Q>  
      含有actions的完整连续的package名称 u; c)T t  
Y6>@zznk  
struts.custom.i18n.resources U X?EOrfJ  
      Location of additional localization properties files to load /!V) 2j,  
      加载附加的国际化属性文件(不包含.properties后缀) 2=&4@c|cn  
?8g*"& cn  
struts.custom.properties 0#gu7n|J  
      Location of additional configuration properties files to load vy <(1\  
      加载附加的配置文件的位置 rW.o_z03^  
6@"lIKeP  
K>"]*#aBv  
struts.devMode baD`k?](  
      Whether Struts is in development mode or not 3C+!Y#F  
      是否为struts开发模式 ^1#"FU2cP  
4\cJ}p}LZ{  
struts.dispatcher.parametersWorkaround ;^Q - 1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r+4<Lon~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0gR!W3dh  
zdL"PF  
struts.enable.DynamicMethodInvocation w:|BQ,  
      Allows one to disable dynamic method invocation from the URL 5gdsV4DH$  
        允许动态方法调用 /$q9 Kxb  
(1t b  
struts.freemarker.manager.classname D7 D:?VoR  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2|LgUA?<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =JqKdLH  
R-L*N$@!  
struts.i18n.encoding #J=@} S)  
      The encoding to use for localization messages ;;A8TcE '  
      国际化信息内码 -<Wv7FNpD  
p\"WX  
struts.i18n.reload &<oZl.T  
      Whether the localization messages should automatically be reloaded )A@i2I  
      是否国际化信息自动加载 _P^ xX'v  
0q@U>#  
struts.locale ,?'":T1[  
      The default locale for the Struts application qs["&\@  
      默认的国际化地区信息 .L#xX1qr  
1x"S^j   
struts.mapper.class >ZE8EL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "_g3{[es!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Xy0KZ !  
a*qf\ &Vb|  
struts.multipart.maxSize MPexc5_  
      The maximize size of a multipart request (file upload) n1"QHA  
      multipart请求信息的最大尺寸(文件上传用) 'Q^P#<<  
uT#MVv~.  
struts.multipart.parser QJsud{ada  
      The org.apache.struts2.dispatcher.multipart. |i}5vT78  
      MultiPartRequest parser implementation for a multipart request (file upload) RPXkf71iM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q=_&izmE'7  
B9Ha6kj  
^:(:P9h  
struts.multipart.saveDir Ah_T tj  
      The directory to use for storing uploaded files T|/B}srm  
      设置存储上传文件的目录夹 5D~>Ed;  
8,5H^Bi  
struts.objectFactory ]]InD N  
      The com.opensymphony.xwork2.ObjectFactory implementation class U1.w%b,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Tej&1'G  
$69ef[b  
struts.objectFactory.spring.autoWire &3o[^_Ti  
      Whether Spring should autoWire or not _:ORu Vk  
      是否自动绑定Spring e%B;8)7  
f19~B[a  
struts.objectFactory.spring.useClassCache KBb{Z;%  
      Whether Spring should use its class cache or not a2z1/Nh  
      是否spring应该使用自身的cache Y!+q3`-%T  
)=PmHUd  
struts.objectTypeDeterminer uia[>&2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class TqZ&X| G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  w`77E=  
P XH"%vVF  
struts.serve.static.browserCache >_<J=8|E  
If static content served by the Struts filter should set browser caching header properties or not UImd* ;2TE  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =$^<@-;  
v4YY6? 4  
struts.serve.static ]t23qA@^2  
      Whether the Struts filter should serve static content or not + pq/:h  
      是否struts过滤器应该提供静态内容 V*|#j0}b  
QIcg4\d%s  
struts.tag.altSyntax gLH#UwfJ  
      Whether to use the alterative syntax for the tags or not =LsW\.T6  
      是否可以用替代的语法替代tags pFUW7jE  
3XOf-v:~  
struts.ui.templateDir I|{A&G}|q  
      The directory containing UI templates #hNp1y2  
      UI templates的目录夹 X`,]@c%C`  
<gdKuoY  
struts.ui.theme x D(RjL+  
      The default UI template theme syseYt]  
      默认的UI template主题 T9c=As_EM  
#]BpTpRAe<  
struts.url.http.port |.s#m^"  
      The HTTP port used by Struts URLs :=<0Z1S  
      设置http端口 H"_]Hq  
Gm]]Z_  
struts.url.https.port -quWnn/  
      The HTTPS port used by Struts URLs Tt0:rQ.  
      设置https端口 vE9M2[TJA  
@\!9dK-W  
struts.url.includeParams ,sM>{NK 9R  
      The default includeParams method to generate Struts URLs c1,dT2:=  
      在url中产生 默认的includeParams VHyP@JB  
/f:)I.FUm  
`$X|VAS2  
struts.velocity.configfile Tath9wlv6;  
      The Velocity configuration file path 2WA =U]  
      velocity配置文件路径 7\q_^  
dwQ*OxFl  
struts.velocity.contexts K-xmLEu  
      List of Velocity context names 0'DlsC/`*  
      velocity的context列表 ATeXOe  
/R_*u4}iD  
xTnd9'Pk`:  
struts.velocity.manager.classname e<wRA["  
      org.apache.struts2.views.velocity.VelocityManager implementation class <z>K{:+>  
      org.apache.struts2.views.velocity.VelocityManager接口名 U2tsHm.O  
. k6)  
struts.velocity.toolboxlocation K|H&x"t  
      The location of the Velocity toolbox A/ eZ!"Y  
      velocity工具盒的位置 [ imC21U  
struts.xslt.nocache 5X7kZ!r  
      Whether or not XSLT templates should not be cached kXj%thDx  
      是否XSLT模版应该被缓存 I<w`+<o(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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