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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <GlV!y  
lY,1 w  
struts.action.extension %6?}gc_  
      The URL extension to use to determine if the request is meant for a Struts action ;qQzF  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  D -EM  
f)fw87UPc  
struts.configuration eesLTy D2_  
      The org.apache.struts2.config.Configuration implementation class yr DYw T  
        org.apache.struts2.config.Configuration接口名 6 6;O3g'  
J@-9{<  
struts.configuration.files @Kb~!y@G  
      A list of configuration files automatically loaded by Struts }tq9 /\  
      struts自动加载的一个配置文件列表 +OP'/  
3hjwwLKG$  
struts.configuration.xml.reload 3 +9|7=d  
      Whether to reload the XML configuration or not ;0{*V5A  
      是否加载xml配置(true,false) KPrxw }P  
f4^_FK&  
struts.continuations.package `{;&Qcg6m  
      The package containing actions that use Rife continuations IKj1{nZvDc  
      含有actions的完整连续的package名称 'KrkC A  
e;\c=J,eE  
struts.custom.i18n.resources Wx`IEPsVbk  
      Location of additional localization properties files to load S'fq/`2g6  
      加载附加的国际化属性文件(不包含.properties后缀) ?Cl"jcQ*  
D~);:}}>  
struts.custom.properties "Vy\- ^  
      Location of additional configuration properties files to load P_%l}%   
      加载附加的配置文件的位置 ~Dh}E9E:  
%gB0D8,vo  
<\NXCUqDpo  
struts.devMode =l{KYv  
      Whether Struts is in development mode or not xrd ^vE  
      是否为struts开发模式 "aH]4DO  
p8bTR!rvz  
struts.dispatcher.parametersWorkaround TR7TF]itb  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $l0w{m!P  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l0)6[yXK  
ZmF32 Ir  
struts.enable.DynamicMethodInvocation J> |`  
      Allows one to disable dynamic method invocation from the URL ~0:c{v;4  
        允许动态方法调用 n\,W:G9AR7  
X^)5O>>|t  
struts.freemarker.manager.classname ,bg#pG!x Q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oZw#Nd   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U{m:{'np(H  
QJ'C?hn  
struts.i18n.encoding -hfY:W`Dz  
      The encoding to use for localization messages NyNu1V$  
      国际化信息内码 $x0F(|wxt  
W;yZ$k#q}(  
struts.i18n.reload "=O)2}  
      Whether the localization messages should automatically be reloaded }R(_^@ ]  
      是否国际化信息自动加载 YzVLa,[  
n`1i k'x?  
struts.locale w=5qth7  
      The default locale for the Struts application g Q^]/X  
      默认的国际化地区信息 =@ RVLml  
b?,y%D) '  
struts.mapper.class AG%aH=TKp  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /qr8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <taW6=;c  
tcZ~T  
struts.multipart.maxSize ggWfk  
      The maximize size of a multipart request (file upload) dDn:^)  
      multipart请求信息的最大尺寸(文件上传用) oyY,uB.|  
cgAcAcmY  
struts.multipart.parser  }P#gXG  
      The org.apache.struts2.dispatcher.multipart. DO; 2)ZQ%  
      MultiPartRequest parser implementation for a multipart request (file upload) L"0L_G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fh;(1X75I  
'-_PO|}  
,y @3'~  
struts.multipart.saveDir j=LF1dG"  
      The directory to use for storing uploaded files R8)"M(u=l  
      设置存储上传文件的目录夹 ,\IZ/1  
(Nf.a4O  
struts.objectFactory it@s(1EO#  
      The com.opensymphony.xwork2.ObjectFactory implementation class c{q`uI;O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7v_e"[s~  
A>k;o0r  
struts.objectFactory.spring.autoWire 1lM0pl6M  
      Whether Spring should autoWire or not oB@C-(M  
      是否自动绑定Spring h !1c(UR  
Bc@e;k@i  
struts.objectFactory.spring.useClassCache R _%pR_\  
      Whether Spring should use its class cache or not OX2\H  
      是否spring应该使用自身的cache gsAO<Fy  
,\ i q'}i  
struts.objectTypeDeterminer TgLlmU*qMU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E'}$'n?:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .[! ^ L  
|iI`p-L9  
struts.serve.static.browserCache _!ed.h.r:  
If static content served by the Struts filter should set browser caching header properties or not ;K!Or  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z:{Z&HQC  
Z^'; xn  
struts.serve.static  AHb   
      Whether the Struts filter should serve static content or not K.SHY!U}  
      是否struts过滤器应该提供静态内容 JB7]51WH@  
&}ow-u9c3  
struts.tag.altSyntax /uWON4  
      Whether to use the alterative syntax for the tags or not YL+W 4 ld  
      是否可以用替代的语法替代tags RPu-E9g@  
`:&{/|uP7  
struts.ui.templateDir YH9BJ  
      The directory containing UI templates '1+ Bgf  
      UI templates的目录夹 (46)v'?  
bPEAG=l"-  
struts.ui.theme Fei$94 a  
      The default UI template theme "x)W3C%*S  
      默认的UI template主题 $A ,=z  
7pNh|#Uv'  
struts.url.http.port h7{W-AtM7_  
      The HTTP port used by Struts URLs D+U^ pl-  
      设置http端口 _1 a2Z\  
7RZ7q@@fgh  
struts.url.https.port ,3K?=e2  
      The HTTPS port used by Struts URLs AWzpk }\  
      设置https端口 :c>,=FUT  
M:~#"lfK  
struts.url.includeParams K(?7E6\vO  
      The default includeParams method to generate Struts URLs 20q T1!j u  
      在url中产生 默认的includeParams #{(rOb6H)  
711 z-  
Kt-@a%O0  
struts.velocity.configfile <Aa%Uwpc  
      The Velocity configuration file path Je'$V%{E  
      velocity配置文件路径 KK?}`o  
n1ICW 9  
struts.velocity.contexts @'QBrE  
      List of Velocity context names 7Vi[I< *  
      velocity的context列表 ZO,]h9?4  
_Cs.%R!r  
+hfl.OBy  
struts.velocity.manager.classname $_ y"P  
      org.apache.struts2.views.velocity.VelocityManager implementation class G8SJ<\?  
      org.apache.struts2.views.velocity.VelocityManager接口名 p=zjJ~DVd  
U*Q$:%72vO  
struts.velocity.toolboxlocation pd|s7  
      The location of the Velocity toolbox 9Ah4N2nL-b  
      velocity工具盒的位置 q#Bdq8  
struts.xslt.nocache nm)F tX|A  
      Whether or not XSLT templates should not be cached CAXU #  
      是否XSLT模版应该被缓存 ("{'],>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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