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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 EId_1F;V^  
q%rfKHMA50  
struts.action.extension XH"-sZt  
      The URL extension to use to determine if the request is meant for a Struts action M8,_E\*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q*GJREC  
>^U$2P  
struts.configuration "&Y5Nh  
      The org.apache.struts2.config.Configuration implementation class :t'*fHi~  
        org.apache.struts2.config.Configuration接口名 4ne95_i  
$@ R[$/  
struts.configuration.files ,'FdUq)i  
      A list of configuration files automatically loaded by Struts <dd(i  
      struts自动加载的一个配置文件列表 @y+Hb@ >.  
qh]ILE87(  
struts.configuration.xml.reload uFXu9f+  
      Whether to reload the XML configuration or not v})-:  
      是否加载xml配置(true,false) /-mo8]J#2~  
E+tV7xa~  
struts.continuations.package `g~T #U\>d  
      The package containing actions that use Rife continuations S,'y L7s  
      含有actions的完整连续的package名称 =Y-ZI  
faqh }4  
struts.custom.i18n.resources EAE\'9T&g  
      Location of additional localization properties files to load K9@F1ccQ/  
      加载附加的国际化属性文件(不包含.properties后缀) 1638U 1  
HpQuro'Qh  
struts.custom.properties tsqkV7?  
      Location of additional configuration properties files to load Cxt_QyL?  
      加载附加的配置文件的位置 "y5LojdCs  
-9(9LU2  
0~;Owu  
struts.devMode ;t_'87h$y  
      Whether Struts is in development mode or not vnrP;T=^  
      是否为struts开发模式 P_:~!+W,  
": G\  
struts.dispatcher.parametersWorkaround 'Drz6K_KrP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u6pfc'GGg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) U,_jb}$Sq7  
.0gF&>I}  
struts.enable.DynamicMethodInvocation 555*IT3b  
      Allows one to disable dynamic method invocation from the URL F79!B  
        允许动态方法调用 7/:C[J4GTN  
GmJ4AYEP  
struts.freemarker.manager.classname $!Pm*s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z}E.s@w  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 i`F8kg`_K  
#$ Q2ijT0  
struts.i18n.encoding -76l*=|  
      The encoding to use for localization messages }0%~x,  
      国际化信息内码  oRbG6Vv/  
G5R"5d'  
struts.i18n.reload :hA=(iz  
      Whether the localization messages should automatically be reloaded |hlc#t ?  
      是否国际化信息自动加载 ];n3H~2  
7[)IP:I>  
struts.locale wE4:$+R};  
      The default locale for the Struts application I<["ko,t@?  
      默认的国际化地区信息 ~53uUT|B  
y!,Ly_x$@  
struts.mapper.class O6gl[aZN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tzKIi_2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @+,J^[ y  
h>A~..  
struts.multipart.maxSize UUuB Rtau  
      The maximize size of a multipart request (file upload) w}`TJijl  
      multipart请求信息的最大尺寸(文件上传用) !MNnau%O  
rda/  
struts.multipart.parser R[l9f8  
      The org.apache.struts2.dispatcher.multipart. .>.B  
      MultiPartRequest parser implementation for a multipart request (file upload) NukcBH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .0[ zZ  
x  bsk  
8^8fUN4<=  
struts.multipart.saveDir 2(<2Gnpl  
      The directory to use for storing uploaded files Vh1R!>XY  
      设置存储上传文件的目录夹 bIR&e E  
04u^Q  
struts.objectFactory Yr\pgK,  
      The com.opensymphony.xwork2.ObjectFactory implementation class WLB@]JvTBY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *T+Bjj;w  
^Qx qv  
struts.objectFactory.spring.autoWire ."u-5r<O  
      Whether Spring should autoWire or not {4%B^+}T  
      是否自动绑定Spring VXM5 B  
Uh9p ,AV  
struts.objectFactory.spring.useClassCache bu j}pEI  
      Whether Spring should use its class cache or not 9MI~yIt`L  
      是否spring应该使用自身的cache 4=T.rVS[  
^>3q@,C]c  
struts.objectTypeDeterminer sFvu@Wm'7W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I &jiH)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 q3CcXYY  
ecZT|X4u  
struts.serve.static.browserCache HoTg7/iK  
If static content served by the Struts filter should set browser caching header properties or not ? _>L<Y  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YoT< ]'  
d[p-zn.  
struts.serve.static rKtr&w7X  
      Whether the Struts filter should serve static content or not dE`a1H%  
      是否struts过滤器应该提供静态内容 )C@O7m*.4  
8~~*/oCoJt  
struts.tag.altSyntax 9Ez>srH(  
      Whether to use the alterative syntax for the tags or not $P{|^ou3a#  
      是否可以用替代的语法替代tags =.sg$VX  
2%|0c\y|z=  
struts.ui.templateDir mHiV};$  
      The directory containing UI templates S1!X;PP/  
      UI templates的目录夹 z;#DX15Rj  
2!7)7wlj0  
struts.ui.theme {`Jr$*;  
      The default UI template theme O@Ro_sPG(  
      默认的UI template主题 W$I^Ej}>$  
s"7$SxMT  
struts.url.http.port OrZ=-9"  
      The HTTP port used by Struts URLs 0G=bu5  
      设置http端口 uaX#nn?ws  
^uDNArDmj5  
struts.url.https.port CXe2G5  
      The HTTPS port used by Struts URLs d"P\ =`+  
      设置https端口 gq'}LcV  
8 BHtN  
struts.url.includeParams 24}?GO  
      The default includeParams method to generate Struts URLs Y%i=u:}fm  
      在url中产生 默认的includeParams Dm")\"5\?  
fW'@+<b  
gc y'"d"  
struts.velocity.configfile iK(G t6w  
      The Velocity configuration file path !' D1aea5  
      velocity配置文件路径 "\n,vNk  
sM4Qu./  
struts.velocity.contexts n{b(~eL?  
      List of Velocity context names w6PKr^  
      velocity的context列表 |U GmIm%  
\L-K}U>J  
z)Yk&;XC  
struts.velocity.manager.classname w`N|e0G@  
      org.apache.struts2.views.velocity.VelocityManager implementation class /9K,W)h_  
      org.apache.struts2.views.velocity.VelocityManager接口名 Q?Y\WD  
RSK~<Y@]q{  
struts.velocity.toolboxlocation zE~{}\J  
      The location of the Velocity toolbox 9(\eL9^  
      velocity工具盒的位置 A<1:vV  
struts.xslt.nocache 8Moe8X#3  
      Whether or not XSLT templates should not be cached ({R-JkW: ;  
      是否XSLT模版应该被缓存  [YGPcGw  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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