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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !^%b|=[  
tO#y4<  
struts.action.extension IcN|e4t^J+  
      The URL extension to use to determine if the request is meant for a Struts action Yd9y8Tq J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $K hc?v  
eG<32$I  
struts.configuration z`W$/tw"  
      The org.apache.struts2.config.Configuration implementation class  I2b[  
        org.apache.struts2.config.Configuration接口名 @jfd.? RK!  
N?aU<-Tn  
struts.configuration.files KQh'5o&  
      A list of configuration files automatically loaded by Struts .- w*&Hd7b  
      struts自动加载的一个配置文件列表 dPS}\&1  
Q%6*S!~  
struts.configuration.xml.reload r'j*f"uAm  
      Whether to reload the XML configuration or not zKR_P{W>^  
      是否加载xml配置(true,false) i;cqK&P;]  
XWk^$"  
struts.continuations.package |zSkQ_?54  
      The package containing actions that use Rife continuations ^z_~e@U  
      含有actions的完整连续的package名称 ]P-;]*&=  
%@LVoP!@!  
struts.custom.i18n.resources ,oR}0(^"\<  
      Location of additional localization properties files to load qT(j%F  
      加载附加的国际化属性文件(不包含.properties后缀) n-uoY<;hp  
/.vB /{2  
struts.custom.properties WVKzh  
      Location of additional configuration properties files to load mZmwCS8  
      加载附加的配置文件的位置 kZeb^Q+,  
#=h~Lr'UH  
0^4Tem@  
struts.devMode M Su_*&j9T  
      Whether Struts is in development mode or not !pgkUzMW  
      是否为struts开发模式 uSH.c>  
~ujY+ {  
struts.dispatcher.parametersWorkaround qWdL|8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (c_E*>c)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) lO[[iMHl<  
Z{|wjZb(  
struts.enable.DynamicMethodInvocation PKk_9Xd  
      Allows one to disable dynamic method invocation from the URL x)s`j(pYC  
        允许动态方法调用 N,L$+wm  
oQAD 3a  
struts.freemarker.manager.classname kLK}N>v}X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class TX$j-TM'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ki39$A'8  
40+~;20  
struts.i18n.encoding G7 b>r  
      The encoding to use for localization messages 3nMXfh/  
      国际化信息内码 xwq {0jY  
w\!aKeP'  
struts.i18n.reload j8P=8w{  
      Whether the localization messages should automatically be reloaded SRyAW\*LWU  
      是否国际化信息自动加载 a%cCR=s=  
u.43b8!  
struts.locale (V 5_q,2  
      The default locale for the Struts application fnl~0   
      默认的国际化地区信息 Eu2@%2}P  
bejvw?)S.  
struts.mapper.class DHQavHqbZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {94qsVxQZ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [jU.58*  
7Rwn{]r  
struts.multipart.maxSize 3w6}%=)$8  
      The maximize size of a multipart request (file upload) Bu$Z+o  
      multipart请求信息的最大尺寸(文件上传用) 6B'd]Fe  
Fu].%`*xJ  
struts.multipart.parser D<% /:M  
      The org.apache.struts2.dispatcher.multipart.   
      MultiPartRequest parser implementation for a multipart request (file upload) hj[&.w  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) = wEU+R_#o  
SHWD@WLE4  
YBF|0A{[Y  
struts.multipart.saveDir F|nJ3:v  
      The directory to use for storing uploaded files ;hzm&My  
      设置存储上传文件的目录夹 W!6&T [j>  
W~b->F  
struts.objectFactory ;&=c@>!xP#  
      The com.opensymphony.xwork2.ObjectFactory implementation class e*K1";  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xO3-I@  
m%7T ~  
struts.objectFactory.spring.autoWire ,X^I]]  
      Whether Spring should autoWire or not 20h+^R3{Z  
      是否自动绑定Spring =zBc@VTp  
;l4 epN  
struts.objectFactory.spring.useClassCache rW),xfo0  
      Whether Spring should use its class cache or not PLoD^3uG)  
      是否spring应该使用自身的cache D6z*J?3^#&  
*e/8uFX  
struts.objectTypeDeterminer ey!QAEg"X1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }*Z *wC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ZE393FnE  
3FetyW l'  
struts.serve.static.browserCache xWR<>Og.  
If static content served by the Struts filter should set browser caching header properties or not #u]'3en  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3pU/Z bb,:  
{&3{_Ml  
struts.serve.static S1SsJo2\  
      Whether the Struts filter should serve static content or not 5|:t$  
      是否struts过滤器应该提供静态内容 4 s&9A/&pC  
V\|V1c  
struts.tag.altSyntax $Jc>B#1  
      Whether to use the alterative syntax for the tags or not h=*eOxR"4^  
      是否可以用替代的语法替代tags D0 5JQ*  
q/qJkr^2  
struts.ui.templateDir )+L.$h  
      The directory containing UI templates +T!7jC(O Q  
      UI templates的目录夹 ZlEQzL~  
_4^#VD#f  
struts.ui.theme .0=VQU  
      The default UI template theme mssCnr;  
      默认的UI template主题 4C]>{osv  
V;@kWE>3  
struts.url.http.port 'jnR<>N  
      The HTTP port used by Struts URLs Z~[EZgIg  
      设置http端口 lJ>OuSd  
n=_jmR1  
struts.url.https.port v#X l  
      The HTTPS port used by Struts URLs F4:giu ht  
      设置https端口 ^ s.necg0  
x b6X8:  
struts.url.includeParams pXap<T  
      The default includeParams method to generate Struts URLs "Qci+Qq  
      在url中产生 默认的includeParams iCX Ki7  
RvXK?mL4F  
vHmsS\\~9  
struts.velocity.configfile nGoQwKIW  
      The Velocity configuration file path K3*8-Be  
      velocity配置文件路径 )y#~eYn  
;:Kd?Tz$  
struts.velocity.contexts A,fPl R  
      List of Velocity context names Gq)E,Ln&d  
      velocity的context列表 veq.48E]  
<h"07.y  
P,RdY M06  
struts.velocity.manager.classname _+=M)lPm  
      org.apache.struts2.views.velocity.VelocityManager implementation class |i~Ab!*8n  
      org.apache.struts2.views.velocity.VelocityManager接口名 DuvI2Z WP]  
(?W[#.=7  
struts.velocity.toolboxlocation q\uzmOh  
      The location of the Velocity toolbox 7%` \E9t  
      velocity工具盒的位置 8n2MZ9p]  
struts.xslt.nocache D}i_#-^MH  
      Whether or not XSLT templates should not be cached gR#lRA/  
      是否XSLT模版应该被缓存 G_cWp D/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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