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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UB>BVBCt  
Pz D30VA  
struts.action.extension QAo/d4  
      The URL extension to use to determine if the request is meant for a Struts action u~ FVI  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Oop6o $k  
wmR~e  
struts.configuration ^@=4HtA  
      The org.apache.struts2.config.Configuration implementation class lqrI*@>Tz  
        org.apache.struts2.config.Configuration接口名 ,1CmB@  
=5^1Bl  
struts.configuration.files 2-UD^;0  
      A list of configuration files automatically loaded by Struts $g VbeQ  
      struts自动加载的一个配置文件列表 >;j&]]-&  
H ~fF; I  
struts.configuration.xml.reload qG~6YCqii  
      Whether to reload the XML configuration or not `?l /HUw  
      是否加载xml配置(true,false) 8n2;47 a  
<f.Eog  
struts.continuations.package .dxELSV  
      The package containing actions that use Rife continuations {gu3KV  
      含有actions的完整连续的package名称 |}YxxeAk  
;{R;lF,  
struts.custom.i18n.resources jHHCJOHB8  
      Location of additional localization properties files to load O+< +yQl  
      加载附加的国际化属性文件(不包含.properties后缀) "8?Fl&=Q  
qvWi;  
struts.custom.properties eYkg4O'  
      Location of additional configuration properties files to load Pq{p\Qkj  
      加载附加的配置文件的位置 _e8v12s  
Hc|cA(9sh9  
x2HISxg  
struts.devMode PMbq5  
      Whether Struts is in development mode or not %Q}(.h%M  
      是否为struts开发模式 ld|GY>rH  
6'uCwAQU  
struts.dispatcher.parametersWorkaround X$Q.A^9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b-<@3N.9]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 726UO#*  
3PLA*n+%  
struts.enable.DynamicMethodInvocation ,|z zq@fk  
      Allows one to disable dynamic method invocation from the URL 8a8D0}'  
        允许动态方法调用 Ie _{P&J  
rhaq!s38:  
struts.freemarker.manager.classname P&[&Dj  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )ryP K"V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %8Y+Df;ax  
CHO_3QIz  
struts.i18n.encoding >@?mP$;=  
      The encoding to use for localization messages ~g#/q~UE  
      国际化信息内码 suWO:]FR  
fY78  
struts.i18n.reload ld({1jpX,  
      Whether the localization messages should automatically be reloaded !OPHS^L  
      是否国际化信息自动加载 _tje xS'  
.qYQ3G'V  
struts.locale !:esdJH  
      The default locale for the Struts application L0=`1q  
      默认的国际化地区信息 LLzxCMc9*  
UpSJ%%.n  
struts.mapper.class !5[SNr3^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /$\8?<Pc".  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 z"7X.*]  
&IRM<A!8  
struts.multipart.maxSize b&_Ifx_YF  
      The maximize size of a multipart request (file upload) }1Mf0S  
      multipart请求信息的最大尺寸(文件上传用) /<+`4n  
cAVdH{$"  
struts.multipart.parser lMg#zT!?  
      The org.apache.struts2.dispatcher.multipart. $txF|Fj]^A  
      MultiPartRequest parser implementation for a multipart request (file upload) uz$p'Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^k^?>h  
~h=iZ/g_^_  
DC BN89#  
struts.multipart.saveDir 'q}f3u>  
      The directory to use for storing uploaded files vE#8&Zq  
      设置存储上传文件的目录夹 ?X\.O-=4X  
i<tJG{A=  
struts.objectFactory !SnLvW89Z  
      The com.opensymphony.xwork2.ObjectFactory implementation class '<ZHzDW@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) SH8zkAA7u}  
B#5[PX  
struts.objectFactory.spring.autoWire FK-q-PKO#.  
      Whether Spring should autoWire or not jpW_q+^?  
      是否自动绑定Spring cuy9QBB :  
bBo>Y7%  
struts.objectFactory.spring.useClassCache BOy&3.h5?  
      Whether Spring should use its class cache or not ;qWSfCt/^  
      是否spring应该使用自身的cache "VoufXM:  
;g2UIb?{6  
struts.objectTypeDeterminer O kT@ _U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]Z85%q^`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 B~& }Mv  
*|C vK&7  
struts.serve.static.browserCache -rgdKA@)(  
If static content served by the Struts filter should set browser caching header properties or not yUxz,36wZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bt.3#aj  
N@!PhP  
struts.serve.static Ix@B*Xz:`  
      Whether the Struts filter should serve static content or not gsa@ci  
      是否struts过滤器应该提供静态内容 G'dN<Nw6  
:mf&,?  
struts.tag.altSyntax BxQ,T@  
      Whether to use the alterative syntax for the tags or not \>n[x; $  
      是否可以用替代的语法替代tags VTyj<6Y  
^si[L52BZ  
struts.ui.templateDir !V/7q'&t=  
      The directory containing UI templates 2:nI4S  
      UI templates的目录夹 w5/6+@}  
[>3dhj[;  
struts.ui.theme vW?/:  
      The default UI template theme @B(E&  
      默认的UI template主题 F :Ps>  
!su773vo  
struts.url.http.port :!?Fq/!  
      The HTTP port used by Struts URLs El :% \hGy  
      设置http端口 +$2`"%nBG  
m9&%A0  
struts.url.https.port ocUBSK|K)  
      The HTTPS port used by Struts URLs D~M R)z_p~  
      设置https端口 E?BF8t_fTE  
hy$VG%b;#  
struts.url.includeParams OP-{76vE&b  
      The default includeParams method to generate Struts URLs \6"=`H0}  
      在url中产生 默认的includeParams M_r[wYt!  
K3 ,PmI&W  
oJ" D5d,  
struts.velocity.configfile |m@>AbR5dk  
      The Velocity configuration file path +StsSZ  
      velocity配置文件路径 w&J_c8S  
8ZCA vEy  
struts.velocity.contexts ]gaeN2  
      List of Velocity context names HPt\ BK  
      velocity的context列表 d'3"A"9R7-  
Ss\?SEq  
&k-NDh3  
struts.velocity.manager.classname 7-u'x[=m  
      org.apache.struts2.views.velocity.VelocityManager implementation class mieyL9*n7  
      org.apache.struts2.views.velocity.VelocityManager接口名 8$ #z>  
I,)\506  
struts.velocity.toolboxlocation MLmaA3  
      The location of the Velocity toolbox 5a)$:oO!  
      velocity工具盒的位置 se=^K#o  
struts.xslt.nocache :h3n[%  
      Whether or not XSLT templates should not be cached dZb;`DjTH  
      是否XSLT模版应该被缓存 5dD8s-;^T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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