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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #q- _  
b$`O|S  
struts.action.extension OK 6}9Eu9  
      The URL extension to use to determine if the request is meant for a Struts action J 0 P  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -}J8|gwwp  
iCS/~[  
struts.configuration NEk [0  
      The org.apache.struts2.config.Configuration implementation class |#wz)=mD  
        org.apache.struts2.config.Configuration接口名 S6mmk&n  
D\R^*k@V  
struts.configuration.files <G >PPf}  
      A list of configuration files automatically loaded by Struts Ce:ds%  
      struts自动加载的一个配置文件列表 bhmjH(.t  
T!PX?  
struts.configuration.xml.reload YO,ldsSz|r  
      Whether to reload the XML configuration or not d%hA~E1rR  
      是否加载xml配置(true,false) UL%ihWq   
pB./L&h  
struts.continuations.package fW _.  
      The package containing actions that use Rife continuations q4{tH  
      含有actions的完整连续的package名称 ${wE5^ky  
0h#M)Ft  
struts.custom.i18n.resources BXY'%8q _a  
      Location of additional localization properties files to load ]@YQi<d2^  
      加载附加的国际化属性文件(不包含.properties后缀) '_)t R;s  
%*OJRL`  
struts.custom.properties 6ZBD$1$A!  
      Location of additional configuration properties files to load BP$#a #  
      加载附加的配置文件的位置 Xdt+ \}\  
z3]U% y(,  
_=5ZB_I  
struts.devMode &u-Bu;G.e  
      Whether Struts is in development mode or not Hw{Y.@)4R  
      是否为struts开发模式 >gJWp@6V  
qS al~  
struts.dispatcher.parametersWorkaround [2V/v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Z"Oa5V6[A  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) u#~! %~  
W<"\hQI  
struts.enable.DynamicMethodInvocation "Ycd$`{Vgt  
      Allows one to disable dynamic method invocation from the URL 'Aj>+H<B  
        允许动态方法调用 \<**SSN  
|U $-d^ZJ  
struts.freemarker.manager.classname CN(4;-so)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6^;!9$G|D*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Oy$BR <\  
(+dRD] |T  
struts.i18n.encoding o"[bIXf-h  
      The encoding to use for localization messages <>_Wd AOuD  
      国际化信息内码 Bq_P?Q+\  
6/ipdi[ _  
struts.i18n.reload (B<AK4G  
      Whether the localization messages should automatically be reloaded D|9fHMg %  
      是否国际化信息自动加载 ton`ji\^  
VAGMI+ -  
struts.locale ~-wJ#E3g  
      The default locale for the Struts application ~e9INZe-j  
      默认的国际化地区信息 _9|@nUD  
 <z2mNq  
struts.mapper.class p]Zabky  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TZNgtR{q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 / LM  
[nIG_j>D-f  
struts.multipart.maxSize )OC[;>F7  
      The maximize size of a multipart request (file upload) L]N2r MM  
      multipart请求信息的最大尺寸(文件上传用) sA-W^*+  
x=Jn&4q  
struts.multipart.parser \N+Ta:U1P  
      The org.apache.struts2.dispatcher.multipart. Gj`Y2X2r  
      MultiPartRequest parser implementation for a multipart request (file upload) e-3pg?M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h./vTNMc  
ZM`P~N1?)g  
/(ju  
struts.multipart.saveDir T,2Dr;  
      The directory to use for storing uploaded files h!av)nhM  
      设置存储上传文件的目录夹 u%T$XG  
8:?Q(M7  
struts.objectFactory ."Ix#\|x  
      The com.opensymphony.xwork2.ObjectFactory implementation class y6jmn1K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GtJ*&=(  
u;ooDIq@  
struts.objectFactory.spring.autoWire m_02"'  
      Whether Spring should autoWire or not tW"ptU^9)  
      是否自动绑定Spring uf'P9MA}>  
kJi&9  
struts.objectFactory.spring.useClassCache OMI!=Upz  
      Whether Spring should use its class cache or not y<%.wM]-J  
      是否spring应该使用自身的cache Po11EZa$a  
I= h4s(  
struts.objectTypeDeterminer iSz@E&[X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e$+f~~K  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D4O5@KfL  
k.xv+^b9Q  
struts.serve.static.browserCache )):22}I#  
If static content served by the Struts filter should set browser caching header properties or not PT@e),{~o9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <ivqe"m  
q\'P1~  
struts.serve.static u4,X.3V]A  
      Whether the Struts filter should serve static content or not hf+/kc!>i  
      是否struts过滤器应该提供静态内容 1;:t~Y  
4IP\iw#w  
struts.tag.altSyntax `TD%M`a  
      Whether to use the alterative syntax for the tags or not @S"pJeP/f  
      是否可以用替代的语法替代tags Q@W|GOH3  
oz0n$`O$/  
struts.ui.templateDir AK s39U'  
      The directory containing UI templates N[x@j)w-`  
      UI templates的目录夹 {I9 N6BQ&  
RnA&-\|*  
struts.ui.theme W^d4/]  
      The default UI template theme .W@4vrp@  
      默认的UI template主题 8LQ59K_WX  
mB^I @oZ*  
struts.url.http.port Ih-3t*L  
      The HTTP port used by Struts URLs @>#{WI:"~  
      设置http端口 /pIb@:Y1?  
4&oXy,8LC  
struts.url.https.port le^_6| ek  
      The HTTPS port used by Struts URLs b y|?g8  
      设置https端口 aFr!PQp4{  
or%gTVZ  
struts.url.includeParams 8>VI$   
      The default includeParams method to generate Struts URLs przubMt  
      在url中产生 默认的includeParams Cb )=n6  
ZO%fS'n  
.kbr?N,'  
struts.velocity.configfile /nY).lSH  
      The Velocity configuration file path qJ X+[PJ  
      velocity配置文件路径 o!s%h!%L  
~X~xE]1o|U  
struts.velocity.contexts OC?Zw@  
      List of Velocity context names T@Ss&eGT2  
      velocity的context列表 e+F}9HR7  
OK M\"A4  
9QC"Od9H  
struts.velocity.manager.classname K9C@dvFH  
      org.apache.struts2.views.velocity.VelocityManager implementation class RP~vB#}  
      org.apache.struts2.views.velocity.VelocityManager接口名 ![a/kj  
rq<`(V'2  
struts.velocity.toolboxlocation b(|%Gbg@c  
      The location of the Velocity toolbox ~@-QbkC  
      velocity工具盒的位置 Evr2|4|O~  
struts.xslt.nocache g,n-s+  
      Whether or not XSLT templates should not be cached ;Na8 _}  
      是否XSLT模版应该被缓存 ^ o $W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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