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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -sqd?L.p  
2^w8J w9  
struts.action.extension 7H])2:)  
      The URL extension to use to determine if the request is meant for a Struts action WQiIS0BJ *  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *(g0{V  
eL" +_lW  
struts.configuration @oKW$\  
      The org.apache.struts2.config.Configuration implementation class yOTC>?p%  
        org.apache.struts2.config.Configuration接口名 mE"(d*fe'  
:@@aIFRv  
struts.configuration.files ]621Z1  
      A list of configuration files automatically loaded by Struts 4$oDq  
      struts自动加载的一个配置文件列表 -y|*x-iZ  
1`Z:/]hl  
struts.configuration.xml.reload joA>-k04  
      Whether to reload the XML configuration or not lJvfgP-j  
      是否加载xml配置(true,false) ^#gJf*'UE  
(&i c3/-  
struts.continuations.package vJj}$AlI  
      The package containing actions that use Rife continuations 9y}/ G  
      含有actions的完整连续的package名称 )k[{re  
Xl,707  
struts.custom.i18n.resources %`bn=~T^  
      Location of additional localization properties files to load fnJx$PD~  
      加载附加的国际化属性文件(不包含.properties后缀) Df@b;-E  
Y )68  
struts.custom.properties V'FKgzd  
      Location of additional configuration properties files to load nx Jx8d"  
      加载附加的配置文件的位置 1RauI0d*  
#y8Esik  
*7{{z%5Pu  
struts.devMode BPSi e0  
      Whether Struts is in development mode or not qtjx<`EK>  
      是否为struts开发模式 )}J}d)  
z s\N)LyM  
struts.dispatcher.parametersWorkaround ^7Ebg5<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _D{{C  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bo#?,80L}`  
iow"X6_l_  
struts.enable.DynamicMethodInvocation )`#SMLMy~  
      Allows one to disable dynamic method invocation from the URL ~ Ofn&[G  
        允许动态方法调用 swg*fhJFB  
L*6>S_l[  
struts.freemarker.manager.classname ^YB3$:@$U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b?-KC\}v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |[@v+koq  
6RfS_  
struts.i18n.encoding bwK1XlfD.s  
      The encoding to use for localization messages b2^O$ l  
      国际化信息内码 ft$ 'UJ% j  
2UMX%+ "J  
struts.i18n.reload R=C+]  
      Whether the localization messages should automatically be reloaded ;vUw_M{P=)  
      是否国际化信息自动加载 qhmA)AWG>  
.X"\ Mg  
struts.locale *>T@3G.{Rm  
      The default locale for the Struts application p[%B#(]9,  
      默认的国际化地区信息 D.YT u$T  
Me-H'Mp~  
struts.mapper.class #U6~U6@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  -K4uqUp  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -l <[CI  
"4CO^ B  
struts.multipart.maxSize #VuiY  
      The maximize size of a multipart request (file upload) Qv@)WJ="-0  
      multipart请求信息的最大尺寸(文件上传用) bKQ-PM&I/t  
Zzv,p  
struts.multipart.parser Zb2.o5#}  
      The org.apache.struts2.dispatcher.multipart. lmx'w  
      MultiPartRequest parser implementation for a multipart request (file upload) 6z5?9I4[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6~Y`<#X5J  
cK t8e^P  
@|}=W Q  
struts.multipart.saveDir )z7+%nTO  
      The directory to use for storing uploaded files 0*:4@go0}i  
      设置存储上传文件的目录夹 FD^s5>"Y+  
%M-B"#OB7  
struts.objectFactory 74a>}+"  
      The com.opensymphony.xwork2.ObjectFactory implementation class G=>LW1E|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) p"q4R2_/jh  
w]Ci%W(  
struts.objectFactory.spring.autoWire @W!cC#u  
      Whether Spring should autoWire or not xJ)vfo  
      是否自动绑定Spring PxgLt2dXa  
U=ie| 3  
struts.objectFactory.spring.useClassCache vU, ]UJ}  
      Whether Spring should use its class cache or not !,N),xG}~  
      是否spring应该使用自身的cache lISu[{b?  
a\v@^4   
struts.objectTypeDeterminer g}'(V>(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QfsTUAfR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #zw 'H9l  
6Er%td)f  
struts.serve.static.browserCache ' Y.s}Duj  
If static content served by the Struts filter should set browser caching header properties or not T\o!^|8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =j!Ruy1  
\S"YLRn"  
struts.serve.static X&({`Uw<K  
      Whether the Struts filter should serve static content or not Zk n1@a  
      是否struts过滤器应该提供静态内容 a |+q:g0M  
w(vda0  
struts.tag.altSyntax "6 fTZ<  
      Whether to use the alterative syntax for the tags or not -( +/u .  
      是否可以用替代的语法替代tags @~`2L o/  
QyX ?  
struts.ui.templateDir Kly`V]XE  
      The directory containing UI templates &d^u$Y5  
      UI templates的目录夹 \i$WXW]|  
rWMG_eP:  
struts.ui.theme PEX(*GS  
      The default UI template theme c`h/x>fa  
      默认的UI template主题 C/x<_VJzN/  
x?MSHOia`P  
struts.url.http.port y~pJ|E  
      The HTTP port used by Struts URLs e6WKZ~ v o  
      设置http端口 6v}WdK  
. ;q 4<_  
struts.url.https.port :]oRx  
      The HTTPS port used by Struts URLs @q]{s+#Xf  
      设置https端口 T'nQj<dBt:  
naoH685R4  
struts.url.includeParams Qs.g%  
      The default includeParams method to generate Struts URLs -l` 1j6  
      在url中产生 默认的includeParams f*^)0Po  
, *A',  
*eo<5YUHt  
struts.velocity.configfile wIT}>8o  
      The Velocity configuration file path )Vb_0n=^  
      velocity配置文件路径  ?[G!6  
QcDWVM'v  
struts.velocity.contexts T5+iX`#M  
      List of Velocity context names l ,T*b  
      velocity的context列表 YaDr.?  
$!_]mz6*  
, 1{)B  
struts.velocity.manager.classname  uM9[  
      org.apache.struts2.views.velocity.VelocityManager implementation class |_J[n !~f7  
      org.apache.struts2.views.velocity.VelocityManager接口名 idr,s\$>  
`Vqp o/  
struts.velocity.toolboxlocation Q}MS $[y  
      The location of the Velocity toolbox Ll !J!{  
      velocity工具盒的位置 #c ndq[H  
struts.xslt.nocache Z'~yUo=  
      Whether or not XSLT templates should not be cached v8xNtUxN  
      是否XSLT模版应该被缓存 6T5nr  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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