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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 })uGRvz  
QpZ:gM_  
struts.action.extension Ok{*fa.PK  
      The URL extension to use to determine if the request is meant for a Struts action PEc,l>u9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3WN`y8l  
z25lZI" X`  
struts.configuration $ oTdfb  
      The org.apache.struts2.config.Configuration implementation class jNu9KlN  
        org.apache.struts2.config.Configuration接口名 Z,`iO %W  
'AzDP;6qFI  
struts.configuration.files hp8%.V$f  
      A list of configuration files automatically loaded by Struts Pf*^ZB%  
      struts自动加载的一个配置文件列表 `(T,+T4C5k  
Z.d 7U~_  
struts.configuration.xml.reload tc_286'x  
      Whether to reload the XML configuration or not r`%+M7  
      是否加载xml配置(true,false) og4UhP^UET  
%R1tJ(/  
struts.continuations.package ~SQ?BoCI[  
      The package containing actions that use Rife continuations C?ulj9=Z  
      含有actions的完整连续的package名称 h H <J,Wn  
0$_oT;{8  
struts.custom.i18n.resources KiRUvWqa  
      Location of additional localization properties files to load "@evXql3`  
      加载附加的国际化属性文件(不包含.properties后缀) G,TM-l_uw  
r~+\ Y"rM  
struts.custom.properties C(S'#cm  
      Location of additional configuration properties files to load |M8WyW  
      加载附加的配置文件的位置 d\%WgH  
&GNxo$CG  
79nG|Yj|\  
struts.devMode U;bK!&Z  
      Whether Struts is in development mode or not 6}75iIKi  
      是否为struts开发模式 Sa\!*e_sN  
9k9_mjLZ  
struts.dispatcher.parametersWorkaround sBu=e7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |"XPp!_uN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ib|Rf;J~-  
GQ*wc?f3  
struts.enable.DynamicMethodInvocation z?>D_NLX6  
      Allows one to disable dynamic method invocation from the URL Z?pnj8h-&  
        允许动态方法调用 qud\K+  
Bt1p'g(V|  
struts.freemarker.manager.classname .U"8mP=&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wtmB+:I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7Q7-vx  
994` ua+  
struts.i18n.encoding Q9U f.Lh2  
      The encoding to use for localization messages XGJj3-eW {  
      国际化信息内码 S5KEXnjm  
HODz*pI  
struts.i18n.reload qzI&<4  
      Whether the localization messages should automatically be reloaded >RPd$('T  
      是否国际化信息自动加载 \ W?R  
48jVRo  
struts.locale 3= DNb+D!  
      The default locale for the Struts application N+LL@[  
      默认的国际化地区信息  DVah  
XQ%?  
struts.mapper.class s"9`s_p`d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A 6OGs/:&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _ ):d`O e  
90|7ArM_[  
struts.multipart.maxSize Rp*R:3 C  
      The maximize size of a multipart request (file upload) !Gu%U$d  
      multipart请求信息的最大尺寸(文件上传用) af#pR&4}   
?6L&WB  
struts.multipart.parser uHH/rMV  
      The org.apache.struts2.dispatcher.multipart. \%/#x V  
      MultiPartRequest parser implementation for a multipart request (file upload) lZyG)0t,g  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) YX=2jI  
{88gW\GL  
YoN*:jB<M  
struts.multipart.saveDir v^)bhIPe;  
      The directory to use for storing uploaded files HS{(v;  
      设置存储上传文件的目录夹 AZzuI*  
2-=\~<)  
struts.objectFactory 'xhcuVl  
      The com.opensymphony.xwork2.ObjectFactory implementation class c1$ngH0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~/8M 3k/  
$U$V?x uE  
struts.objectFactory.spring.autoWire N;A@' tu8  
      Whether Spring should autoWire or not Eo\UAc  
      是否自动绑定Spring 2pzF5h  
`(1K  
struts.objectFactory.spring.useClassCache W%.v.0   
      Whether Spring should use its class cache or not uch>AuF:  
      是否spring应该使用自身的cache 6ZKsz5:=  
by'DQ 00  
struts.objectTypeDeterminer ;<$H)`*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ! iptT(2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rC.eyq,105  
4Ue_Y 'LmM  
struts.serve.static.browserCache 4Sm]>%F':  
If static content served by the Struts filter should set browser caching header properties or not 7]x3!AlV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Nru7(ag1~  
d~/q"r1"  
struts.serve.static sp7*_&'J  
      Whether the Struts filter should serve static content or not ot`%*  
      是否struts过滤器应该提供静态内容 >iOzl wmG  
{&P FXJ  
struts.tag.altSyntax ]c<qM_HWg  
      Whether to use the alterative syntax for the tags or not _(d.!qGz  
      是否可以用替代的语法替代tags t~e<z81p  
,bM-I2BR  
struts.ui.templateDir *\wp?s>-t  
      The directory containing UI templates bn(`O1r[(  
      UI templates的目录夹 Q.9qImgN  
1=|7mehL%  
struts.ui.theme WYIQE$SEv  
      The default UI template theme 3#vinz  
      默认的UI template主题 [97KBoSU  
N7b1.]<  
struts.url.http.port \":?xh_H  
      The HTTP port used by Struts URLs ari7iF ~j  
      设置http端口 4EXB;[ ]  
;>%~9j1C  
struts.url.https.port B d^"=+c4  
      The HTTPS port used by Struts URLs 'S<%Xm  
      设置https端口 j}BHj.YuP  
+&X%<S W  
struts.url.includeParams ]Ni;w]KE  
      The default includeParams method to generate Struts URLs &f>eQ S=(  
      在url中产生 默认的includeParams *d(SI<j  
2[B4f7  
D?~8za`5  
struts.velocity.configfile [k[u*5hP|F  
      The Velocity configuration file path sow d`I~  
      velocity配置文件路径 9Ew7A(BG_3  
4g}FB+[u  
struts.velocity.contexts /({;0I*!i  
      List of Velocity context names yoRU_%xA  
      velocity的context列表 KQld YA|m  
-/ x W  
,;<RW]r-P  
struts.velocity.manager.classname X 6 lH|R  
      org.apache.struts2.views.velocity.VelocityManager implementation class l;"Ab?P\  
      org.apache.struts2.views.velocity.VelocityManager接口名 EQIUSh)M  
0G <hn8>  
struts.velocity.toolboxlocation c=[q(|+O!  
      The location of the Velocity toolbox yMc:n "-[  
      velocity工具盒的位置 _TUt9}  
struts.xslt.nocache "BKeot[""p  
      Whether or not XSLT templates should not be cached ?Pwx~[<1""  
      是否XSLT模版应该被缓存 mPPk )qy  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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