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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 W*4!A\K  
2TaHWw<A  
struts.action.extension Ax!fvcsN  
      The URL extension to use to determine if the request is meant for a Struts action O}7aX '  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \l 3M\$oS>  
`k08M)  
struts.configuration TR{dNO!q  
      The org.apache.struts2.config.Configuration implementation class ayA_[{j%X  
        org.apache.struts2.config.Configuration接口名 :!,.c $M  
81wmKqDEs  
struts.configuration.files eA/}$.R  
      A list of configuration files automatically loaded by Struts a6o p  
      struts自动加载的一个配置文件列表 A?c?(~9O  
Gs}lw'pK  
struts.configuration.xml.reload T9'5V@  
      Whether to reload the XML configuration or not %,)Xi  
      是否加载xml配置(true,false)  q0\$wI  
9Mv4=k^7|4  
struts.continuations.package 9893{}\cB  
      The package containing actions that use Rife continuations +T7FG_  
      含有actions的完整连续的package名称 89A04HX  
E95VR?nUg  
struts.custom.i18n.resources ]m^ECA$  
      Location of additional localization properties files to load .MRLA G  
      加载附加的国际化属性文件(不包含.properties后缀) iWn7vv/t  
0+S'i82=M  
struts.custom.properties F=kiYa}  
      Location of additional configuration properties files to load ;nf}O87~  
      加载附加的配置文件的位置 JhB$s  
?T_hK  
^#2Y4[@  
struts.devMode *km - pp  
      Whether Struts is in development mode or not :#W>lq@H  
      是否为struts开发模式 w;^7FuBaC  
0'*'%Iga  
struts.dispatcher.parametersWorkaround Cd7d-'EQn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5c l%>U  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !E\J`K0_e  
SCMZ-^b  
struts.enable.DynamicMethodInvocation GJuU?h#:/{  
      Allows one to disable dynamic method invocation from the URL ;V1e>?3  
        允许动态方法调用 %!)Dk<  
,u>K##X\  
struts.freemarker.manager.classname -QP1Se*#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u+e.{Z!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 oRCD8b?  
aeF^&F0  
struts.i18n.encoding YA^g[,  
      The encoding to use for localization messages pJwy ~ L  
      国际化信息内码 `#N7ym;s@  
a^&3?3   
struts.i18n.reload ia /_61%  
      Whether the localization messages should automatically be reloaded {{_,YO^w  
      是否国际化信息自动加载 4:v{\R  
' 9  
struts.locale & |o V\L  
      The default locale for the Struts application -3:x(^|:K  
      默认的国际化地区信息 YcBAW4B`  
fBt7#Tc=U  
struts.mapper.class j-etEWOTr  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class GEi^3UD  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 aMjCqu05  
jl4rEzVu  
struts.multipart.maxSize bjq2XP?LL  
      The maximize size of a multipart request (file upload) Mxe  
      multipart请求信息的最大尺寸(文件上传用) %5H>tG`]   
L"!BN/i_  
struts.multipart.parser yh Ymbu  
      The org.apache.struts2.dispatcher.multipart. gG=E2+=uy  
      MultiPartRequest parser implementation for a multipart request (file upload) bDPT1A`F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gs77")K&  
/-ky'S9  
pF"IDC  
struts.multipart.saveDir O8ZHIs  
      The directory to use for storing uploaded files PK* $  
      设置存储上传文件的目录夹 b%,`;hy{  
-f:uNF]Ls  
struts.objectFactory 3bPvL/\Lb  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'H,l\i@"  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K<+h/Ok  
nS1 D&;#Y  
struts.objectFactory.spring.autoWire {%b-~& F9  
      Whether Spring should autoWire or not NASRr  
      是否自动绑定Spring )Hy|K1  
pc%_:>  
struts.objectFactory.spring.useClassCache 1 {V*(=Tp  
      Whether Spring should use its class cache or not xTL"%'|  
      是否spring应该使用自身的cache SLc'1{  
07+Qai-]  
struts.objectTypeDeterminer Z5o6RTi  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Wz7jB6AWA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ToVm]zPOUt  
u-. _;  
struts.serve.static.browserCache w#,C{6  
If static content served by the Struts filter should set browser caching header properties or not !(Y23w*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~dK)U*Q  
FiqcM-Af4  
struts.serve.static lU.@! rGbw  
      Whether the Struts filter should serve static content or not qyuU  
      是否struts过滤器应该提供静态内容 8+ 1t ys  
MLcc   
struts.tag.altSyntax y8un&LP  
      Whether to use the alterative syntax for the tags or not g+k0Fw]!  
      是否可以用替代的语法替代tags v7/qJ9l  
a ^b_&}y  
struts.ui.templateDir ``}EbOMG  
      The directory containing UI templates Dw^d!%Ala  
      UI templates的目录夹 @D rMaTr  
Hay`lA2@  
struts.ui.theme yA!#>u%g  
      The default UI template theme D EL#MD!  
      默认的UI template主题 7!`,P  
Nd*zSsVlq  
struts.url.http.port -[4Xg!apO  
      The HTTP port used by Struts URLs -lm\~VZT3  
      设置http端口 ;X! sTs  
{ls$#a+d  
struts.url.https.port `|;R}"R;  
      The HTTPS port used by Struts URLs ,.uPlnB_  
      设置https端口 `bffw:; %  
QOkPliX  
struts.url.includeParams ]v3 9ag_hu  
      The default includeParams method to generate Struts URLs k9.2*+vvg  
      在url中产生 默认的includeParams 5~CHj  
41WnKz9c  
)G0a72  
struts.velocity.configfile Cw`v\ 9  
      The Velocity configuration file path 70l"[Y  
      velocity配置文件路径 |Gb"%5YD  
HP2]b?C  
struts.velocity.contexts }N1Z7G  
      List of Velocity context names '@9h@,tc  
      velocity的context列表 "8aw=3A  
`ej  
*Y6BPFE*4  
struts.velocity.manager.classname G@anY=D\EB  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;Id%{1  
      org.apache.struts2.views.velocity.VelocityManager接口名 Aq}]{gfQ1  
,Utp6X  
struts.velocity.toolboxlocation `itaQGLD  
      The location of the Velocity toolbox Jeyy Z=  
      velocity工具盒的位置 H3}{]&a  
struts.xslt.nocache T@uY6))>F  
      Whether or not XSLT templates should not be cached HjV3PFg  
      是否XSLT模版应该被缓存 1"009/|   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八