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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7B\NP`l  
d0ht*b  
struts.action.extension !X$19"  
      The URL extension to use to determine if the request is meant for a Struts action Xx[,n-rA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }2e s"  
cuumQQ  
struts.configuration rO.[/#p\  
      The org.apache.struts2.config.Configuration implementation class f(blqO.@l  
        org.apache.struts2.config.Configuration接口名 u^|cG{i5"  
4vN:Kj  
struts.configuration.files mIDVN  
      A list of configuration files automatically loaded by Struts <fDT/  
      struts自动加载的一个配置文件列表 ^0cbN[~/ns  
D_JGbNigA  
struts.configuration.xml.reload 9kF0H a}J  
      Whether to reload the XML configuration or not l4U*Lv>   
      是否加载xml配置(true,false) Sew*0S(  
GH-Fqz  
struts.continuations.package P7,g^:$  
      The package containing actions that use Rife continuations ! }e75=x  
      含有actions的完整连续的package名称 9_jiUZFje  
M&29J  
struts.custom.i18n.resources 3imsIBr  
      Location of additional localization properties files to load X<Cf y  
      加载附加的国际化属性文件(不包含.properties后缀) Ri_2@U-  
:;+_<pk  
struts.custom.properties .81Y/Gad_  
      Location of additional configuration properties files to load tA< UkPT  
      加载附加的配置文件的位置 }v|_]   
+_pfBJ_$%  
XR7v\rd  
struts.devMode rFzj\%xa[  
      Whether Struts is in development mode or not Ly^bP>2i  
      是否为struts开发模式 )D/ ,QWk  
w}OBp^V^  
struts.dispatcher.parametersWorkaround %Gyn.9\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l=l$9H,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6s~B2t:Y  
%bF157X5An  
struts.enable.DynamicMethodInvocation ercXw7{  
      Allows one to disable dynamic method invocation from the URL LS9,:!$  
        允许动态方法调用 I}|a7,8   
*VJISJC  
struts.freemarker.manager.classname Nj2l>[L;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \n,L600`q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0k16f3uI   
b=2:\F  
struts.i18n.encoding <&) hg:  
      The encoding to use for localization messages V,Nu!$)J  
      国际化信息内码 =j- ,yxBvJ  
<7rj,O1=  
struts.i18n.reload =$gBWS  
      Whether the localization messages should automatically be reloaded ^W:a7cMw  
      是否国际化信息自动加载 : Bo  
:n{{\SSIgX  
struts.locale 0?/gEr  
      The default locale for the Struts application ^zO{Aks  
      默认的国际化地区信息 'fb\t,  
EwV$2AK  
struts.mapper.class vWESu4W`L  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \a|~#N3?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 lGR0-Gh2  
bsU$$;  
struts.multipart.maxSize $<2d|;7r  
      The maximize size of a multipart request (file upload) SZ[?2z  
      multipart请求信息的最大尺寸(文件上传用) UxHI6,b  
aAGV\o{^  
struts.multipart.parser uIkB&  
      The org.apache.struts2.dispatcher.multipart. l |c#  
      MultiPartRequest parser implementation for a multipart request (file upload) `}YCUm[SI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *uq;O*s  
O%.c%)4Xo  
pLvvv#Y  
struts.multipart.saveDir `|\z#Et  
      The directory to use for storing uploaded files ;LM,<QJ  
      设置存储上传文件的目录夹 IOx9".  
`$*cW1  
struts.objectFactory h`0'27\C  
      The com.opensymphony.xwork2.ObjectFactory implementation class ySLa4DQf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :eIu<_,}  
%\5d?;   
struts.objectFactory.spring.autoWire {uQp$`  
      Whether Spring should autoWire or not i,DnXgmz@  
      是否自动绑定Spring k<098F  
}&Gt&Hm>K  
struts.objectFactory.spring.useClassCache 9b8ZOk'9_  
      Whether Spring should use its class cache or not #R<ErX)F  
      是否spring应该使用自身的cache 478gl o  
0T{Z'3^=  
struts.objectTypeDeterminer U&uop$/Cq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1d4?+[)gUv  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]D@_cxud3  
8%qHy1  
struts.serve.static.browserCache `J%iFm/5*  
If static content served by the Struts filter should set browser caching header properties or not H]7MNY  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1/O7K R`K  
[YQVZBT|{  
struts.serve.static O(~74:#*  
      Whether the Struts filter should serve static content or not GS %ACk  
      是否struts过滤器应该提供静态内容 ^Gc#D:zU  
mlsM;A d2  
struts.tag.altSyntax y my/`%  
      Whether to use the alterative syntax for the tags or not z3V[ Vi  
      是否可以用替代的语法替代tags '$@bTW  
#Ont1>T,G  
struts.ui.templateDir bn b:4?d]  
      The directory containing UI templates %z}{jqD&:X  
      UI templates的目录夹 ai!zb2j!E  
~|_s2T  
struts.ui.theme |2#)lGA  
      The default UI template theme qHT_,\l2  
      默认的UI template主题 Q:6i 3 Nr/  
cN}Aeo  
struts.url.http.port SLyeonM-C  
      The HTTP port used by Struts URLs :`~;~gW<  
      设置http端口 ^h}xFiAV#  
bG`aF*10)!  
struts.url.https.port dWhki|c  
      The HTTPS port used by Struts URLs 9"5J-a'  
      设置https端口 {s8v0~  
uAd4 Zz  
struts.url.includeParams 1'O++j_%y  
      The default includeParams method to generate Struts URLs TC7Rw}jF  
      在url中产生 默认的includeParams j:)"s_  
[YbnpI  
MlDWK_y_&  
struts.velocity.configfile hmfO\gc}y  
      The Velocity configuration file path PyOj{WX>W  
      velocity配置文件路径 IkzY   
D<-MbK^S  
struts.velocity.contexts j06q3N"  
      List of Velocity context names R!mFMw"  
      velocity的context列表 >}& :y{z~  
VI{!ZD]  
^EK]z8;|  
struts.velocity.manager.classname (%&HufT  
      org.apache.struts2.views.velocity.VelocityManager implementation class Sn(e@|!G  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;}iV`)S  
p ~/  
struts.velocity.toolboxlocation oCw>b]S  
      The location of the Velocity toolbox I{e[Y_  
      velocity工具盒的位置 nH6Ny  
struts.xslt.nocache 6Qo YX] .  
      Whether or not XSLT templates should not be cached Q{s9{  
      是否XSLT模版应该被缓存 FaNr}$Pe  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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