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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Cn<x  
/rW{rf^  
struts.action.extension <4g^c&  
      The URL extension to use to determine if the request is meant for a Struts action S SXSgp  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E_oe1C:  
:w+Rs+R  
struts.configuration _c2#  
      The org.apache.struts2.config.Configuration implementation class x3Uv&  
        org.apache.struts2.config.Configuration接口名 (Wn'.|^%  
H=jnCGk  
struts.configuration.files XvdhPOMy  
      A list of configuration files automatically loaded by Struts Gf?KpU  
      struts自动加载的一个配置文件列表 z0sB*5VH  
-)@.D>HsOt  
struts.configuration.xml.reload p98lu'?@  
      Whether to reload the XML configuration or not & \m\QI  
      是否加载xml配置(true,false) ~a$% a  
_,^sI%  
struts.continuations.package )zN )7  
      The package containing actions that use Rife continuations ,l6W|p?ZO^  
      含有actions的完整连续的package名称 KB5{l%>  
r!S iR(  
struts.custom.i18n.resources 5h1j.t!  
      Location of additional localization properties files to load w9%gaK;  
      加载附加的国际化属性文件(不包含.properties后缀) ,#G@ri:B  
pK4)>q  
struts.custom.properties _OY;SJ(  
      Location of additional configuration properties files to load E !8y|_(j  
      加载附加的配置文件的位置 NmQ]qv  
9O"?T7i"#  
A SSoKrFL  
struts.devMode C N"c  
      Whether Struts is in development mode or not ~&x%;cnv_  
      是否为struts开发模式 P(`IY +  
r2G<::<zL  
struts.dispatcher.parametersWorkaround Ij+zR>P8=\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Fv9Z'#t  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'Khq!pC   
9\8""-  
struts.enable.DynamicMethodInvocation fh~&&f}6  
      Allows one to disable dynamic method invocation from the URL CbZ1<r" /  
        允许动态方法调用 )~`zjVx_  
,J|};s+  
struts.freemarker.manager.classname AOe~VW  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .\VjS^o&Z&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  51j  
_KFKx3<m!  
struts.i18n.encoding yS*PS='P  
      The encoding to use for localization messages &eg,*K}'  
      国际化信息内码 z+b~#f3  
181P;R=}<  
struts.i18n.reload i"'k|TGW^  
      Whether the localization messages should automatically be reloaded ^6*? a9jO>  
      是否国际化信息自动加载 L!5f*  
PT;$@q8  
struts.locale GYYro&aq{  
      The default locale for the Struts application ?]t8$^m,;  
      默认的国际化地区信息 V/Q6v YX  
Z|W=.RdA;  
struts.mapper.class Z8 T{Xw6%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0pR04"`;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;Gi w7a)  
SCjACQ}-  
struts.multipart.maxSize :.dQY=6I  
      The maximize size of a multipart request (file upload) ~K[rQ  
      multipart请求信息的最大尺寸(文件上传用) B$bsh.  
h2q]!01XP  
struts.multipart.parser HiC\U%We  
      The org.apache.struts2.dispatcher.multipart. rLwc=(|  
      MultiPartRequest parser implementation for a multipart request (file upload) ; H3kb +  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d|TIrlA  
UW+I 8\^  
)L{\k$r!EM  
struts.multipart.saveDir rdb%/@.-  
      The directory to use for storing uploaded files |3i~?] A  
      设置存储上传文件的目录夹 R9W(MLe58  
4=9F1[  
struts.objectFactory v zn/waw  
      The com.opensymphony.xwork2.ObjectFactory implementation class -b{*8(d<I  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &0#qy9wx  
Cpj_mMtu  
struts.objectFactory.spring.autoWire .C #}g  
      Whether Spring should autoWire or not "%Jx,L\f{  
      是否自动绑定Spring %S^`/Snv"  
oqj3Q 1  
struts.objectFactory.spring.useClassCache ={fi&j  
      Whether Spring should use its class cache or not 982$d<0%  
      是否spring应该使用自身的cache 4nY2v['m0  
w Bl=]BW!%  
struts.objectTypeDeterminer ESs)|t h  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $d"6y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ev()2 80  
%$cwbh-{{  
struts.serve.static.browserCache ecHy. 7H  
If static content served by the Struts filter should set browser caching header properties or not b,c vQD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L$b9|j7  
78X;ZMY  
struts.serve.static xH=&={  
      Whether the Struts filter should serve static content or not B4.hJZ5  
      是否struts过滤器应该提供静态内容 L+,{*Uj[;  
MT9a1 >  
struts.tag.altSyntax [)*fN|Hy  
      Whether to use the alterative syntax for the tags or not -B_dE-l,  
      是否可以用替代的语法替代tags 4QDW}5xB  
M*}o{E;  
struts.ui.templateDir wy^>i$TC  
      The directory containing UI templates j'7FTVmJ  
      UI templates的目录夹 V=YK3){>A  
PY^Yx$t9  
struts.ui.theme `S!`=26Z!  
      The default UI template theme +Kk6|+5u  
      默认的UI template主题  oCduY2  
34oC285yc  
struts.url.http.port FSM~Rl  
      The HTTP port used by Struts URLs ,^+3AT  
      设置http端口 o6qQ zk  
=Xp 3UNXg  
struts.url.https.port #[A/zH|xvV  
      The HTTPS port used by Struts URLs 9A6ly9DIS  
      设置https端口 83 S],L  
v9<p@GY"\  
struts.url.includeParams d`:0kOF+  
      The default includeParams method to generate Struts URLs 04( h!@!g:  
      在url中产生 默认的includeParams 3Mdg&~85  
R ~cc]kp0  
3*FktXmI}  
struts.velocity.configfile DF|qNX  
      The Velocity configuration file path )ow3Bl8w  
      velocity配置文件路径 ULoTPx@N  
N%T-Q9k  
struts.velocity.contexts 'aCnj8B  
      List of Velocity context names E J 9A 4B  
      velocity的context列表 %o?fE4o'  
v!x=fjr<  
F`-? 3]\3  
struts.velocity.manager.classname t'z] <7  
      org.apache.struts2.views.velocity.VelocityManager implementation class %TLAn[LW(  
      org.apache.struts2.views.velocity.VelocityManager接口名 uU<Yf5  
bk8IGhO|m!  
struts.velocity.toolboxlocation Db2G)63  
      The location of the Velocity toolbox =^{^KHzIl3  
      velocity工具盒的位置 eo@:@O+bm  
struts.xslt.nocache IlaH,J7n  
      Whether or not XSLT templates should not be cached xUG|@xIwc  
      是否XSLT模版应该被缓存 _]<]:b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五