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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Ug t.&IA  
.4M.y:F  
struts.action.extension eH3JyzzP,  
      The URL extension to use to determine if the request is meant for a Struts action &5spTMw8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O-~ 7b(Z  
AJ? r,!)  
struts.configuration wh\}d4gN  
      The org.apache.struts2.config.Configuration implementation class 2"kLdD  
        org.apache.struts2.config.Configuration接口名 YY((V@|K  
nE&@Q  
struts.configuration.files >:S?Mnv6  
      A list of configuration files automatically loaded by Struts ZaDyg"Tw+  
      struts自动加载的一个配置文件列表 RO VW s/  
C]eSizS.  
struts.configuration.xml.reload [.8BTj1%  
      Whether to reload the XML configuration or not %C'?@,7C  
      是否加载xml配置(true,false) YpZ+n*&+  
fk[-mZ  
struts.continuations.package H*QIB_  
      The package containing actions that use Rife continuations #!qm ZN  
      含有actions的完整连续的package名称 c~$)UND^  
Y1OkkcPb{  
struts.custom.i18n.resources }QcCS2)Ud  
      Location of additional localization properties files to load .TR9975  
      加载附加的国际化属性文件(不包含.properties后缀) {M$1N5Eh  
3yY}04[9<  
struts.custom.properties (G u zN  
      Location of additional configuration properties files to load nntuLuW  
      加载附加的配置文件的位置 /vde2.|  
w%VU/6~  
tl4V7!U@^z  
struts.devMode =J]]EoX/  
      Whether Struts is in development mode or not ,p@y] cr  
      是否为struts开发模式 *,)Md[  
:q7Wy&ow  
struts.dispatcher.parametersWorkaround k\YG^I  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UcDS9f_87  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *_{j=sd  
[vK ^Um  
struts.enable.DynamicMethodInvocation |zNX=mAV  
      Allows one to disable dynamic method invocation from the URL  u\x}8pn  
        允许动态方法调用 ='sHj4hU  
*@r/5pM2}  
struts.freemarker.manager.classname }bpQq6ZF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +L| ?~p`V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 M~#gRAUJ  
%@ODs6 R0  
struts.i18n.encoding bv9]\qC]T<  
      The encoding to use for localization messages nFg~< $d  
      国际化信息内码 !/*\}\'4  
r CHl?J  
struts.i18n.reload )!Z*.?  
      Whether the localization messages should automatically be reloaded -M~:lK]n   
      是否国际化信息自动加载 OU(8V^.  
s1$nvTzBr  
struts.locale u+e{Mim  
      The default locale for the Struts application Uq,^Wy  
      默认的国际化地区信息 v ~?qz5:K~  
hh)`645=x  
struts.mapper.class B6nX$T4zP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ' !cCMTj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 TnOggpQ6X  
qIE9$7*X  
struts.multipart.maxSize [nG<[<0G;  
      The maximize size of a multipart request (file upload) [M}{G5U.  
      multipart请求信息的最大尺寸(文件上传用) '8. r-`l(  
/?'FE 7Y  
struts.multipart.parser #7 $ H  
      The org.apache.struts2.dispatcher.multipart. mh{d8<Q2  
      MultiPartRequest parser implementation for a multipart request (file upload) $Sx'sA2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R)( T^V`{  
omu|yCK  
ufZDF=$7  
struts.multipart.saveDir =/+-<px  
      The directory to use for storing uploaded files j'<<4.(  
      设置存储上传文件的目录夹 gHEu/8E  
x0D*U?A  
struts.objectFactory sPQQ"|wU  
      The com.opensymphony.xwork2.ObjectFactory implementation class [{,T.;'<j  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Apag{Z]^B  
L>NL:68yN  
struts.objectFactory.spring.autoWire 9r<J"%*Q  
      Whether Spring should autoWire or not vHc%z$-d  
      是否自动绑定Spring #PW9:_BE  
 c(E{6g?  
struts.objectFactory.spring.useClassCache v2\FA(BPn  
      Whether Spring should use its class cache or not )Y0!~# `  
      是否spring应该使用自身的cache .x.]`b(  
&|ex`nwc0  
struts.objectTypeDeterminer rgv?gaQ>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class l -mfFN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 w"|L:8  
!cLo> ,4  
struts.serve.static.browserCache 7\[@ m3s  
If static content served by the Struts filter should set browser caching header properties or not :T$|bc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |?xN\O^#}  
t%FwXaO#  
struts.serve.static G]tn i  
      Whether the Struts filter should serve static content or not SrJGTuXg  
      是否struts过滤器应该提供静态内容 beGa#JH,  
Rz/gtEP  
struts.tag.altSyntax P[ck84F/  
      Whether to use the alterative syntax for the tags or not P {jbl!UD7  
      是否可以用替代的语法替代tags {.|CdqwY  
XS{Qnx_#  
struts.ui.templateDir B eo@K|3GN  
      The directory containing UI templates Tc:)- z[o  
      UI templates的目录夹 @4#c&h 3  
({)+3]x  
struts.ui.theme fc3{sZE2M  
      The default UI template theme [;yOBF  
      默认的UI template主题 +oML&g-g_  
\fd v]f  
struts.url.http.port : /N0!&7  
      The HTTP port used by Struts URLs 9};8?mucr  
      设置http端口 Fb>?1i`RN  
FUb\e-Q=  
struts.url.https.port +Q)XH>jh   
      The HTTPS port used by Struts URLs !zpRrx_  
      设置https端口 ]Sz:|%JP1  
MYvY]Jx3  
struts.url.includeParams 'ya{9EdlT  
      The default includeParams method to generate Struts URLs XJ\DVZ  
      在url中产生 默认的includeParams ?4&e;83_#y  
(OL4Ex']  
MK~8}x2K  
struts.velocity.configfile iB yf{I>+  
      The Velocity configuration file path %E>Aw>] v  
      velocity配置文件路径 wo/\]5  
{9pZ)tB  
struts.velocity.contexts L}b.ulkMD  
      List of Velocity context names UHkMn  
      velocity的context列表 ! E5HN :#  
Vwf$JdK%&l  
3M7/?TMw{6  
struts.velocity.manager.classname Tv=mgH=b  
      org.apache.struts2.views.velocity.VelocityManager implementation class P>D)7 V9Hh  
      org.apache.struts2.views.velocity.VelocityManager接口名 mdDOvm:&  
Sy_G,+$\  
struts.velocity.toolboxlocation KYI/  
      The location of the Velocity toolbox U_Ptqqt%  
      velocity工具盒的位置 -f^tE,-  
struts.xslt.nocache P4'Q/Sj  
      Whether or not XSLT templates should not be cached j2[+z tG  
      是否XSLT模版应该被缓存 tw/dD +  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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