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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wv|:-8V  
M~t S *  
struts.action.extension \SkCsE#H  
      The URL extension to use to determine if the request is meant for a Struts action hub1rY|No  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qY]IX9'kV  
v[T5D:  
struts.configuration 1C6H\;  
      The org.apache.struts2.config.Configuration implementation class n{J<7I e"*  
        org.apache.struts2.config.Configuration接口名 m2AA:u_*j  
ExqI=k`Zs  
struts.configuration.files f*04=R?w7>  
      A list of configuration files automatically loaded by Struts Cp7EJr~  
      struts自动加载的一个配置文件列表 $ &M"Ji  
@]" :3  
struts.configuration.xml.reload [~,~ e   
      Whether to reload the XML configuration or not ~v$gk   
      是否加载xml配置(true,false) {x40W0  
:(VD<"X  
struts.continuations.package g!(j.xe  
      The package containing actions that use Rife continuations ZC'(^liAp  
      含有actions的完整连续的package名称 a*o#,T5A  
i=#<0!m  
struts.custom.i18n.resources js/N qf2>  
      Location of additional localization properties files to load LSv0zAIe/  
      加载附加的国际化属性文件(不包含.properties后缀) tJy6\~  
)=V0  
struts.custom.properties R R<92R  
      Location of additional configuration properties files to load sqFMO+  
      加载附加的配置文件的位置 -bdF=  
fn>MOD!l  
pi[:"}m]/P  
struts.devMode h1} x2  
      Whether Struts is in development mode or not JL45!+  
      是否为struts开发模式 Jf{6'Ub  
q$7WZ+Y\  
struts.dispatcher.parametersWorkaround 8Ih+^Y a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic z@iu$DZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =t\HtAXn[  
2uu"0Rm%  
struts.enable.DynamicMethodInvocation P#]%C  
      Allows one to disable dynamic method invocation from the URL L6c =uN  
        允许动态方法调用 gF+Uj( d  
QL%&b\K  
struts.freemarker.manager.classname ~ \z7$9Q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3QM6M9M  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #9uNJla  
#?-2f{  
struts.i18n.encoding @ eu4W^W  
      The encoding to use for localization messages me"}1REa  
      国际化信息内码 Cg^=&1 |  
MgyV {`  
struts.i18n.reload `2Rd=M]?  
      Whether the localization messages should automatically be reloaded 60(j[d-$p  
      是否国际化信息自动加载 wGD*25M7$  
^u`1W^>  
struts.locale {3cT\u  
      The default locale for the Struts application |Y?1rLC  
      默认的国际化地区信息 VgLrufJ  
<XG&f  
struts.mapper.class H=O/w3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l0N~mes  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2>3#/I9Y  
f*U3s N^y  
struts.multipart.maxSize w ;+x g  
      The maximize size of a multipart request (file upload) CR3<9=Lv>  
      multipart请求信息的最大尺寸(文件上传用) ErmlM#u  
%" kF i  
struts.multipart.parser 8>Az<EF^=#  
      The org.apache.struts2.dispatcher.multipart. nKpXRuFn\  
      MultiPartRequest parser implementation for a multipart request (file upload)  1$nlRQi  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &f48MtE  
! f!/~M"!  
K@yLcgr{O2  
struts.multipart.saveDir =Ts2a"n  
      The directory to use for storing uploaded files W>$2BsO  
      设置存储上传文件的目录夹 _D<=Yo  
KWwEK]   
struts.objectFactory 5qZebD2a  
      The com.opensymphony.xwork2.ObjectFactory implementation class .yK~FzLs  
      com.opensymphony.xwork2.ObjectFactory接口(spring) tgk] sQY  
uW4 )DT9[5  
struts.objectFactory.spring.autoWire %%d3M->C}  
      Whether Spring should autoWire or not G':wJ7[]`  
      是否自动绑定Spring t @=*k9  
APye  
struts.objectFactory.spring.useClassCache .T;:6/??1  
      Whether Spring should use its class cache or not va6e]p*Oy  
      是否spring应该使用自身的cache b2rlj6d  
`p qj~s  
struts.objectTypeDeterminer 8<0~j  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w4I&SLm-b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 L TsX{z  
">zK1t5=  
struts.serve.static.browserCache wg-qq4Q\  
If static content served by the Struts filter should set browser caching header properties or not pf&H !-M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ] {sx#|_S  
R9 +0ZoS  
struts.serve.static M{(g"ha  
      Whether the Struts filter should serve static content or not u?Pec:3%  
      是否struts过滤器应该提供静态内容 'BUix!k0<  
(3. B\8s  
struts.tag.altSyntax 0Wd2Z-I  
      Whether to use the alterative syntax for the tags or not )-jA4!&  
      是否可以用替代的语法替代tags Hsdcv~Xr;l  
&7-ENg9 [  
struts.ui.templateDir zeqwmV=  
      The directory containing UI templates 3rdrNc  
      UI templates的目录夹 ?ZF ~U  
=qWcw7!"  
struts.ui.theme d+m}Z>iQ1O  
      The default UI template theme Yee% <<S  
      默认的UI template主题 W%&gvZre.  
'}$]V>/  
struts.url.http.port e9\eh? bPU  
      The HTTP port used by Struts URLs 4LY$;J;2  
      设置http端口 )G+D6s23  
#B$r|rqamq  
struts.url.https.port ;L`NF"  
      The HTTPS port used by Struts URLs D*_Z"q_B  
      设置https端口 NsJ]Tp5!  
S'  <X)  
struts.url.includeParams L>3-z>u,  
      The default includeParams method to generate Struts URLs ._X|Ye9/  
      在url中产生 默认的includeParams 6&,{"N0 T  
$wm.,Vb  
7;8DKY q  
struts.velocity.configfile  8MZ:=  
      The Velocity configuration file path 8V?*Bz-4`  
      velocity配置文件路径 Dug{)h_2  
eaWK2%v  
struts.velocity.contexts #TG7WF 5  
      List of Velocity context names %E\pd@  
      velocity的context列表 7`P1=`..  
BD_"w]bqD  
K%@#a}kRb  
struts.velocity.manager.classname =XhxD<kI  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ly_.% f  
      org.apache.struts2.views.velocity.VelocityManager接口名 cT.8&EEW  
{P7 I<^,  
struts.velocity.toolboxlocation D/`b ~Yl  
      The location of the Velocity toolbox ?l?_8y/ww  
      velocity工具盒的位置 H1or,>GoO  
struts.xslt.nocache IKFNu9*"h  
      Whether or not XSLT templates should not be cached ] <y3;T\~  
      是否XSLT模版应该被缓存 ":vF[6K6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八